org.plasma.query.xpath
Class QueryXPath

java.lang.Object
  extended by org.jaxen.BaseXPath
      extended by org.plasma.sdo.xpath.DefaultXPath
          extended by org.plasma.query.xpath.QueryXPath
All Implemented Interfaces:
Serializable, org.jaxen.XPath

public class QueryXPath
extends DefaultXPath

Provides access to the Jaxen XPATH parse tree after a given XPATH is successfully parsed.

See Also:
Serialized Form

Constructor Summary
QueryXPath(String xpathExpr)
          Constructor for parsing of an XPATH without navigation.
QueryXPath(String xpathExpr, QueryPathNavigator navigator)
          Constructor for parsing and navigation of an XPATH
 
Method Summary
 void accept(org.jaxen.expr.Step step, XPathExprVisitor visitor)
           
 void acceptBreadthFirst(org.jaxen.expr.Step step, XPathExprVisitor visitor)
           
 List<org.jaxen.expr.Step> getSteps()
           
 
Methods inherited from class org.plasma.sdo.xpath.DefaultXPath
isXPath
 
Methods inherited from class org.jaxen.BaseXPath
addNamespace, booleanValueOf, createFunctionContext, createNamespaceContext, createVariableContext, debug, evaluate, getContext, getContextSupport, getFunctionContext, getNamespaceContext, getNavigator, getRootExpr, getVariableContext, numberValueOf, selectNodes, selectNodesForContext, selectSingleNode, selectSingleNodeForContext, setFunctionContext, setNamespaceContext, setVariableContext, stringValueOf, toString, valueOf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

QueryXPath

public QueryXPath(String xpathExpr,
                  QueryPathNavigator navigator)
           throws org.jaxen.JaxenException
Constructor for parsing and navigation of an XPATH

Parameters:
xpathExpr - the XPATH expression
navigator - the navigator
Throws:
org.jaxen.JaxenException

QueryXPath

public QueryXPath(String xpathExpr)
           throws org.jaxen.JaxenException
Constructor for parsing of an XPATH without navigation.

Parameters:
xpathExpr - the XPATH expression
Throws:
org.jaxen.JaxenException
Method Detail

getSteps

public List<org.jaxen.expr.Step> getSteps()
                                   throws org.jaxen.JaxenException
Throws:
org.jaxen.JaxenException

accept

public void accept(org.jaxen.expr.Step step,
                   XPathExprVisitor visitor)

acceptBreadthFirst

public void acceptBreadthFirst(org.jaxen.expr.Step step,
                               XPathExprVisitor visitor)


Copyright © 2013. All rights reserved.