|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.basex.query.ExprInfo
org.basex.query.xpath.locpath.Step
public abstract class Step
Single Location Step.
| Field Summary | |
|---|---|
Axis |
axis
Axis. |
Preds |
preds
Predicate array. |
Test |
test
Node test. |
| Constructor Summary | |
|---|---|
Step()
|
|
| Method Summary | |
|---|---|
java.lang.String |
color()
Returns a string description of the expression. |
void |
plan(Serializer ser)
Recursively sends the abstract syntax of this expression to the specified serializer. |
boolean |
sameAs(Step step)
Checks location steps for equality. |
boolean |
simple(Axis ax)
Checks if this is a simple axis (node test, no predicates). |
int |
simpleName(Axis ax,
boolean name)
Checks if this is a simple name axis (no predicates). |
java.lang.String |
toString()
|
| Methods inherited from class org.basex.query.ExprInfo |
|---|
info, name |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public Axis axis
public Test test
public Preds preds
| Constructor Detail |
|---|
public Step()
| Method Detail |
|---|
public final boolean simple(Axis ax)
ax - axis to be checked
public final int simpleName(Axis ax,
boolean name)
ax - axis to be checkedname - name reference needed
Integer.MIN_VALUE if test was negativepublic final boolean sameAs(Step step)
step - location step
public final java.lang.String toString()
toString in class ExprInfo
public final void plan(Serializer ser)
throws java.io.IOException
ExprInfo
plan in class ExprInfoser - serializer
java.io.IOException - exceptionpublic final java.lang.String color()
ExprInfoExprInfo.toString() method, the current expressions aren't included
in the output.
color in class ExprInfo
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||