public class UnmarshalXPathEngine
extends java.lang.Object
Purpose: Utility class for finding XML nodes using XPath expressions.
Constructor and Description |
---|
UnmarshalXPathEngine()
The default constructor creates a platform instance
|
Modifier and Type | Method and Description |
---|---|
static UnmarshalXPathEngine |
getInstance()
Return the
XPathEngine singleton. |
org.w3c.dom.NodeList |
selectElementNodes(org.w3c.dom.Node contextNode,
XPathFragment xPathFragment,
XMLNamespaceResolver xmlNamespaceResolver) |
java.util.List<XMLEntry> |
selectNodes(org.w3c.dom.Node contextNode,
java.util.List<XMLField> xmlFields,
XMLNamespaceResolver xmlNamespaceResolver) |
org.w3c.dom.NodeList |
selectNodes(org.w3c.dom.Node contextNode,
XMLField xmlField,
XMLNamespaceResolver xmlNamespaceResolver)
Execute the XPath statement relative to the context node.
|
org.w3c.dom.NodeList |
selectNodes(org.w3c.dom.Node contextNode,
XMLField xmlField,
XMLNamespaceResolver xmlNamespaceResolver,
AbstractNullPolicy nullPolicy) |
java.lang.Object |
selectSingleNode(org.w3c.dom.Node contextNode,
XMLField xmlField,
XMLNamespaceResolver xmlNamespaceResolver) |
java.lang.Object |
selectSingleNode(org.w3c.dom.Node contextNode,
XMLField xmlField,
XMLNamespaceResolver xmlNamespaceResolver,
boolean checkForXsiNil)
Execute the XPath statement relative to the context node.
|
public UnmarshalXPathEngine()
public static UnmarshalXPathEngine getInstance()
XPathEngine
singleton.public java.lang.Object selectSingleNode(org.w3c.dom.Node contextNode, XMLField xmlField, XMLNamespaceResolver xmlNamespaceResolver, boolean checkForXsiNil) throws XMLMarshalException
contextNode
- the node relative to which the XPath statement will be executedxmlField
- the field containing the XPath statement to be executednamespaceResolver
- used to resolve namespace prefixes to the corresponding namespace URIXMLPlatformException
XMLMarshalException
public java.lang.Object selectSingleNode(org.w3c.dom.Node contextNode, XMLField xmlField, XMLNamespaceResolver xmlNamespaceResolver) throws XMLMarshalException
XMLMarshalException
public org.w3c.dom.NodeList selectNodes(org.w3c.dom.Node contextNode, XMLField xmlField, XMLNamespaceResolver xmlNamespaceResolver) throws XMLMarshalException
contextNode
- the node relative to which the XPath statement will be executedxmlField
- the field containing the XPath statement to be executednamespaceResolver
- used to resolve namespace prefixes to the corresponding namespace URIXMLPlatformException
XMLMarshalException
public org.w3c.dom.NodeList selectNodes(org.w3c.dom.Node contextNode, XMLField xmlField, XMLNamespaceResolver xmlNamespaceResolver, AbstractNullPolicy nullPolicy) throws XMLMarshalException
XMLMarshalException
public java.util.List<XMLEntry> selectNodes(org.w3c.dom.Node contextNode, java.util.List<XMLField> xmlFields, XMLNamespaceResolver xmlNamespaceResolver) throws XMLMarshalException
XMLMarshalException
public org.w3c.dom.NodeList selectElementNodes(org.w3c.dom.Node contextNode, XPathFragment xPathFragment, XMLNamespaceResolver xmlNamespaceResolver)
EclipseLink 2.4.2, "build v20130514-5956486" API Reference