org.apache.commons.jxpath.ri.compiler

Class LocationPath


public class LocationPath
extends Path

Version:
$Revision: 1.11 $ $Date: 2004/02/29 14:17:39 $
Author:
Dmitri Plotnikov

Nested Class Summary

Nested classes/interfaces inherited from class org.apache.commons.jxpath.ri.compiler.Expression

Expression.PointerIterator, Expression.ValueIterator

Field Summary

Fields inherited from class org.apache.commons.jxpath.ri.compiler.Expression

NOT_A_NUMBER, ONE, ZERO

Constructor Summary

LocationPath(boolean absolute, Step[] steps)

Method Summary

Object
compute(EvalContext context)
boolean
computeContextDependent()
Object
computeValue(EvalContext context)
boolean
isAbsolute()
String
toString()

Methods inherited from class org.apache.commons.jxpath.ri.compiler.Path

areBasicPredicates, computeContextDependent, createContextForStep, evalSteps, getSingleNodePointerForSteps, getSteps, isSimplePath, isSimpleStep

Methods inherited from class org.apache.commons.jxpath.ri.compiler.Expression

compute, computeContextDependent, computeValue, isContextDependent, iterate, iteratePointers

Constructor Details

LocationPath

public LocationPath(boolean absolute,
                    Step[] steps)

Method Details

compute

public Object compute(EvalContext context)
Overrides:
compute in interface Expression

computeContextDependent

public boolean computeContextDependent()
Overrides:
computeContextDependent in interface Path

computeValue

public Object computeValue(EvalContext context)
Overrides:
computeValue in interface Expression

isAbsolute

public boolean isAbsolute()

toString

public String toString()