|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.wpi.cs.dsrg.xmldb.xat.common.visitorpattern.InheritableVisitor | +--edu.wpi.cs.dsrg.utils.BindingTableComputer
This class compute the bindingTable for a given XAT. Usage eg : BindingTableComputer btc = new BindingTableComputer(); BindingTable bt = btc.computeBindingTable(xat); xat.setBindingTable( bt );
Constructor Summary | |
BindingTableComputer()
The default BindingTableComputer constructor. |
Method Summary | |
BindingTable |
computeBindingTable(XATTree xatTree)
Compute the binding table for a given XAT. |
java.lang.Object |
dispatch()
To visit a null object. |
java.lang.Object |
dispatch(java.lang.Object o1)
To visit any object. |
java.lang.Object |
visit(FOR fr)
Recursively compute all variable bindings of a subtree rooted at a "FOR" node. |
java.lang.Object |
visit(Function func)
Recursively compute all variable bindings of a subtree rooted at a "Function" node. |
java.lang.Object |
visit(GroupBy groupby)
Recursively compute all variable bindings of a subtree rooted at a "GroupBy" node. |
java.lang.Object |
visit(NameColumn name)
Recursively compute all variable bindings of a subtree rooted at a "NameColumn" node. |
java.lang.Object |
visit(Navigate nav)
Recursively compute all variable bindings of a subtree rooted at a "Navigate" node. |
java.lang.Object |
visit(Source source)
Recursively compute all variable bindings of a subtree rooted at a "Source" node. |
java.lang.Object |
visit(Tagger tag)
Recursively compute all variable bindings of a subtree rooted at a "Tagger" node. |
Methods inherited from class edu.wpi.cs.dsrg.xmldb.xat.common.visitorpattern.InheritableVisitor |
getAncestors,
getMethod,
visit,
visit |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public BindingTableComputer()
Method Detail |
public BindingTable computeBindingTable(XATTree xatTree)
xatTree
- The XATTree computing binding table for.public java.lang.Object dispatch()
public java.lang.Object dispatch(java.lang.Object o1)
public java.lang.Object visit(FOR fr)
fr
- The FOR operator.public java.lang.Object visit(Function func)
func
- The Function operator.public java.lang.Object visit(NameColumn name)
name
- The NameColumn operator.public java.lang.Object visit(Source source)
source
- The Source operator.public java.lang.Object visit(GroupBy groupby)
groupby
- The GroupBy operator.public java.lang.Object visit(Navigate nav)
nav
- The Navigate operator.public java.lang.Object visit(Tagger tag)
tag
- The Tagger operator.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |