Interface DefaultXmlPrettyPrinter.Indenter
-
- Enclosing class:
- DefaultXmlPrettyPrinter
public static interface DefaultXmlPrettyPrinter.Indenter
Interface that defines objects that can produce indentation used to separate object entries and array values. Indentation in this context just means insertion of white space, independent of whether linefeeds are output.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isInline()
void
writeIndentation(JsonGenerator g, int level)
void
writeIndentation(org.codehaus.stax2.XMLStreamWriter2 sw, int level)
-
-
-
Method Detail
-
writeIndentation
void writeIndentation(JsonGenerator g, int level) throws java.io.IOException
- Throws:
java.io.IOException
-
writeIndentation
void writeIndentation(org.codehaus.stax2.XMLStreamWriter2 sw, int level) throws javax.xml.stream.XMLStreamException
- Throws:
javax.xml.stream.XMLStreamException
-
isInline
boolean isInline()
- Returns:
- True if indenter is considered inline (does not add linefeeds), false otherwise
-
-