|
Oracle BPEL Process Manager Client API Reference 10g Release 2 (10.1.2) B25709-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
com.collaxa.xml.XPathUtils
Collection of XPath expression utility methods.
| Constructor Summary | |
XPathUtils() |
|
| Method Summary | |
static boolean |
booleanValueOf(org.w3c.dom.Element pElement, java.lang.String xpathExpression)Deprecated. Please use the other alternative booleanValueOf() method which takes the prefix-namespace map, this method will be removed in next release or so. |
static boolean |
booleanValueOf(org.w3c.dom.Element pElement, java.lang.String xpathExpression, java.util.Map prefixNamespaceMapping)Evaluates an XPath expression and returns the boolean value of the XPath expression if the expression results in a boolean. |
static java.lang.Object |
evaluate(org.w3c.dom.Element pElement, java.lang.String xpathExpression)Deprecated. Please use the other alternative evaluate() method which takes the prefix-namespace map, this method will be removed in next release or so. |
static java.lang.Object |
evaluate(org.w3c.dom.Element pElement, java.lang.String xpathExpression, java.util.Map prefixNamespaceMapping)Evaluates an XPath expression and returns the result as an java.lang.Object. |
static java.lang.Number |
numberValueOf(org.w3c.dom.Element pElement, java.lang.String xpathExpression)Deprecated. Please use the other alternative numberValueOf() method which takes the prefix-namespace map, this method will be removed in next release or so. |
static java.lang.Number |
numberValueOf(org.w3c.dom.Element pElement, java.lang.String xpathExpression, java.util.Map prefixNamespaceMapping)Evaluates an XPath expression and returns the numeric value of the XPath expression if the expression results in a number, or null if the result is not a number. |
static java.util.List |
selectNodes(org.w3c.dom.Element pElement, java.lang.String xpathExpression)Deprecated. Please use the other alternative selectNodes() method which takes the prefix-namespace map, this method will be removed in next release or so. |
static java.util.List |
selectNodes(org.w3c.dom.Element pElement, java.lang.String xpathExpression, java.util.Map prefixNamespaceMapping)Evaluates an XPath expression and returns the result as a List of org.w3c.dom.Node instances or String instances depending on the XPath expression. |
static java.lang.Object |
selectSingleNode(org.w3c.dom.Element pElement, java.lang.String xpathExpression)Deprecated. Please use the other alternative selectSingleNode() method which takes the prefix-namespace map, this method will be removed in next release or so. |
static java.lang.Object |
selectSingleNode(org.w3c.dom.Element pElement, java.lang.String xpathExpression, java.util.Map prefixNamespaceMapping)Evaluates an XPath expression and returns the result as a single org.w3c.dom.Node instance. |
static java.lang.String |
valueOf(org.w3c.dom.Element pElement, java.lang.String xpathExpression)Deprecated. Please use the other alternative valueOf() method which takes the prefix-namespace map, this method will be removed in next release or so. |
static java.lang.String |
valueOf(org.w3c.dom.Element pElement, java.lang.String xpathExpression, java.util.Map prefixNamespaceMapping)Evaluates an XPath expression and returns the textual representation of the results the string-value of the node. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public XPathUtils()
| Method Detail |
public static java.util.List selectNodes(org.w3c.dom.Element pElement,
java.lang.String xpathExpression)
throws java.lang.Exception
List of org.w3c.dom.Node instances or String instances depending on the XPath expression.xpathExpression - is the XPath expression to be evaluatedjava.lang.Exception - if the XPath expression is invalid.
public static java.util.List selectNodes(org.w3c.dom.Element pElement,
java.lang.String xpathExpression,
java.util.Map prefixNamespaceMapping)
throws java.lang.Exception
List of org.w3c.dom.Node instances or String instances depending on the XPath expression.xpathExpression - is the XPath expression to be evaluatedjava.lang.Exception - if the XPath expression is invalid.
public static java.lang.Object evaluate(org.w3c.dom.Element pElement,
java.lang.String xpathExpression)
throws java.lang.Exception
java.lang.Object. The object returned can either be a java.util.List of one or more org.w3c.dom.Node instances or a scalar object like a java.lang.String or a java.lang.Number instance depending on the XPath expression.xpathExpression - is the XPath expression to be evaluatedjava.lang.Exception - if the XPath expression is invalid.
public static java.lang.Object evaluate(org.w3c.dom.Element pElement,
java.lang.String xpathExpression,
java.util.Map prefixNamespaceMapping)
throws JaxenException
java.lang.Object. The object returned can either be a java.util.List of one or more org.w3c.dom.Node instances or a scalar object like a java.lang.String or a java.lang.Number instance depending on the XPath expression.xpathExpression - is the XPath expression to be evaluatedjava.lang.Exception - if the XPath expression is invalid.JaxenException
public static java.lang.Object selectSingleNode(org.w3c.dom.Element pElement,
java.lang.String xpathExpression)
throws java.lang.Exception
org.w3c.dom.Node instance.xpathExpression - is the XPath expression to be evaluatedjava.lang.Exception - if the XPath expression is invalid.
public static java.lang.Object selectSingleNode(org.w3c.dom.Element pElement,
java.lang.String xpathExpression,
java.util.Map prefixNamespaceMapping)
throws java.lang.Exception
org.w3c.dom.Node instance.xpathExpression - is the XPath expression to be evaluatedjava.lang.Exception - if the XPath expression is invalid.
public static java.lang.String valueOf(org.w3c.dom.Element pElement,
java.lang.String xpathExpression)
throws java.lang.Exception
The string-value for a given node type is defined in the XPath specification.
xpathExpression - is the XPath expression to be evaluatedjava.lang.Exception - if the XPath expression is invalid.
public static java.lang.String valueOf(org.w3c.dom.Element pElement,
java.lang.String xpathExpression,
java.util.Map prefixNamespaceMapping)
throws java.lang.Exception
The string-value for a given node type is defined in the XPath specification.
xpathExpression - is the XPath expression to be evaluatedjava.lang.Exception - if the XPath expression is invalid.
public static java.lang.Number numberValueOf(org.w3c.dom.Element pElement,
java.lang.String xpathExpression)
throws java.lang.Exception
null if the result is not a number.xpathExpression - is the XPath expression to be evaluatedjava.lang.Exception - if the XPath expression is invalid.
public static java.lang.Number numberValueOf(org.w3c.dom.Element pElement,
java.lang.String xpathExpression,
java.util.Map prefixNamespaceMapping)
throws java.lang.Exception
null if the result is not a number.xpathExpression - is the XPath expression to be evaluatedjava.lang.Exception - if the XPath expression is invalid.
public static boolean booleanValueOf(org.w3c.dom.Element pElement,
java.lang.String xpathExpression)
throws java.lang.Exception
xpathExpression - is the XPath expression to be evaluatedjava.lang.Exception - if the XPath expression is invalid.
public static boolean booleanValueOf(org.w3c.dom.Element pElement,
java.lang.String xpathExpression,
java.util.Map prefixNamespaceMapping)
throws java.lang.Exception
xpathExpression - is the XPath expression to be evaluatedjava.lang.Exception - if the XPath expression is invalid.
|
Oracle BPEL Process Manager Client API Reference 10g Release 2 (10.1.2) B25709-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||