Package | Description |
---|---|
weblogic.xml.xpath |
This package contains all of the classes required to perform
XPath matching against a document represented as a DOM, XMLNode,
or against an XMLInputStream.
|
Modifier and Type | Class | Description |
---|---|---|
class |
XPathParsingException |
Thrown to indicate that an error occurred during the parsing of
an XPath, usually as the result of a syntactical error in the
xpath.
|
class |
XPathUnsupportedException |
Exception thrown when an attempt is made to parse an XPath which
contains expressions that cannot be supported by the chosen
document-inspection model.
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
DOMXPath.evaluateAsBoolean(org.w3c.dom.Document document) |
Evaluates this XPath in the context of the given document and
returns the result as a boolean.
|
boolean |
DOMXPath.evaluateAsBoolean(org.w3c.dom.Node contextNode) |
Evaluates this XPath in the context of the given Node and
returns the result as a boolean.
|
java.util.Set |
DOMXPath.evaluateAsNodeset(org.w3c.dom.Document document) |
Evaluates this XPath in the context of the given document and
returns the result as a node-set.
|
java.util.Set |
DOMXPath.evaluateAsNodeset(org.w3c.dom.Node contextNode) |
Evaluates this XPath in the context of the given Node and
returns the result as a node-set.
|
double |
DOMXPath.evaluateAsNumber(org.w3c.dom.Document document) |
Evaluates this XPath in the context of the given document and
returns the result as a number.
|
double |
DOMXPath.evaluateAsNumber(org.w3c.dom.Node contextNode) |
Evaluates this XPath in the context of the given Node and
returns the result as a number.
|
java.lang.String |
DOMXPath.evaluateAsString(org.w3c.dom.Document document) |
Evaluates this XPath in the context of the given document and
returns the result as a String.
|
java.lang.String |
DOMXPath.evaluateAsString(org.w3c.dom.Node contextNode) |
Evaluates this XPath in the context of the given Node and
returns the result as a String.
|
int |
DOMXPath.getType() |
Returns one of the integer constants declared above to indicate
what type of value this XPath returns.
|