| Modifier and Type | Field and Description |
|---|---|
| private transient IdentityHashMap | |
| private static final long | serialVersionUID
Standard JDOM2 Serialization. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public final Iterator | getAttributeAxisIterator(Object
the original context node contextNode)Overrides org. Implements org. Iterator matching the attribute
XPath axis.
|
| public final String | getAttributeName(Object
the context attribute node attribute)Implements org. |
| public final String | getAttributeNamespaceUri(Object
the context attribute node attribute)Implements org. |
| public final String | getAttributeQName(Object
the context attribute node att)Implements org. |
| public final String | getAttributeStringValue(Object
the attribute node attribute)Implements org. |
| public final Iterator | getChildAxisIterator(Object
the node to start from contextNode)Overrides org. Implements org. UnsupportedAxisException.
|
| public final String | getCommentStringValue(Object
the comment node comment)Implements org. |
| public final Object | getDocument(String
the URL of the document to load url)Overrides org. Implements org. |
| public final Object | getDocumentNode(Object
the node to start from contextNode)Overrides org. Implements org. |
| public final String | getElementName(Object
the context element node element)Implements org. |
| public final String | getElementNamespaceUri(Object
the context element node element)Implements org. |
| public final String | getElementQName(Object
the context element node element)Implements org. |
| public final String | getElementStringValue(Object
the comment node. element)Implements org. |
| public final Iterator | getNamespaceAxisIterator(final Object
the node to start from contextNode)Overrides org. Implements org. UnsupportedAxisException.
|
| public final String | getNamespacePrefix(Object
the namespace node namespace)Implements org. |
| public final String | getNamespaceStringValue(Object
the namespace node namespace)Implements org. |
| public final Iterator | getParentAxisIterator(Object
the node to start from contextNode)Overrides org. Implements org. UnsupportedAxisException.
|
| public final Object | getParentNode(Object
the node whose parent to return contextNode)Overrides org. Implements org. |
| public final String | getProcessingInstructionData(Object
the node to start from pi)Overrides org. Implements org. |
| public final String | getProcessingInstructionTarget(Object
the node to start from pi)Overrides org. Implements org. |
| public final String | getTextStringValue(Object
the text node text)Implements org. |
| public final boolean | isAttribute(Object
the object to test isit)Implements org. |
| public final boolean | isComment(Object
the object to test isit)Implements org. |
| public final boolean | isDocument(Object
the object to test isit)Implements org. |
| public final boolean | isElement(Object
the object to test isit)Implements org. |
| public final boolean | isNamespace(Object
the object to test isit)Implements org. |
| public final boolean | isProcessingInstruction(Object
the object to test isit)Implements org. |
| public final boolean | isText(Object
the object to test isit)Implements org. |
| public final XPath | parseXPath(String
the XPath expression path)Implements org. |
| private void | |
| private final void | |
| pack-priv void | |
| private void |
| emtnsmap | back to summary |
|---|---|
| private transient IdentityHashMap<Element, NamespaceContainer[]> emtnsmap | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Standard JDOM2 Serialization. Default mechanism. | |
| JDOMCoreNavigator | back to summary |
|---|---|
| pack-priv JDOMCoreNavigator() | |
| getAttributeAxisIterator | back to summary |
|---|---|
| public final Iterator Overrides org. Implements org. Doc from org. Retrieve an
| |
| getAttributeName | back to summary |
|---|---|
| public final String getAttributeName(Object attribute) Implements org. Doc from org. Retrieve the local name of the given attribute node. | |
| getAttributeNamespaceUri | back to summary |
|---|---|
| public final String getAttributeNamespaceUri(Object attribute) Implements org. Doc from org. Retrieve the namespace URI of the given attribute node. | |
| getAttributeQName | back to summary |
|---|---|
| public final String getAttributeQName(Object att) Implements org. Doc from org. Retrieve the qualified name of the given attribute node. | |
| getAttributeStringValue | back to summary |
|---|---|
| public final String getAttributeStringValue(Object attribute) Implements org. Doc from org. Retrieve the string-value of an attribute node. This should be the XML 1.0 normalized attribute value. This may be the empty string but must not be null. | |
| getChildAxisIterator | back to summary |
|---|---|
| public final Iterator Overrides org. Implements org. Doc from org. Throws
| |
| getCommentStringValue | back to summary |
|---|---|
| public final String getCommentStringValue(Object comment) Implements org. Doc from org. Retrieve the string-value of a comment node. This may be the empty string if the comment is empty, but must not be null. | |
| getDocument | back to summary |
|---|---|
| public final Object getDocument(String url) throws FunctionCallException Overrides org. Implements org. Doc from org. Default implementation that always returns null. Override in subclass if the subclass can load documents.
| |
| getDocumentNode | back to summary |
|---|---|
| public final Object getDocumentNode(Object contextNode) Overrides org. Implements org. Doc from org. Returns null. | |
| getElementName | back to summary |
|---|---|
| public final String getElementName(Object element) Implements org. Doc from org. Retrieve the local name of the given element node. | |
| getElementNamespaceUri | back to summary |
|---|---|
| public final String getElementNamespaceUri(Object element) Implements org. Doc from org. Retrieve the namespace URI of the given element node. | |
| getElementQName | back to summary |
|---|---|
| public final String getElementQName(Object element) Implements org. Doc from org. Retrieve the qualified name of the given element node. | |
| getElementStringValue | back to summary |
|---|---|
| public final String getElementStringValue(Object element) Implements org. Doc from org. Retrieve the string-value of an element node. This may be the empty string if the element is empty, but must not be null. | |
| getNamespaceAxisIterator | back to summary |
|---|---|
| public final Iterator Overrides org. Implements org. Doc from org. Throws
| |
| getNamespacePrefix | back to summary |
|---|---|
| public final String getNamespacePrefix(Object namespace) Implements org. Doc from org. Retrieve the namespace prefix of a namespace node. | |
| getNamespaceStringValue | back to summary |
|---|---|
| public final String getNamespaceStringValue(Object namespace) Implements org. Doc from org. Retrieve the string-value of a namespace node. This is generally the namespace URI. This may be the empty string but must not be null. | |
| getParentAxisIterator | back to summary |
|---|---|
| public final Iterator Overrides org. Implements org. Doc from org. Throws
| |
| getParentNode | back to summary |
|---|---|
| public final Object getParentNode(Object contextNode) throws UnsupportedAxisException Overrides org. Implements org. Doc from org. Default inefficient implementation. Subclasses should override this method.
| |
| getProcessingInstructionData | back to summary |
|---|---|
| public final String getProcessingInstructionData(Object pi) Overrides org. Implements org. Doc from org. Returns null. | |
| getProcessingInstructionTarget | back to summary |
|---|---|
| public final String getProcessingInstructionTarget(Object pi) Overrides org. Implements org. Doc from org. Returns null. | |
| getTextStringValue | back to summary |
|---|---|
| public final String getTextStringValue(Object text) Implements org. Doc from org. Retrieve the string-value of a text node. This must not be null and should not be the empty string. The XPath data model does not allow empty text nodes. | |
| isAttribute | back to summary |
|---|---|
| public final boolean isAttribute(Object isit) Implements org. Doc from org. Returns whether the given object is an attribute node. | |
| isComment | back to summary |
|---|---|
| public final boolean isComment(Object isit) Implements org. Doc from org. Returns whether the given object is a comment node. | |
| isDocument | back to summary |
|---|---|
| public final boolean isDocument(Object isit) Implements org. Doc from org. Returns whether the given object is a document node. A document node
is the node that is selected by the XPath expression | |
| isElement | back to summary |
|---|---|
| public final boolean isElement(Object isit) Implements org. Doc from org. Returns whether the given object is an element node. | |
| isNamespace | back to summary |
|---|---|
| public final boolean isNamespace(Object isit) Implements org. Doc from org. Returns whether the given object is a namespace node. | |
| isProcessingInstruction | back to summary |
|---|---|
| public final boolean isProcessingInstruction(Object isit) Implements org. Doc from org. Returns whether the given object is a processing-instruction node. | |
| isText | back to summary |
|---|---|
| public final boolean isText(Object isit) Implements org. Doc from org. Returns whether the given object is a text node. | |
| parseXPath | back to summary |
|---|---|
| public final XPath parseXPath(String path) throws SAXPathException Implements org. Doc from org. Returns a parsed form of the given XPath string, which will be suitable for queries on documents that use the same navigator as this one.
| |
| readObject | back to summary |
|---|---|
| private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException | |
| recurseElementText | back to summary |
|---|---|
| private final void recurseElementText(Element element, StringBuilder sb) | |
| reset | back to summary |
|---|---|
| pack-priv void reset() | |
| writeObject | back to summary |
|---|---|
| private void writeObject(ObjectOutputStream out) throws IOException | |