Class DefaultXmlPrettyPrinter.NopIndenter
java.lang.Object
com.fasterxml.jackson.dataformat.xml.util.DefaultXmlPrettyPrinter.NopIndenter
- All Implemented Interfaces:
DefaultXmlPrettyPrinter.Indenter
,Serializable
- Enclosing class:
DefaultXmlPrettyPrinter
protected static class DefaultXmlPrettyPrinter.NopIndenter
extends Object
implements DefaultXmlPrettyPrinter.Indenter, Serializable
Dummy implementation that adds no indentation whatsoever
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
isInline()
void
writeIndentation
(com.fasterxml.jackson.core.JsonGenerator jg, int level) void
writeIndentation
(org.codehaus.stax2.XMLStreamWriter2 sw, int level)
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
NopIndenter
public NopIndenter()
-
-
Method Details
-
writeIndentation
public void writeIndentation(com.fasterxml.jackson.core.JsonGenerator jg, int level) - Specified by:
writeIndentation
in interfaceDefaultXmlPrettyPrinter.Indenter
-
isInline
public boolean isInline()- Specified by:
isInline
in interfaceDefaultXmlPrettyPrinter.Indenter
- Returns:
- True if indenter is considered inline (does not add linefeeds), false otherwise
-
writeIndentation
public void writeIndentation(org.codehaus.stax2.XMLStreamWriter2 sw, int level) - Specified by:
writeIndentation
in interfaceDefaultXmlPrettyPrinter.Indenter
-