Uses of Interface
org.htmlunit.xpath.xml.utils.PrefixResolver
-
Packages that use PrefixResolver Package Description org.htmlunit.xpath Implementation of XPath; for the most part, only classes meant for public use are found at this root level of the XPath packages.org.htmlunit.xpath.axes Implementation of XPath LocationPath support -- primary classes are LocPathIterator and UnionPathIterator.org.htmlunit.xpath.compiler Implements an XPath parser which produces an OpMap, and a so-called Compiler which produces an expression tree for fast evaluation.org.htmlunit.xpath.xml.utils Implementation of Xalan utility classes. -
-
Uses of PrefixResolver in org.htmlunit.xpath
Fields in org.htmlunit.xpath with type parameters of type PrefixResolver Modifier and Type Field Description private java.util.Stack<PrefixResolver>
XPathContext. m_prefixResolvers
Methods in org.htmlunit.xpath that return PrefixResolver Modifier and Type Method Description PrefixResolver
XPathContext. getNamespaceContext()
Get the current namespace context for the xpath.Methods in org.htmlunit.xpath with parameters of type PrefixResolver Modifier and Type Method Description static XObject
XPathAPI. eval(org.w3c.dom.Node contextNode, java.lang.String str, PrefixResolver prefixResolver)
Evaluate XPath string to an XObject.XObject
XPath. execute(XPathContext xctxt, int contextNode, PrefixResolver namespaceContext)
Given an expression and a context, evaluate the XPath and return the result.XObject
XPath. execute(XPathContext xctxt, org.w3c.dom.Node contextNode, PrefixResolver namespaceContext)
Given an expression and a context, evaluate the XPath and return the result.void
XPathContext. pushNamespaceContext(PrefixResolver pr)
Push a current namespace context for the xpath.void
XPathContext. setNamespaceContext(PrefixResolver pr)
Get the current namespace context for the xpath.Constructors in org.htmlunit.xpath with parameters of type PrefixResolver Constructor Description XPath(java.lang.String exprString, PrefixResolver prefixResolver, int type)
Construct an XPath object.XPath(java.lang.String exprString, PrefixResolver prefixResolver, int type, javax.xml.transform.ErrorListener errorListener)
Construct an XPath object.XPath(java.lang.String exprString, PrefixResolver prefixResolver, int type, javax.xml.transform.ErrorListener errorListener, FunctionTable aTable)
Construct an XPath object. -
Uses of PrefixResolver in org.htmlunit.xpath.axes
Fields in org.htmlunit.xpath.axes declared as PrefixResolver Modifier and Type Field Description private PrefixResolver
LocPathIterator. m_prefixResolver
Fast access to the current prefix resolver.Methods in org.htmlunit.xpath.axes that return PrefixResolver Modifier and Type Method Description PrefixResolver
LocPathIterator. getPrefixResolver()
Return the saved reference to the prefix resolver that was in effect when this iterator was created.Methods in org.htmlunit.xpath.axes with parameters of type PrefixResolver Modifier and Type Method Description static XNodeSet
FilterExprWalker. executeFilterExpr(int context, XPathContext xctxt, PrefixResolver prefixResolver, boolean isTopLevel, Expression expr)
Execute the expression.Constructors in org.htmlunit.xpath.axes with parameters of type PrefixResolver Constructor Description BasicTestIterator(PrefixResolver nscontext)
Create a LocPathIterator object.LocPathIterator(PrefixResolver nscontext)
Create a LocPathIterator object.WalkingIterator(PrefixResolver nscontext)
Create a WalkingIterator object. -
Uses of PrefixResolver in org.htmlunit.xpath.compiler
Fields in org.htmlunit.xpath.compiler declared as PrefixResolver Modifier and Type Field Description private PrefixResolver
Compiler. m_currentPrefixResolver
The current prefixResolver for the execution context.(package private) PrefixResolver
Lexer. m_namespaceContext
The prefix resolver to map prefixes to namespaces in the XPath.(package private) PrefixResolver
XPathParser. m_namespaceContext
The prefix resolver to map prefixes to namespaces in the OpMap.Methods in org.htmlunit.xpath.compiler that return PrefixResolver Modifier and Type Method Description PrefixResolver
Compiler. getNamespaceContext()
Get the current namespace context for the xpath.Methods in org.htmlunit.xpath.compiler with parameters of type PrefixResolver Modifier and Type Method Description void
XPathParser. initMatchPattern(Compiler compiler, java.lang.String expression, PrefixResolver namespaceContext)
Given an string, init an XPath object for pattern matches, in order that a parse doesn't have to be done each time the expression is evaluated.void
XPathParser. initXPath(Compiler compiler, java.lang.String expression, PrefixResolver namespaceContext)
Given an string, init an XPath object for selections, in order that a parse doesn't have to be done each time the expression is evaluated.void
Compiler. setNamespaceContext(PrefixResolver pr)
Set the current namespace context for the xpath.Constructors in org.htmlunit.xpath.compiler with parameters of type PrefixResolver Constructor Description Lexer(Compiler compiler, PrefixResolver resolver, XPathParser xpathProcessor)
Create a Lexer object. -
Uses of PrefixResolver in org.htmlunit.xpath.xml.utils
Classes in org.htmlunit.xpath.xml.utils that implement PrefixResolver Modifier and Type Class Description class
PrefixResolverDefault
This class implements a generic PrefixResolver that can be used to perform prefix-to-namespace lookup for the XPath object.
-