|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.xml.security.utils.CachedXPathFuncHereAPI
public class CachedXPathFuncHereAPI
Constructor Summary | |
---|---|
CachedXPathFuncHereAPI(CachedXPathAPI previouslyUsed)
Constructor CachedXPathFuncHereAPI |
|
CachedXPathFuncHereAPI(XPathContext existingXPathContext)
Constructor CachedXPathFuncHereAPI |
Method Summary | |
---|---|
XObject |
eval(org.w3c.dom.Node contextNode,
org.w3c.dom.Node xpathnode)
Deprecated. |
XObject |
eval(org.w3c.dom.Node contextNode,
org.w3c.dom.Node xpathnode,
java.lang.String str,
org.w3c.dom.Node namespaceNode)
Evaluate XPath string to an XObject. |
XObject |
eval(org.w3c.dom.Node contextNode,
org.w3c.dom.Node xpathnode,
java.lang.String str,
PrefixResolver prefixResolver)
Evaluate XPath string to an XObject. |
FuncHereContext |
getFuncHereContext()
Method getFuncHereContext |
static java.lang.String |
getStrFromNode(org.w3c.dom.Node xpathnode)
Method getStrFromNode |
org.w3c.dom.traversal.NodeIterator |
selectNodeIterator(org.w3c.dom.Node contextNode,
org.w3c.dom.Node xpathnode)
Use an XPath string to select a nodelist. |
org.w3c.dom.traversal.NodeIterator |
selectNodeIterator(org.w3c.dom.Node contextNode,
org.w3c.dom.Node xpathnode,
org.w3c.dom.Node namespaceNode)
Deprecated. |
org.w3c.dom.NodeList |
selectNodeList(org.w3c.dom.Node contextNode,
org.w3c.dom.Node xpathnode)
Deprecated. |
org.w3c.dom.NodeList |
selectNodeList(org.w3c.dom.Node contextNode,
org.w3c.dom.Node xpathnode,
java.lang.String str,
org.w3c.dom.Node namespaceNode)
Use an XPath string to select a nodelist. |
org.w3c.dom.Node |
selectSingleNode(org.w3c.dom.Node contextNode,
org.w3c.dom.Node xpathnode)
Use an XPath string to select a single node. |
org.w3c.dom.Node |
selectSingleNode(org.w3c.dom.Node contextNode,
org.w3c.dom.Node xpathnode,
org.w3c.dom.Node namespaceNode)
Use an XPath string to select a single node. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CachedXPathFuncHereAPI(XPathContext existingXPathContext)
existingXPathContext
- public CachedXPathFuncHereAPI(CachedXPathAPI previouslyUsed)
previouslyUsed
- Method Detail |
---|
public FuncHereContext getFuncHereContext()
public org.w3c.dom.Node selectSingleNode(org.w3c.dom.Node contextNode, org.w3c.dom.Node xpathnode) throws javax.xml.transform.TransformerException
contextNode
- The node to start searching from.xpathnode
- A Node containing a valid XPath string.
javax.xml.transform.TransformerException
public org.w3c.dom.Node selectSingleNode(org.w3c.dom.Node contextNode, org.w3c.dom.Node xpathnode, org.w3c.dom.Node namespaceNode) throws javax.xml.transform.TransformerException
contextNode
- The node to start searching from.xpathnode
- namespaceNode
- The node from which prefixes in the XPath will be resolved to namespaces.
javax.xml.transform.TransformerException
public org.w3c.dom.traversal.NodeIterator selectNodeIterator(org.w3c.dom.Node contextNode, org.w3c.dom.Node xpathnode) throws javax.xml.transform.TransformerException
contextNode
- The node to start searching from.xpathnode
-
javax.xml.transform.TransformerException
public org.w3c.dom.traversal.NodeIterator selectNodeIterator(org.w3c.dom.Node contextNode, org.w3c.dom.Node xpathnode, org.w3c.dom.Node namespaceNode) throws javax.xml.transform.TransformerException
contextNode
- The node to start searching from.xpathnode
- namespaceNode
- The node from which prefixes in the XPath will be resolved to namespaces.
javax.xml.transform.TransformerException
public org.w3c.dom.NodeList selectNodeList(org.w3c.dom.Node contextNode, org.w3c.dom.Node xpathnode) throws javax.xml.transform.TransformerException
contextNode
- The node to start searching from.xpathnode
-
javax.xml.transform.TransformerException
public org.w3c.dom.NodeList selectNodeList(org.w3c.dom.Node contextNode, org.w3c.dom.Node xpathnode, java.lang.String str, org.w3c.dom.Node namespaceNode) throws javax.xml.transform.TransformerException
contextNode
- The node to start searching from.xpathnode
- str
- namespaceNode
- The node from which prefixes in the XPath will be resolved to namespaces.
javax.xml.transform.TransformerException
public XObject eval(org.w3c.dom.Node contextNode, org.w3c.dom.Node xpathnode) throws javax.xml.transform.TransformerException
contextNode
- The node to start searching from.xpathnode
-
javax.xml.transform.TransformerException
org.apache.xpath.objects.XObject
,
org.apache.xpath.objects.XNull
,
org.apache.xpath.objects.XBoolean
,
org.apache.xpath.objects.XNumber
,
org.apache.xpath.objects.XString
,
org.apache.xpath.objects.XRTreeFrag
public XObject eval(org.w3c.dom.Node contextNode, org.w3c.dom.Node xpathnode, java.lang.String str, org.w3c.dom.Node namespaceNode) throws javax.xml.transform.TransformerException
contextNode
- The node to start searching from.xpathnode
- str
- namespaceNode
- The node from which prefixes in the XPath will be resolved to namespaces.
javax.xml.transform.TransformerException
org.apache.xpath.objects.XObject
,
org.apache.xpath.objects.XNull
,
org.apache.xpath.objects.XBoolean
,
org.apache.xpath.objects.XNumber
,
org.apache.xpath.objects.XString
,
org.apache.xpath.objects.XRTreeFrag
public XObject eval(org.w3c.dom.Node contextNode, org.w3c.dom.Node xpathnode, java.lang.String str, PrefixResolver prefixResolver) throws javax.xml.transform.TransformerException
contextNode
- The node to start searching from.xpathnode
- str
- prefixResolver
- Will be called if the parser encounters namespace
prefixes, to resolve the prefixes to URLs.
javax.xml.transform.TransformerException
org.apache.xpath.objects.XObject
,
org.apache.xpath.objects.XNull
,
org.apache.xpath.objects.XBoolean
,
org.apache.xpath.objects.XNumber
,
org.apache.xpath.objects.XString
,
org.apache.xpath.objects.XRTreeFrag
public static java.lang.String getStrFromNode(org.w3c.dom.Node xpathnode)
xpathnode
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |