Package org.eclipse.wst.xml.xpath2.processor.ast


org.eclipse.wst.xml.xpath2.processor.ast
Class XPath



public class XPath
extends org.eclipse.wst.xml.xpath2.processor.internal.ast.XPathNode
Support for XPath.


Constructor Summary

XPath(java.util.Collection exprs)

Method Summary

public java.lang.Objectaccept(org.eclipse.wst.xml.xpath2.processor.internal.ast.XPathVisitor v)
     Support for Visitor interface.
public org.eclipse.wst.xml.xpath2.api.ResultSequenceevaluate(org.eclipse.wst.xml.xpath2.api.DynamicContext dynamicContext , java.lang.Object[] contextItems)
    
public java.util.CollectiongetAxes()
    
public java.util.CollectiongetFreeVariables()
    
public java.util.CollectiongetResolvedFunctions()
    
public org.eclipse.wst.xml.xpath2.api.StaticContextgetStaticContext()
    
public booleanisRootPathUsed()
    
public java.util.Iteratoriterator()
     Support for Iterator interface.
public voidsetAxes(java.util.Collection _axes)
    
public voidsetFreeVariables(java.util.Collection _freeVariables)
    
public voidsetResolvedFunctions(java.util.Collection _resolvedFunctions)
    
public voidsetRootUsed(boolean _rootUsed)
    
public voidsetStaticContext(org.eclipse.wst.xml.xpath2.api.StaticContext context)
    

Constructor Detail

XPath

public XPath(java.util.Collection exprs)

Constructor for XPath.


Methods Detail

accept

public java.lang.Object accept(org.eclipse.wst.xml.xpath2.processor.internal.ast.XPathVisitor v)

Support for Visitor interface.

Parameters

v

Returns

java.lang.Object - Result of Visitor operation.


evaluate

public org.eclipse.wst.xml.xpath2.api.ResultSequence evaluate(org.eclipse.wst.xml.xpath2.api.DynamicContext dynamicContext , java.lang.Object[] contextItems)

Parameters

dynamicContext

contextItems

Returns

org.eclipse.wst.xml.xpath2.api.ResultSequence


getAxes

public java.util.Collection getAxes()

Returns

java.util.Collection


getFreeVariables

public java.util.Collection getFreeVariables()

Returns

java.util.Collection


getResolvedFunctions

public java.util.Collection getResolvedFunctions()

Returns

java.util.Collection


getStaticContext

public org.eclipse.wst.xml.xpath2.api.StaticContext getStaticContext()

Returns

org.eclipse.wst.xml.xpath2.api.StaticContext


isRootPathUsed

public boolean isRootPathUsed()

Returns

boolean


iterator

public java.util.Iterator iterator()

Support for Iterator interface.

Returns

java.util.Iterator - Result of Iterator operation.


setAxes

public void setAxes(java.util.Collection _axes)

Parameters

_axes


setFreeVariables

public void setFreeVariables(java.util.Collection _freeVariables)

Parameters

_freeVariables


setResolvedFunctions

public void setResolvedFunctions(java.util.Collection _resolvedFunctions)

Parameters

_resolvedFunctions


setRootUsed

public void setRootUsed(boolean _rootUsed)

Parameters

_rootUsed


setStaticContext

public void setStaticContext(org.eclipse.wst.xml.xpath2.api.StaticContext context)

Parameters

context