|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jaxen.BaseXPath
org.apache.axiom.om.xpath.AXIOMXPath
public class AXIOMXPath
| Field Summary | |
|---|---|
private java.util.Map |
namespaces
|
private static long |
serialVersionUID
|
| Constructor Summary | |
|---|---|
AXIOMXPath(java.lang.String xpathExpr)
Construct given an XPath expression string. |
|
| Method Summary | |
|---|---|
void |
addNamespace(java.lang.String prefix,
java.lang.String uri)
This override captures any added namespaces, as the Jaxen BaseXPath class nor NamespaceContext (or SimpleNamespaceContext) exposes thier internal map of the prefixes to the namespaces. |
java.util.Map |
getNamespaces()
Expose the prefix to namespace mapping for this expression |
| Methods inherited from class org.jaxen.BaseXPath |
|---|
booleanValueOf, createFunctionContext, createNamespaceContext, createVariableContext, debug, evaluate, getContext, getContextSupport, getFunctionContext, getNamespaceContext, getNavigator, getRootExpr, getVariableContext, numberValueOf, selectNodes, selectNodesForContext, selectSingleNode, selectSingleNodeForContext, setFunctionContext, setNamespaceContext, setVariableContext, stringValueOf, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private static final long serialVersionUID
private java.util.Map namespaces
| Constructor Detail |
|---|
public AXIOMXPath(java.lang.String xpathExpr)
throws org.jaxen.JaxenException
xpathExpr - the XPath expression.
org.jaxen.JaxenException - if there is a syntax error while parsing the expression| Method Detail |
|---|
public void addNamespace(java.lang.String prefix,
java.lang.String uri)
throws org.jaxen.JaxenException
addNamespace in interface org.jaxen.XPathaddNamespace in class org.jaxen.BaseXPathprefix - a namespace prefixuri - the URI to which the prefix matches
org.jaxen.JaxenException - if the underlying implementation throws an exceptionpublic java.util.Map getNamespaces()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||