- java.lang.Object
-
- org.kordamp.jarviz.reporting.Formatter
-
- Direct Known Subclasses:
JsonFormatter,TxtFormatter,XmlFormatter,YamlFormatter
public abstract class Formatter extends java.lang.Object- Since:
- 0.2.0
-
-
Constructor Summary
Constructors Constructor Description Formatter()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract voidappend(Report report, Node node)protected java.lang.StringformatValue(java.lang.String value)protected java.lang.StringformatValue(Node node)protected intindentAdjustment()protected intindentationFor(Node node)protected intindentationFor(Node node, int offset)java.lang.Stringwrite(Node node)
-
-
-
Field Detail
-
INDENT
protected static final java.lang.String INDENT
- See Also:
- Constant Field Values
-
SPACE
protected static final java.lang.String SPACE
- See Also:
- Constant Field Values
-
EMPTY
protected static final java.lang.String EMPTY
- See Also:
- Constant Field Values
-
-
Method Detail
-
write
public java.lang.String write(Node node)
-
indentAdjustment
protected int indentAdjustment()
-
indentationFor
protected int indentationFor(Node node)
-
indentationFor
protected int indentationFor(Node node, int offset)
-
formatValue
protected java.lang.String formatValue(Node node)
-
formatValue
protected java.lang.String formatValue(java.lang.String value)
-
-