org.codehaus.jackson.impl
Class DefaultPrettyPrinter.NopIndenter

java.lang.Object
  extended by org.codehaus.jackson.impl.DefaultPrettyPrinter.NopIndenter
All Implemented Interfaces:
Indenter
Enclosing class:
DefaultPrettyPrinter

public static class DefaultPrettyPrinter.NopIndenter
extends Object
implements Indenter

Dummy implementation that adds no indentation whatsoever


Constructor Summary
DefaultPrettyPrinter.NopIndenter()
           
 
Method Summary
 boolean isInline()
           
 void writeIndentation(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.NopIndenter

public DefaultPrettyPrinter.NopIndenter()
Method Detail

writeIndentation

public void writeIndentation(JsonGenerator jg,
                             int level)
Specified by:
writeIndentation in interface Indenter

isInline

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