|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.basex.data.ExprInfo
public abstract class ExprInfo
Expression information, used for debugging and logging.
Constructor Summary | |
---|---|
ExprInfo()
|
Method Summary | |
---|---|
protected void |
addPlan(FElem plan,
FElem el,
ExprInfo... expr)
Adds trees of the specified expressions to the root node. |
protected void |
addPlan(FElem plan,
FElem el,
java.lang.Object... expr)
Adds trees of the specified expressions to the root node. |
java.lang.String |
description()
Returns a string description of the expression. |
byte[] |
info()
Returns the simplified class name. |
abstract void |
plan(FElem e)
Creates an expression tree. |
protected FAttr |
planAttr(java.lang.Object n,
java.lang.Object v)
Creates a new attribute to be added to the expression tree. |
protected FElem |
planElem(java.lang.Object... atts)
Creates a new element node to be added to the expression tree. |
abstract java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ExprInfo()
Method Detail |
---|
public java.lang.String description()
toString()
method,
arguments are not included in the output.
public byte[] info()
public abstract java.lang.String toString()
toString
in class java.lang.Object
public abstract void plan(FElem e)
e
- root elementprotected FElem planElem(java.lang.Object... atts)
atts
- optional attribute names and values
protected void addPlan(FElem plan, FElem el, java.lang.Object... expr)
plan
- root nodeel
- new elementexpr
- expressionsprotected void addPlan(FElem plan, FElem el, ExprInfo... expr)
plan
- root nodeel
- new elementexpr
- expressionsprotected FAttr planAttr(java.lang.Object n, java.lang.Object v)
n
- name of attributev
- value of attribute
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |