|
NetKernel APIs |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ten60.netkernel.xml.xda.DOMXPathImplementation
public class DOMXPathImplementation
Wrapper around evaluation of xpaths using xalan. An attempt is made to minimise memory usage by reusing contexts and caching last node id and parsed xpath.
| Constructor Summary | |
|---|---|
DOMXPathImplementation()
Creates a new instance of XPathAPIWrapper |
|
| Method Summary | |
|---|---|
IXPathResult |
eval(java.lang.Object aContextNode,
java.lang.String aXPath)
Evaluates an xpath expression on the given context node |
org.apache.xml.utils.PrefixResolver |
getPrefixResolver()
|
void |
reset()
reset the evaluator after the document has changed |
void |
resetPrefixResolver()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DOMXPathImplementation()
| Method Detail |
|---|
public final IXPathResult eval(java.lang.Object aContextNode,
java.lang.String aXPath)
throws XPathImplementationException
eval in interface IXPathImplementationaContextNode - an implementation specific context objectaXPath - an xpath into the document
XPathImplementationException - thrown if the evaluation fails for any reasonpublic void reset()
reset in interface IXPathImplementationpublic void resetPrefixResolver()
public org.apache.xml.utils.PrefixResolver getPrefixResolver()
|
NetKernel APIs |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||