java.lang.Object
tools.jackson.core.util.DefaultPrettyPrinter.NopIndenter
- All Implemented Interfaces:
Serializable,DefaultPrettyPrinter.Indenter
- 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:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioninstance()booleanisInline()voidwriteIndentation(JsonGenerator g, int level)
-
Constructor Details
-
NopIndenter
public NopIndenter()
-
-
Method Details
-
instance
-
writeIndentation
- Specified by:
writeIndentationin interfaceDefaultPrettyPrinter.Indenter
-
isInline
public boolean isInline()- Specified by:
isInlinein interfaceDefaultPrettyPrinter.Indenter- Returns:
- True if indenter is considered inline (does not add linefeeds), false otherwise
-