Package com.fasterxml.jackson.core.util
Class DefaultPrettyPrinter.NopIndenter
java.lang.Object
com.fasterxml.jackson.core.util.DefaultPrettyPrinter.NopIndenter
- All Implemented Interfaces:
DefaultPrettyPrinter.Indenter,Serializable
- Direct Known Subclasses:
DefaultIndenter,DefaultPrettyPrinter.FixedSpaceIndenter
- Enclosing class:
DefaultPrettyPrinter
public static class DefaultPrettyPrinter.NopIndenter
extends Object
implements DefaultPrettyPrinter.Indenter, Serializable
Dummy implementation that adds no indentation whatsoever
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisInline()voidwriteIndentation(JsonGenerator g, int level)
-
Field Details
-
instance
-
-
Constructor Details
-
NopIndenter
public NopIndenter()
-
-
Method Details
-
writeIndentation
- Specified by:
writeIndentationin interfaceDefaultPrettyPrinter.Indenter- Throws:
IOException
-
isInline
public boolean isInline()- Specified by:
isInlinein interfaceDefaultPrettyPrinter.Indenter- Returns:
- True if indenter is considered inline (does not add linefeeds), false otherwise
-