|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.xml.security.utils.XalanXPathAPI
public class XalanXPathAPI
An implementation of XPathAPI using Xalan. This supports the "here()" function defined in the digital signature spec.
| Constructor Summary | |
|---|---|
XalanXPathAPI()
|
|
| Method Summary | |
|---|---|
void |
clear()
Clear any context information from this object |
boolean |
evaluate(Node contextNode,
Node xpathnode,
String str,
Node namespaceNode)
Evaluate an XPath string and return true if the output is to be included or not. |
static boolean |
isInstalled()
|
NodeList |
selectNodeList(Node contextNode,
Node xpathnode,
String str,
Node namespaceNode)
Use an XPath string to select a nodelist. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XalanXPathAPI()
| Method Detail |
|---|
public NodeList selectNodeList(Node contextNode,
Node xpathnode,
String str,
Node namespaceNode)
throws TransformerException
selectNodeList in interface XPathAPIcontextNode - The node to start searching from.xpathnode - str - namespaceNode - The node from which prefixes in the XPath will be resolved to namespaces.
TransformerException
public boolean evaluate(Node contextNode,
Node xpathnode,
String str,
Node namespaceNode)
throws TransformerException
evaluate in interface XPathAPIcontextNode - The node to start searching from.xpathnode - The XPath nodestr - The XPath expressionnamespaceNode - The node from which prefixes in the XPath will be resolved to namespaces.
TransformerExceptionpublic void clear()
clear in interface XPathAPIpublic static boolean isInstalled()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||