gnu.xml
public class NodeTree extends TreeList
| Method Summary | |
|---|---|
| int | ancestorAttribute(int ipos, String namespace, String name) Look for matching attribute in ancestor or self. |
| Path | baseUriOfPos(int pos, boolean resolveRelative) Return of the base-uri property, if known, of the node at pos. |
| int | getAttribute(int parent, String namespaceURI, String localName) Find named attribute. |
| int | getAttributeI(int parent, String namespaceURI, String localName) Find named attribute. |
| int | getId() Get/create a new unique number. |
| SeqPosition | getIteratorAtPos(int ipos) |
| int | lookupID(String name) Look for an element with matching ID.
|
| static NodeTree | make() |
| void | makeIDtableIfNeeded() |
| int | nextPos(int position) |
| int | posFirstChild(int ipos) |
| boolean | posHasAttributes(int ipos) |
| boolean | posIsDefaultNamespace(int ipos, String namespaceURI) |
| String | posLocalName(int ipos) |
| String | posLookupNamespaceURI(int ipos, String prefix) |
| String | posLookupPrefix(int ipos, String namespaceURI) |
| String | posNamespaceURI(int ipos) |
| String | posPrefix(int ipos) |
| String | posTarget(int ipos) Get the target of a process-instruction. |
| int | stableCompare(AbstractSequence other) |
| String | toString() |
| Object | typedValue(int ipos) Return the type-value of the node at the specified position. |
Parameters: namespace namespaceURI (interned) of required attribute name localName(interned) of required attribute
Returns: attribute ipos or 0
Parameters: namespaceURI need not be interned, or null which matches any namespace localName need not be interned, or null which matches any local name
Returns: attribute ipos or 0
Parameters: namespaceURI an interned String or null which matches any namespace localName an interned String, or null which matches any local name
Returns: attribute ipos or 0