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 and 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 and Description |
---|---|
boolean |
DOMXPath.evaluateAsBoolean(Document document)
Evaluates this XPath in the context of the given document and
returns the result as a boolean.
|
boolean |
DOMXPath.evaluateAsBoolean(Node contextNode)
Evaluates this XPath in the context of the given Node and
returns the result as a boolean.
|
Set |
DOMXPath.evaluateAsNodeset(Document document)
Evaluates this XPath in the context of the given document and
returns the result as a node-set.
|
Set |
DOMXPath.evaluateAsNodeset(Node contextNode)
Evaluates this XPath in the context of the given Node and
returns the result as a node-set.
|
double |
DOMXPath.evaluateAsNumber(Document document)
Evaluates this XPath in the context of the given document and
returns the result as a number.
|
double |
DOMXPath.evaluateAsNumber(Node contextNode)
Evaluates this XPath in the context of the given Node and
returns the result as a number.
|
String |
DOMXPath.evaluateAsString(Document document)
Evaluates this XPath in the context of the given document and
returns the result as a String.
|
String |
DOMXPath.evaluateAsString(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.
|