com.fasterxml.jackson.core.util
Class DefaultPrettyPrinter.FixedSpaceIndenter

java.lang.Object  extended by com.fasterxml.jackson.core.util.DefaultPrettyPrinter.FixedSpaceIndenter
All Implemented Interfaces:
DefaultPrettyPrinter.Indenter
Enclosing class:
DefaultPrettyPrinter

public static class DefaultPrettyPrinter.FixedSpaceIndenter
extends Object
implements DefaultPrettyPrinter.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
DefaultPrettyPrinter.FixedSpaceIndenter()
           
 
Method Summary
 booleanisInline()
           
 voidwriteIndentation(JsonGenerator jg, int level)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultPrettyPrinter.FixedSpaceIndenter

public DefaultPrettyPrinter.FixedSpaceIndenter()
Method Detail

writeIndentation

public void writeIndentation(JsonGenerator jg,                             int level)                      throws IOException,                             JsonGenerationException
Specified by:
writeIndentation in interface DefaultPrettyPrinter.Indenter
Throws:
IOException
JsonGenerationException

isInline

public boolean isInline()
Specified by:
isInline in interface DefaultPrettyPrinter.Indenter
Returns:
True if indenter is considered inline (does not add linefeeds), false otherwise


Copyright © 2012
fasterxml.com. All Rights Reserved.


NOTHING
NOTHING
Add the Maven Dependecy to your project: maven dependecy for com.amazonaws : aws-java-sdk : 1.3.14