| Package | Description |
|---|---|
| javax.imageio.metadata |
A package of the Java Image I/O API dealing with reading and writing metadata.
|
| javax.xml.bind |
Provides a runtime binding framework for client applications including unmarshalling, marshalling, and validation capabilities.
|
| javax.xml.bind.helpers |
JAXB Provider Use Only: Provides partial default implementations for some of the
javax.xml.bind interfaces.
|
| javax.xml.crypto.dom |
DOM-specific classes for the
javax.xml.crypto package.
|
| javax.xml.crypto.dsig.dom |
DOM-specific classes for the
javax.xml.crypto.dsig package.
|
| javax.xml.soap |
Provides the API for creating and building SOAP messages.
|
| javax.xml.transform.dom |
This package implements DOM-specific transformation APIs.
|
| org.w3c.dom |
Provides the interfaces for the Document Object Model (DOM) which is a component API of the
Java API for XML Processing.
|
| org.w3c.dom.events | |
| org.w3c.dom.html | |
| org.w3c.dom.ls | |
| org.w3c.dom.ranges |
Document Object Model Level 2 Traversal and Range is a platform and language-neutral interfaces that allow programs and scripts to dynamically traverse and identify a range of content in a document.
|
| org.w3c.dom.stylesheets | |
| org.w3c.dom.traversal | |
| org.w3c.dom.xpath |
| Modifier and Type | Class and Description |
|---|---|
class |
IIOMetadataNode
A class representing a node in a meta-data tree, which implements the
org.w3c.dom.Element interface and additionally allows for the storage of non-textual objects via the
getUserObject and
setUserObject methods.
|
| Modifier and Type | Field and Description |
|---|---|
protected Node |
IIOInvalidTreeException.offendingNode
The
Node that led to the parsing error, or
null.
|
| Modifier and Type | Method and Description |
|---|---|
Node |
IIOMetadataNode.appendChild(Node
Adds the node
newChild to the end of the list of children of this node.
|
Node |
IIOMetadataNode.cloneNode(boolean deep)
Returns a duplicate of this node.
|
abstract Node |
IIOMetadata.getAsTree(String
Returns an XML DOM
Node object that represents the root of a tree of metadata contained within this object according to the conventions defined by a given metadata format.
|
Node |
IIOMetadataNode.getFirstChild()
Returns the first child of this node, or
null if the node has no children.
|
Node |
IIOMetadataNode.getLastChild()
Returns the last child of this node, or
null if the node has no children.
|
Node |
IIOMetadataNode.getNextSibling()
Returns the next sibling of this node, or
null if the node has no next sibling.
|
Node |
IIOInvalidTreeException.getOffendingNode()
Returns the
Node that caused the error in parsing.
|
Node |
IIOMetadataNode.getParentNode()
Returns the parent of this node.
|
Node |
IIOMetadataNode.getPreviousSibling()
Returns the previous sibling of this node, or
null if this node has no previous sibling.
|
Node |
IIOMetadataNode.insertBefore(Node
Inserts the node
newChild before the existing child node
refChild.
|
Node |
IIOMetadataNode.item(int index)
|
Node |
IIOMetadataNode.removeChild(Node
Removes the child node indicated by
oldChild from the list of children, and returns it.
|
Node |
IIOMetadataNode.replaceChild(Node
Replaces the child node
oldChild with
newChild in the list of children, and returns the
oldChild node.
|
| Modifier and Type | Method and Description |
|---|---|
Node |
IIOMetadataNode.appendChild(Node
Adds the node
newChild to the end of the list of children of this node.
|
short |
IIOMetadataNode.compareDocumentPosition(Node
This DOM Level 3 method is not supported for
IIOMetadataNode and will throw a
DOMException.
|
Node |
IIOMetadataNode.insertBefore(Node
Inserts the node
newChild before the existing child node
refChild.
|
boolean |
IIOMetadataNode.isEqualNode(Node
This DOM Level 3 method is not supported for
IIOMetadataNode and will throw a
DOMException.
|
boolean |
IIOMetadataNode.isSameNode(Node
This DOM Level 3 method is not supported for
IIOMetadataNode and will throw a
DOMException.
|
abstract void |
IIOMetadata.mergeTree(String
Alters the internal state of this
IIOMetadata object from a tree of XML DOM
Nodes whose syntax is defined by the given metadata format.
|
Node |
IIOMetadataNode.removeChild(Node
Removes the child node indicated by
oldChild from the list of children, and returns it.
|
Node |
IIOMetadataNode.replaceChild(Node
Replaces the child node
oldChild with
newChild in the list of children, and returns the
oldChild node.
|
void |
IIOMetadata.setFromTree(String
Sets the internal state of this
IIOMetadata object from a tree of XML DOM
Nodes whose syntax is defined by the given metadata format.
|
| Constructor and Description | |
|---|---|
IIOInvalidTreeException(String
Constructs an
IIOInvalidTreeException with a message string and a reference to the
Node that caused the parsing error.
|
|
IIOInvalidTreeException(String
Constructs an
IIOInvalidTreeException with a message string, a reference to an exception that caused this exception, and a reference to the
Node that caused the parsing error.
|
| Modifier and Type | Method and Description |
|---|---|
Node |
ValidationEventLocator.getNode()
Return a reference to the DOM Node if available
|
Node |
Marshaller.getNode(Object
Get a DOM tree view of the content tree(Optional).
|
| Modifier and Type | Method and Description |
|---|---|
Binder |
JAXBContext.createBinder()
Creates a
Binder for W3C DOM.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Marshaller.marshal(Object
Marshal the content tree rooted at
jaxbElement into a DOM tree.
|
Object |
Unmarshaller.unmarshal(Node
Unmarshal global XML data from the specified DOM tree and return the resulting content tree.
|
<T> JAXBElement |
Unmarshaller.unmarshal(Node
Unmarshal XML data by JAXB mapped
declaredType and return the resulting content tree.
|
| Modifier and Type | Method and Description |
|---|---|
Node |
ValidationEventLocatorImpl.getNode()
|
Node |
AbstractMarshallerImpl.getNode(Object
By default, the getNode method is unsupported and throw an
UnsupportedOperationException.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractMarshallerImpl.marshal(Object
|
void |
ValidationEventLocatorImpl.setNode(Node
Set the Node field on this event locator.
|
<T> JAXBElement |
AbstractUnmarshallerImpl.unmarshal(Node
|
| Constructor and Description | |
|---|---|
ValidationEventLocatorImpl(Node
Constructs an object that points to a DOM Node.
|
| Modifier and Type | Method and Description |
|---|---|
Node |
DOMURIReference.getHere()
Returns the here node.
|
Node |
DOMStructure.getNode()
Returns the node contained in this
DOMStructure.
|
| Constructor and Description | |
|---|---|
DOMStructure(Node
Creates a
DOMStructure containing the specified node.
|
| Modifier and Type | Method and Description |
|---|---|
Node |
DOMSignContext.getNextSibling()
Returns the nextSibling node.
|
Node |
DOMValidateContext.getNode()
Returns the node.
|
Node |
DOMSignContext.getParent()
Returns the parent node.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DOMSignContext.setNextSibling(Node
Sets the next sibling node.
|
void |
DOMValidateContext.setNode(Node
Sets the node.
|
void |
DOMSignContext.setParent(Node
Sets the parent node.
|
| Constructor and Description | |
|---|---|
DOMSignContext(Key
Creates a
DOMSignContext with the specified signing key and parent node.
|
|
DOMSignContext(Key
Creates a
DOMSignContext with the specified signing key, parent and next sibling nodes.
|
|
DOMSignContext(KeySelector
Creates a
DOMSignContext with the specified key selector and parent node.
|
|
DOMSignContext(KeySelector
Creates a
DOMSignContext with the specified key selector, parent and next sibling nodes.
|
|
DOMValidateContext(Key
Creates a
DOMValidateContext containing the specified key and node.
|
|
DOMValidateContext(KeySelector
Creates a
DOMValidateContext containing the specified key selector and node.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
Detail
A container for
DetailEntry objects.
|
interface |
DetailEntry
The content for a
Detail object, giving details for a
SOAPFault object.
|
interface |
Node
A representation of a node (element) in an XML document.
|
interface |
SOAPBody
An object that represents the contents of the SOAP body element in a SOAP message.
|
interface |
SOAPBodyElement
A
SOAPBodyElement object represents the contents in a
SOAPBody object.
|
interface |
SOAPElement
An object representing an element of a SOAP message that is allowed but not specifically prescribed by a SOAP specification.
|
interface |
SOAPEnvelope
The container for the SOAPHeader and SOAPBody portions of a
SOAPPart object.
|
interface |
SOAPFault
An element in the
SOAPBody object that contains error and/or status information.
|
interface |
SOAPFaultElement
A representation of the contents in a
SOAPFault object.
|
interface |
SOAPHeader
A representation of the SOAP header element.
|
interface |
SOAPHeaderElement
An object representing the contents in the SOAP header part of the SOAP envelope.
|
| Modifier and Type | Class and Description |
|---|---|
class |
SOAPPart
The container for the SOAP-specific portion of a
SOAPMessage object.
|
| Modifier and Type | Method and Description |
|---|---|
Node |
DOMResult.getNextSibling()
Get the child node before which the result nodes will be inserted.
|
Node |
DOMSource.getNode()
Get the node that represents a Source DOM tree.
|
Node |
DOMResult.getNode()
Get the node that will contain the result DOM tree.
|
Node |
DOMLocator.getOriginatingNode()
Return the node where the event occurred.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DOMResult.setNextSibling(Node
Set the child node before which the result nodes will be inserted.
|
void |
DOMSource.setNode(Node
Set the node that will represents a Source DOM tree.
|
void |
DOMResult.setNode(Node
Set the node that will contain the result DOM tree.
|
| Constructor and Description | |
|---|---|
DOMResult(Node
Use a DOM node to create a new output target.
|
|
DOMResult(Node
Use a DOM node to create a new output target specifying the child node where the result nodes should be inserted before.
|
|
DOMResult(Node
Use a DOM node to create a new output target specifying the child node where the result nodes should be inserted before and the specified System ID.
|
|
DOMResult(Node
Use a DOM node to create a new output target with the specified System ID.
|
|
DOMSource(Node
Create a new input source with a DOM node.
|
|
DOMSource(Node
Create a new input source with a DOM node, and with the system ID also passed in as the base URI.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
Attr
The
Attr interface represents an attribute in an
Element object.
|
interface |
CDATASection
CDATA sections are used to escape blocks of text containing characters that would otherwise be regarded as markup.
|
interface |
CharacterData
The
CharacterData interface extends Node with a set of attributes and methods for accessing character data in the DOM.
|
interface |
Comment
This interface inherits from
CharacterData and represents the content of a comment, i.e., all the characters between the starting '
<!--' and ending '
-->'.
|
interface |
Document
The
Document interface represents the entire HTML or XML document.
|
interface |
DocumentFragment
DocumentFragment is a "lightweight" or "minimal"
Document object.
|
interface |
DocumentType
Each
Document has a
doctype attribute whose value is either
null or a
DocumentType object.
|
interface |
Element
The
Element interface represents an element in an HTML or XML document.
|
interface |
Entity
This interface represents a known entity, either parsed or unparsed, in an XML document.
|
interface |
EntityReference
EntityReference nodes may be used to represent an entity reference in the tree.
|
interface |
Notation
This interface represents a notation declared in the DTD.
|
interface |
ProcessingInstruction
The
ProcessingInstruction interface represents a "processing instruction", used in XML as a way to keep processor-specific information in the text of the document.
|
interface |
Text
The
Text interface inherits from
CharacterData and represents the textual content (termed
character data in XML) of an
Element or
Attr.
|
| Modifier and Type | Method and Description |
|---|---|
Node |
Document.adoptNode(Node
Attempts to adopt a node from another document to this document.
|
Node |
Node.appendChild(Node
Adds the node
newChild to the end of the list of children of this node.
|
Node |
Node.cloneNode(boolean deep)
Returns a duplicate of this node, i.e., serves as a generic copy constructor for nodes.
|
Node |
Node.getFirstChild()
The first child of this node.
|
Node |
Node.getLastChild()
The last child of this node.
|
Node |
NamedNodeMap.getNamedItem(String
Retrieves a node specified by name.
|
Node |
NamedNodeMap.getNamedItemNS(String
Retrieves a node specified by local name and namespace URI.
|
Node |
Node.getNextSibling()
The node immediately following this node.
|
Node |
Node.getParentNode()
The parent of this node.
|
Node |
Node.getPreviousSibling()
The node immediately preceding this node.
|
Node |
DOMLocator.getRelatedNode()
The node this locator is pointing to, or
null if no node is available.
|
Node |
Document.importNode(Node
Imports a node from another document to this document, without altering or removing the source node from the original document; this method creates a new copy of the source node.
|
Node |
Node.insertBefore(Node
Inserts the node
newChild before the existing child node
refChild.
|
Node |
NodeList.item(int index)
Returns the
indexth item in the collection.
|
Node |
NamedNodeMap.item(int index)
Returns the
indexth item in the map.
|
Node |
Node.removeChild(Node
Removes the child node indicated by
oldChild from the list of children, and returns it.
|
Node |
NamedNodeMap.removeNamedItem(String
Removes a node specified by name.
|
Node |
NamedNodeMap.removeNamedItemNS(String
Removes a node specified by local name and namespace URI.
|
Node |
Document.renameNode(Node
Rename an existing node of type
ELEMENT_NODE or
ATTRIBUTE_NODE.
|
Node |
Node.replaceChild(Node
Replaces the child node
oldChild with
newChild in the list of children, and returns the
oldChild node.
|
Node |
NamedNodeMap.setNamedItem(Node
Adds a node using its
nodeName attribute.
|
Node |
NamedNodeMap.setNamedItemNS(Node
Adds a node using its
namespaceURI and
localName.
|
| Modifier and Type | Method and Description |
|---|---|
Node |
Document.adoptNode(Node
Attempts to adopt a node from another document to this document.
|
Node |
Node.appendChild(Node
Adds the node
newChild to the end of the list of children of this node.
|
short |
Node.compareDocumentPosition(Node
Compares the reference node, i.e.
|
void |
UserDataHandler.handle(short operation, String
This method is called whenever the node for which this handler is registered is imported or cloned.
|
Node |
Document.importNode(Node
Imports a node from another document to this document, without altering or removing the source node from the original document; this method creates a new copy of the source node.
|
Node |
Node.insertBefore(Node
Inserts the node
newChild before the existing child node
refChild.
|
boolean |
Node.isEqualNode(Node
Tests whether two nodes are equal.
|
boolean |
Node.isSameNode(Node
Returns whether this node is the same node as the given one.
|
Node |
Node.removeChild(Node
Removes the child node indicated by
oldChild from the list of children, and returns it.
|
Node |
Document.renameNode(Node
Rename an existing node of type
ELEMENT_NODE or
ATTRIBUTE_NODE.
|
Node |
Node.replaceChild(Node
Replaces the child node
oldChild with
newChild in the list of children, and returns the
oldChild node.
|
Node |
NamedNodeMap.setNamedItem(Node
Adds a node using its
nodeName attribute.
|
Node |
NamedNodeMap.setNamedItemNS(Node
Adds a node using its
namespaceURI and
localName.
|
| Modifier and Type | Method and Description |
|---|---|
Node |
MutationEvent.getRelatedNode()
relatedNode is used to identify a secondary node related to a mutation event.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MutationEvent.initMutationEvent(String
The
initMutationEvent method is used to initialize the value of a
MutationEvent created through the
DocumentEvent interface.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
HTMLAnchorElement
The anchor element.
|
interface |
HTMLAppletElement
An embedded Java applet.
|
interface |
HTMLAreaElement
Client-side image map area definition.
|
interface |
HTMLBaseElement
Document base URI.
|
interface |
HTMLBaseFontElement
Base font.
|
interface |
HTMLBodyElement
The HTML document body.
|
interface |
HTMLBRElement
Force a line break.
|
interface |
HTMLButtonElement
Push button.
|
interface |
HTMLDirectoryElement
Directory list.
|
interface |
HTMLDivElement
Generic block container.
|
interface |
HTMLDListElement
Definition list.
|
interface |
HTMLDocument
An
HTMLDocument is the root of the HTML hierarchy and holds the entire content.
|
interface |
HTMLElement
All HTML element interfaces derive from this class.
|
interface |
HTMLFieldSetElement
Organizes form controls into logical groups.
|
interface |
HTMLFontElement
Local change to font.
|
interface |
HTMLFormElement
The
FORM element encompasses behavior similar to a collection and an element.
|
interface |
HTMLFrameElement
Create a frame.
|
interface |
HTMLFrameSetElement
Create a grid of frames.
|
interface |
HTMLHeadElement
Document head information.
|
interface |
HTMLHeadingElement
For the
H1 to
H6 elements.
|
interface |
HTMLHRElement
Create a horizontal rule.
|
interface |
HTMLHtmlElement
Root of an HTML document.
|
interface |
HTMLIFrameElement
Inline subwindows.
|
interface |
HTMLImageElement
Embedded image.
|
interface |
HTMLInputElement
Form control.
|
interface |
HTMLIsIndexElement
This element is used for single-line text input.
|
interface |
HTMLLabelElement
Form field label text.
|
interface |
HTMLLegendElement
Provides a caption for a
FIELDSET grouping.
|
interface |
HTMLLIElement
List item.
|
interface |
HTMLLinkElement
The
LINK element specifies a link to an external resource, and defines this document's relationship to that resource (or vice versa).
|
interface |
HTMLMapElement
Client-side image map.
|
interface |
HTMLMenuElement
Menu list.
|
interface |
HTMLMetaElement
This contains generic meta-information about the document.
|
interface |
HTMLModElement
Notice of modification to part of a document.
|
interface |
HTMLObjectElement
Generic embedded object.
|
interface |
HTMLOListElement
Ordered list.
|
interface |
HTMLOptGroupElement
Group options together in logical subdivisions.
|
interface |
HTMLOptionElement
A selectable choice.
|
interface |
HTMLParagraphElement
Paragraphs.
|
interface |
HTMLParamElement
Parameters fed to the
OBJECT element.
|
interface |
HTMLPreElement
Preformatted text.
|
interface |
HTMLQuoteElement
For the
Q and
BLOCKQUOTE elements.
|
interface |
HTMLScriptElement
Script statements.
|
interface |
HTMLSelectElement
The select element allows the selection of an option.
|
interface |
HTMLStyleElement
Style information.
|
interface |
HTMLTableCaptionElement
Table caption See the CAPTION element definition in HTML 4.0.
|
interface |
HTMLTableCellElement
The object used to represent the
TH and
TD elements.
|
interface |
HTMLTableColElement
Regroups the
COL and
COLGROUP elements.
|
interface |
HTMLTableElement
The create* and delete* methods on the table allow authors to construct and modify tables.
|
interface |
HTMLTableRowElement
A row in a table.
|
interface |
HTMLTableSectionElement
The
THEAD ,
TFOOT , and
TBODY elements.
|
interface |
HTMLTextAreaElement
Multi-line text field.
|
interface |
HTMLTitleElement
The document title.
|
interface |
HTMLUListElement
Unordered list.
|
| Modifier and Type | Method and Description |
|---|---|
Node |
HTMLCollection.item(int index)
This method retrieves a node specified by ordinal index.
|
Node |
HTMLCollection.namedItem(String
This method retrieves a
Node using a name.
|
| Modifier and Type | Method and Description |
|---|---|
Node |
LSParser.parseWithContext(LSInput
Parse an XML fragment from a resource identified by a
LSInput and insert the content into an existing document at the position specified with the
context and
action arguments.
|
| Modifier and Type | Method and Description |
|---|---|
short |
LSParserFilter.acceptNode(Node
This method will be called by the parser at the completion of the parsing of each node.
|
Node |
LSParser.parseWithContext(LSInput
Parse an XML fragment from a resource identified by a
LSInput and insert the content into an existing document at the position specified with the
context and
action arguments.
|
boolean |
LSSerializer.write(Node
Serialize the specified node as described above in the general description of the
LSSerializer interface.
|
String |
LSSerializer.writeToString(Node
Serialize the specified node as described above in the general description of the
LSSerializer interface.
|
boolean |
LSSerializer.writeToURI(Node
A convenience method that acts as if
LSSerializer.write was called with a
LSOutput with no encoding specified and
LSOutput.systemId set to the
uri argument.
|
| Modifier and Type | Method and Description |
|---|---|
Node |
Range.getCommonAncestorContainer()
The deepest common ancestor container of the Range's two boundary-points.
|
Node |
Range.getEndContainer()
Node within which the Range ends
|
Node |
Range.getStartContainer()
Node within which the Range begins
|
| Modifier and Type | Method and Description |
|---|---|
void |
Range.insertNode(Node
Inserts a node into the Document or DocumentFragment at the start of the Range.
|
void |
Range.selectNode(Node
Select a node and its contents
|
void |
Range.selectNodeContents(Node
Select the contents within a node
|
void |
Range.setEnd(Node
Sets the attributes describing the end of a Range.
|
void |
Range.setEndAfter(Node
Sets the end of a Range to be after a node
|
void |
Range.setEndBefore(Node
Sets the end position to be before a node.
|
void |
Range.setStart(Node
Sets the attributes describing the start of the Range.
|
void |
Range.setStartAfter(Node
Sets the start position to be after a node
|
void |
Range.setStartBefore(Node
Sets the start position to be before a node
|
void |
Range.surroundContents(Node
Reparents the contents of the Range to the given node and inserts the node at the position of the start of the Range.
|
| Modifier and Type | Method and Description |
|---|---|
Node |
StyleSheet.getOwnerNode()
The node that associates this style sheet with the document.
|
| Modifier and Type | Method and Description |
|---|---|
Node |
TreeWalker.firstChild()
Moves the
TreeWalker to the first visible child of the current node, and returns the new node.
|
Node |
TreeWalker.getCurrentNode()
The node at which the
TreeWalker is currently positioned.
|
Node |
NodeIterator.getRoot()
The root node of the
NodeIterator, as specified when it was created.
|
Node |
TreeWalker.getRoot()
The
root node of the
TreeWalker, as specified when it was created.
|
Node |
TreeWalker.lastChild()
Moves the
TreeWalker to the last visible child of the current node, and returns the new node.
|
Node |
NodeIterator.nextNode()
Returns the next node in the set and advances the position of the
NodeIterator in the set.
|
Node |
TreeWalker.nextNode()
Moves the
TreeWalker to the next visible node in document order relative to the current node, and returns the new node.
|
Node |
TreeWalker.nextSibling()
Moves the
TreeWalker to the next sibling of the current node, and returns the new node.
|
Node |
TreeWalker.parentNode()
Moves to and returns the closest visible ancestor node of the current node.
|
Node |
NodeIterator.previousNode()
Returns the previous node in the set and moves the position of the
NodeIterator backwards in the set.
|
Node |
TreeWalker.previousNode()
Moves the
TreeWalker to the previous visible node in document order relative to the current node, and returns the new node.
|
Node |
TreeWalker.previousSibling()
Moves the
TreeWalker to the previous sibling of the current node, and returns the new node.
|
| Modifier and Type | Method and Description |
|---|---|
short |
NodeFilter.acceptNode(Node
Test whether a specified node is visible in the logical view of a
TreeWalker or
NodeIterator.
|
NodeIterator |
DocumentTraversal.createNodeIterator(Node
Create a new
NodeIterator over the subtree rooted at the specified node.
|
TreeWalker |
DocumentTraversal.createTreeWalker(Node
Create a new
TreeWalker over the subtree rooted at the specified node.
|
void |
TreeWalker.setCurrentNode(Node
The node at which the
TreeWalker is currently positioned.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
XPathNamespace
The
XPathNamespace interface is returned by
XPathResult interfaces to represent the XPath namespace node type that DOM lacks.
|
| Modifier and Type | Method and Description |
|---|---|
Node |
XPathResult.getSingleNodeValue()
The value of this single node result, which may be
null.
|
Node |
XPathResult.iterateNext()
Iterates and returns the next node from the node set or
nullif there are no more nodes.
|
Node |
XPathResult.snapshotItem(int index)
Returns the
indexth item in the snapshot collection.
|
| Modifier and Type | Method and Description |
|---|---|
XPathNSResolver |
XPathEvaluator.createNSResolver(Node
Adapts any DOM node to resolve namespaces so that an XPath expression can be easily evaluated relative to the context of the node where it appeared within the document.
|
Object |
XPathExpression.evaluate(Node
Evaluates this XPath expression and returns a result.
|
Object |
XPathEvaluator.evaluate(String
Evaluates an XPath expression string and returns a result of the specified type if possible.
|