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, visitQueries, visitQuery, visitUpdateprotected void indent()
protected void print(String s)
public void visitElement(Element e) throws Exception
visitElement in interface VisitorvisitElement in class AbstractVisitorExceptionpublic void visitTemplate(AbstractTemplate t) throws Exception
visitTemplate in interface VisitorvisitTemplate in class AbstractVisitorExceptionpublic void visitLocation(Location l) throws Exception
visitLocation in interface VisitorvisitLocation in class AbstractVisitorExceptionpublic void visitBranchPoint(BranchPoint b) throws Exception
visitBranchPoint in interface VisitorvisitBranchPoint in class AbstractVisitorExceptionpublic void visitEdge(Edge e) throws Exception
visitEdge in interface VisitorvisitEdge in class AbstractVisitorExceptionCopyright © 2014 Uppsala University and Aalborg University. All Rights Reserved.