|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public XPath
Interface provides functions to select nodes by evaluating XPATH expression
Method Summary | |
---|---|
XMLNodeList |
evaluateXPath(String xpathExpr,
XMLDocument doc,
JSON namespaces)
This interface returns a list of XMLNodes upon XPATH evaluation. |
Object |
evaluateEntry(String xpathExpr,
XMLDocument doc,
JSON namespaces)
This interface returns a single Entry upon XPATH evaluation or null if the entry is not present. |
Boolean |
evaluateBoolean(String xpathExpr,
XMLDocument doc,
JSON namespaces)
This interface returns a boolean upon XPATH evaluation. |
String |
evaluateString(String xpathExpr,
XMLDocument doc,
JSON namespaces)
This interface returns a String upon XPATH evaluation. |
Number |
evaluateNumber(String xpathExpr,
XMLDocument doc,
JSON namespaces)
This interface returns a Number upon XPATH evaluation. |
Method Detail |
---|
XMLNodeList evaluateXPath(String xpathExpr, XMLDocument doc, JSON namespaces)
xpathExpr
-
the xpath expression (i.e. /atom:content). Must not be NULL.doc
-
the XML document. Must not be NULL.namespaces
-
the namespaces used as part of the xpath expression. The json must be of the format
{
"prefix": "URL", ... }; must not be NULL.null
.Object evaluateEntry(String xpathExpr, XMLDocument doc, JSON namespaces)
xpathExpr
-
the xpath expression (i.e. /atom:content). Must not be NULL.doc
-
the XML document. Must not be NULL.namespaces
-
the namespaces used as part of the xpath expression. The json must be of the format
{
"prefix": "URL", ... }; must not be NULL.Boolean evaluateBoolean(String xpathExpr, XMLDocument doc, JSON namespaces)
xpathExpr
-
the xpath expression (i.e. /atom:content). Must not be NULL.doc
-
the XML document. Must not be NULL.namespaces
-
the namespaces used as part of the xpath expression. The json must be of the format
{
"prefix": "URL", ... }; must not be NULL.String evaluateString(String xpathExpr, XMLDocument doc, JSON namespaces)
xpathExpr
-
the xpath expression (i.e. /atom:content). Must not be NULL.doc
-
the XML document. Must not be NULL.namespaces
-
the namespaces used as part of the xpath expression. The json must be of the format
{
"prefix": "URL", ... }; must not be NULL.Number evaluateNumber(String xpathExpr, XMLDocument doc, JSON namespaces)
xpathExpr
-
the xpath expression (i.e. /atom:content). Must not be NULL.doc
-
the XML document. Must not be NULL.namespaces
-
the namespaces used as part of the xpath expression. The json must be of the format
{
"prefix": "URL", ... }; must not be NULL.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |