Package org.codehaus.jackson.util
Class DefaultPrettyPrinter.FixedSpaceIndenter
- java.lang.Object
-
- org.codehaus.jackson.util.DefaultPrettyPrinter.FixedSpaceIndenter
-
- All Implemented Interfaces:
Indenter
- Enclosing class:
- DefaultPrettyPrinter
public static class DefaultPrettyPrinter.FixedSpaceIndenter extends java.lang.Object implements Indenter
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 Constructor Description FixedSpaceIndenter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isInline()
void
writeIndentation(JsonGenerator jg, int level)
-
-
-
Method Detail
-
writeIndentation
public void writeIndentation(JsonGenerator jg, int level) throws java.io.IOException, JsonGenerationException
- Specified by:
writeIndentation
in interfaceIndenter
- Throws:
java.io.IOException
JsonGenerationException
-
-