Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.common.align.model.transformation.tree.visitor
Class ResetVisitor

java.lang.Object
  extended by eu.esdihumboldt.hale.common.align.model.transformation.tree.visitor.AbstractTransformationNodeVisitor
      extended by eu.esdihumboldt.hale.common.align.model.transformation.tree.visitor.AbstractTargetToSourceVisitor
          extended by eu.esdihumboldt.hale.common.align.model.transformation.tree.visitor.ResetVisitor
All Implemented Interfaces:
TransformationNodeVisitor

public class ResetVisitor
extends AbstractTargetToSourceVisitor

Resets a nodes in a transformation tree.

Author:
Simon Templer

Constructor Summary
ResetVisitor()
           
 
Method Summary
 boolean includeAnnotatedNodes()
          Specifies if annotated nodes should be included in the traversal.
 boolean visit(CellNode cell)
          Visit a cell node.
 boolean visit(SourceNode source)
          Visit a source node.
 boolean visit(TargetNode target)
          Visit a target node.
 boolean visit(TransformationTree root)
          Visit a transformation tree root.
 
Methods inherited from class eu.esdihumboldt.hale.common.align.model.transformation.tree.visitor.AbstractTargetToSourceVisitor
isFromTargetToSource
 
Methods inherited from class eu.esdihumboldt.hale.common.align.model.transformation.tree.visitor.AbstractTransformationNodeVisitor
leave, leave, leave, leave
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResetVisitor

public ResetVisitor()
Method Detail

visit

public boolean visit(TransformationTree root)
Description copied from interface: TransformationNodeVisitor
Visit a transformation tree root.

Specified by:
visit in interface TransformationNodeVisitor
Overrides:
visit in class AbstractTransformationNodeVisitor
Parameters:
root - the transformation tree root
Returns:
if the visitor is to be applied to any further nodes down the path
See Also:
TransformationNodeVisitor.visit(TransformationTree)

visit

public boolean visit(TargetNode target)
Description copied from interface: TransformationNodeVisitor
Visit a target node.

Specified by:
visit in interface TransformationNodeVisitor
Overrides:
visit in class AbstractTransformationNodeVisitor
Parameters:
target - the target node
Returns:
if the visitor is to be applied to any further nodes down the path
See Also:
TransformationNodeVisitor.visit(TargetNode)

visit

public boolean visit(CellNode cell)
Description copied from interface: TransformationNodeVisitor
Visit a cell node.

Specified by:
visit in interface TransformationNodeVisitor
Overrides:
visit in class AbstractTransformationNodeVisitor
Parameters:
cell - the cell node
Returns:
if the visitor is to be applied to any further nodes down the path
See Also:
TransformationNodeVisitor.visit(CellNode)

visit

public boolean visit(SourceNode source)
Description copied from interface: TransformationNodeVisitor
Visit a source node.

Specified by:
visit in interface TransformationNodeVisitor
Overrides:
visit in class AbstractTransformationNodeVisitor
Parameters:
source - the source node
Returns:
if the visitor is to be applied to any further nodes down the path
See Also:
TransformationNodeVisitor.visit(SourceNode)

includeAnnotatedNodes

public boolean includeAnnotatedNodes()
Description copied from interface: TransformationNodeVisitor
Specifies if annotated nodes should be included in the traversal.

Returns:
if nodes that are only present as annotations should be visited
See Also:
TransformationNodeVisitor.includeAnnotatedNodes()

Humboldt Alignment Editor 2.5.0

Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d