public class IndentedVisitor extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static String |
DEFAULT_INDENTATION_STRING
String used for indentation.
|
protected String |
indentationChar |
protected String |
indentationLevel |
protected org.slf4j.Logger |
logger |
protected PrintStream |
os |
protected SimpleDateFormat |
sdf
Date to string conversion format.
|
| Constructor and Description |
|---|
IndentedVisitor() |
IndentedVisitor(String indentationLevel,
String indentationChar,
PrintStream os) |
protected static final String DEFAULT_INDENTATION_STRING
protected SimpleDateFormat sdf
protected String indentationLevel
protected String indentationChar
protected PrintStream os
protected org.slf4j.Logger logger
public IndentedVisitor()
logger - the visitor logger.public IndentedVisitor(String indentationLevel, String indentationChar, PrintStream os)
indentationLevel - the indentation level.indentationChar - the indentation char.os - the output stream.logger - the visitor logger.public void reset()
protected void println()
protected void println(String s)
protected void indent()
protected void outdent()
Copyright © 2020. All Rights Reserved.