public class PrintVisitor extends AbstractVisitor
Modifier and Type | Field and Description |
---|---|
protected int |
indentation |
Constructor and Description |
---|
PrintVisitor() |
Modifier and Type | Method and Description |
---|---|
protected void |
indent() |
protected void |
print(String s) |
void |
visitBranchPoint(BranchPoint b) |
void |
visitEdge(Edge e) |
void |
visitElement(Element e) |
void |
visitLocation(Location l) |
void |
visitNail(Nail n) |
void |
visitTemplate(AbstractTemplate t) |
visitCondition, visitCut, visitDocument, visitInstanceLine, visitMessage, visitNode, visitPrechart, visitProperty, visitUpdate
protected void indent()
protected void print(String s)
public void visitElement(Element e) throws Exception
visitElement
in interface Visitor
visitElement
in class AbstractVisitor
Exception
public void visitTemplate(AbstractTemplate t) throws Exception
visitTemplate
in interface Visitor
visitTemplate
in class AbstractVisitor
Exception
public void visitLocation(Location l) throws Exception
visitLocation
in interface Visitor
visitLocation
in class AbstractVisitor
Exception
public void visitBranchPoint(BranchPoint b) throws Exception
visitBranchPoint
in interface Visitor
visitBranchPoint
in class AbstractVisitor
Exception
public void visitEdge(Edge e) throws Exception
visitEdge
in interface Visitor
visitEdge
in class AbstractVisitor
Exception
Copyright © 2012 Uppsala University and Aalborg University. All Rights Reserved.