Finds and returns the number of elements and the number of elements with no children, that are descendants of the startingElement
The 0th position of the returned array is the total number of elements
The 1st position is the number of child less elements
Finds all child elements whose localname matches one of the strings in elementNames
Equivalent to an xpath of type ./*[local-name() = 'elementName'] from the startingElement
This is equivalent to XOM's getChildElements(String) other than returning an arrayList
Finds all child elements whose localname matches the given elementName
Additionally the element must have the specified attribute and the value of the attribute must be as specified
Equivalent to an xpath of type ./*[local-name() = 'elementName'][@attribute="attributevalue"] from the startingElement
Finds all child elements whose localname matches one of the strings in elementNames
Equivalent to an xpath of type ./*[local-name() = 'elementName1']|./*[local-name() = 'elementName2']|./*[local-name() = 'elementName3'] from the startingElement
Finds all descendant elements whose localname matches the given elementName
Equivalent to an xpath of type .//*[local-name() = 'elementName'] from the startingElement
Finds all descendant elements whose localname matches the given elementName
Additionally the element must have the specified attribute and the value of the attribute must be as specified
Equivalent to an xpath of type .//*[local-name() = 'elementName'][@attribute="attributevalue"] from the startingElement
Finds all descendant elements whose localname matches one of the strings in elementNames
Equivalent to an xpath of type .//*[local-name() = 'elementName1']|.//*[local-name() = 'elementName2']|.//*[local-name() = 'elementName3'] from the startingElement
Instantiate via NameToStructure.getOpsinParser()
Performs finite-state allocation of roles ("annotations") to tokens:
The chemical name is broken down into tokens e.g.