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_prefixResolversMethods in org.htmlunit.xpath that return PrefixResolver Modifier and Type Method Description PrefixResolverXPathContext. 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 XObjectXPathAPI. eval(org.w3c.dom.Node contextNode, java.lang.String str, PrefixResolver prefixResolver)Evaluate XPath string to an XObject.XObjectXPath. execute(XPathContext xctxt, int contextNode, PrefixResolver namespaceContext)Given an expression and a context, evaluate the XPath and return the result.XObjectXPath. execute(XPathContext xctxt, org.w3c.dom.Node contextNode, PrefixResolver namespaceContext)Given an expression and a context, evaluate the XPath and return the result.voidXPathContext. pushNamespaceContext(PrefixResolver pr)Push a current namespace context for the xpath.voidXPathContext. 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 PrefixResolverLocPathIterator. m_prefixResolverFast access to the current prefix resolver.Methods in org.htmlunit.xpath.axes that return PrefixResolver Modifier and Type Method Description PrefixResolverLocPathIterator. 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 XNodeSetFilterExprWalker. 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 PrefixResolverCompiler. m_currentPrefixResolverThe current prefixResolver for the execution context.(package private) PrefixResolverLexer. m_namespaceContextThe prefix resolver to map prefixes to namespaces in the XPath.(package private) PrefixResolverXPathParser. m_namespaceContextThe prefix resolver to map prefixes to namespaces in the OpMap.Methods in org.htmlunit.xpath.compiler that return PrefixResolver Modifier and Type Method Description PrefixResolverCompiler. 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 voidXPathParser. 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.voidXPathParser. 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.voidCompiler. 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 classPrefixResolverDefaultThis class implements a generic PrefixResolver that can be used to perform prefix-to-namespace lookup for the XPath object.
-