Package org.codehaus.jackson.util
Class DefaultPrettyPrinter.FixedSpaceIndenter
java.lang.Object
org.codehaus.jackson.util.DefaultPrettyPrinter.FixedSpaceIndenter
- All Implemented Interfaces:
Indenter
- Enclosing class:
- DefaultPrettyPrinter
This is a very simple indenter that only every adds a
single space for indentation. It is used as the default
indenter for array values.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
isInline()
void
writeIndentation
(JsonGenerator jg, int level)
-
Constructor Details
-
FixedSpaceIndenter
public FixedSpaceIndenter()
-
-
Method Details
-
writeIndentation
public void writeIndentation(JsonGenerator jg, int level) throws IOException, JsonGenerationException - Specified by:
writeIndentation
in interfaceIndenter
- Throws:
IOException
JsonGenerationException
-
isInline
public boolean isInline()
-