Class DefaultXmlPrettyPrinter.NopIndenter
- java.lang.Object
-
- com.fasterxml.jackson.dataformat.xml.util.DefaultXmlPrettyPrinter.NopIndenter
-
- All Implemented Interfaces:
DefaultXmlPrettyPrinter.Indenter
,java.io.Serializable
- Enclosing class:
- DefaultXmlPrettyPrinter
protected static class DefaultXmlPrettyPrinter.NopIndenter extends java.lang.Object implements DefaultXmlPrettyPrinter.Indenter, java.io.Serializable
Dummy implementation that adds no indentation whatsoever- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NopIndenter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isInline()
void
writeIndentation(com.fasterxml.jackson.core.JsonGenerator jg, int level)
void
writeIndentation(org.codehaus.stax2.XMLStreamWriter2 sw, int level)
-
-
-
Method Detail
-
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
-
-