public class ExpressionSingle extends Object
This class builds an execution chain to execute a XPath query. All added axis are build together by using NestedAxis.
Constructor and Description |
---|
ExpressionSingle(INodeReadTrx pRtx)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
add(AbsAxis mAx)
Adds a new Axis to the expression chain.
|
AbsAxis |
getExpr()
Returns a chain to execute the query.
|
int |
getSize()
Returns the number of axis in this expression.
|
boolean |
isDupOrd(AbsAxis ax)
Determines for a given string representation of an axis, whether this
axis leads to duplicates in the result sequence or not.
|
boolean |
isOrdered() |
public ExpressionSingle(INodeReadTrx pRtx)
public void add(AbsAxis mAx)
mAx
- ach The axis to add.public AbsAxis getExpr()
public int getSize()
public boolean isDupOrd(AbsAxis ax)
ax
- name of the current axispublic boolean isOrdered()
Copyright © 2013. All Rights Reserved.