edu.wpi.cs.dsrg.xmldb.xat.component.xatrewrite
Class CancelOutTraversal
java.lang.Object
|
+--edu.wpi.cs.dsrg.xmldb.xat.common.operator.XATPropertiesImp
|
+--edu.wpi.cs.dsrg.xmldb.xat.common.operator.XATQueryObjectImp
|
+--edu.wpi.cs.dsrg.xmldb.xat.component.xatrewrite.ReWriteTraversal
|
+--edu.wpi.cs.dsrg.xmldb.xat.component.xatrewrite.CancelOutTraversal
- public class CancelOutTraversal
- extends ReWriteTraversal
This Class is used to cancel out the reduncent operators
by traversing the XAT.
- Since:
- 1.0
- See Also:
- Serialized Form
Methods inherited from class edu.wpi.cs.dsrg.xmldb.xat.component.xatrewrite.ReWriteTraversal |
doPushdown,
doRewrite,
findNextNode,
findNextNode,
getAllSourceNodes,
getChildren,
getStepTrees,
isDebug,
isIsChanged,
isPushedDown,
isStepThrough,
setDebug,
setDefaultProperties,
setIsChanged,
setPushedDown,
setStepTrees |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
CancelOutTraversal
public CancelOutTraversal(XATTree tree,
ReWriteRules p1,
java.util.Vector order)
- CancelOutTraversal consttructor.
Constructs a CancelOutTraversal object using XAT and Rewrite Rules and order.
- Parameters:
tree
- The XML Algebra Tree (XAT) going to be rewrited.p1
- The rewrite rule categories.order
- The order of operator being considered in the rewrite rule categories.- Since:
- 1.0
- See Also:
XATTree
,
ReWriteRules
CancelOutTraversal
public CancelOutTraversal(XATTree tree,
ReWriteRules p1,
java.util.Vector order,
boolean step)
- CancelOutTraversal consttructor.
Constructs a CancelOutTraversal object using XAT and Rewrite Rules and order.
- Parameters:
tree
- The XML Algebra Tree (XAT) going to be rewrited.p1
- The rewrite rule categories.order
- The order of operator being considered in the rewrite rule categories.- Since:
- 1.0
- See Also:
XATTree
,
ReWriteRules
doCancelOut
public XATTree doCancelOut()
- CancelOut redundent operators.
- Returns:
- edu.wpi.cs.dsrg.xmldb.xat.common.treestructure.XATTree
- Since:
- 1.0
- See Also:
XATTree