Package org.spincast.plugins.jacksonxml
Class SpincastXmlPrettyPrinter
java.lang.Object
com.fasterxml.jackson.dataformat.xml.util.DefaultXmlPrettyPrinter
org.spincast.plugins.jacksonxml.SpincastXmlPrettyPrinter
- All Implemented Interfaces:
com.fasterxml.jackson.core.PrettyPrinter
,com.fasterxml.jackson.core.util.Instantiatable<com.fasterxml.jackson.dataformat.xml.util.DefaultXmlPrettyPrinter>
,com.fasterxml.jackson.dataformat.xml.XmlPrettyPrinter
,Serializable
public class SpincastXmlPrettyPrinter
extends com.fasterxml.jackson.dataformat.xml.util.DefaultXmlPrettyPrinter
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.fasterxml.jackson.dataformat.xml.util.DefaultXmlPrettyPrinter
com.fasterxml.jackson.dataformat.xml.util.DefaultXmlPrettyPrinter.FixedSpaceIndenter, com.fasterxml.jackson.dataformat.xml.util.DefaultXmlPrettyPrinter.Indenter, com.fasterxml.jackson.dataformat.xml.util.DefaultXmlPrettyPrinter.Lf2SpacesIndenter, com.fasterxml.jackson.dataformat.xml.util.DefaultXmlPrettyPrinter.NopIndenter
-
Field Summary
Fields inherited from class com.fasterxml.jackson.dataformat.xml.util.DefaultXmlPrettyPrinter
_arrayIndenter, _justHadStartElement, _nesting, _objectIndenter, _spacesInObjectEntries
Fields inherited from interface com.fasterxml.jackson.core.PrettyPrinter
DEFAULT_ROOT_VALUE_SEPARATOR, DEFAULT_SEPARATORS
-
Constructor Summary
ConstructorDescriptionSpincastXmlPrettyPrinter
(com.google.inject.Provider<SpincastXmlPrettyPrinter> spincastXmlPrettyPrinterProvider, com.fasterxml.jackson.dataformat.xml.util.DefaultXmlPrettyPrinter.Indenter spincastXmlIndenter, SpincastXmlManagerConfig spincastXmlManagerConfig) -
Method Summary
Modifier and TypeMethodDescriptionprotected com.fasterxml.jackson.dataformat.xml.util.DefaultXmlPrettyPrinter.Indenter
protected SpincastXmlManagerConfig
protected com.google.inject.Provider<SpincastXmlPrettyPrinter>
protected void
init()
void
writePrologLinefeed
(org.codehaus.stax2.XMLStreamWriter2 sw) Methods inherited from class com.fasterxml.jackson.dataformat.xml.util.DefaultXmlPrettyPrinter
beforeArrayValues, beforeObjectEntries, indentArraysWith, indentObjectsWith, spacesInObjectEntries, writeArrayValueSeparator, writeEndArray, writeEndElement, writeEndObject, writeLeafElement, writeLeafElement, writeLeafElement, writeLeafElement, writeLeafElement, writeLeafElement, writeLeafElement, writeLeafElement, writeLeafElement, writeLeafElement, writeLeafNullElement, writeLeafXsiNilElement, writeObjectEntrySeparator, writeObjectFieldValueSeparator, writeRootValueSeparator, writeStartArray, writeStartElement, writeStartObject
-
Field Details
-
serialVersionUID
protected static final long serialVersionUID- See Also:
-
-
Constructor Details
-
SpincastXmlPrettyPrinter
@Inject public SpincastXmlPrettyPrinter(com.google.inject.Provider<SpincastXmlPrettyPrinter> spincastXmlPrettyPrinterProvider, com.fasterxml.jackson.dataformat.xml.util.DefaultXmlPrettyPrinter.Indenter spincastXmlIndenter, SpincastXmlManagerConfig spincastXmlManagerConfig)
-
-
Method Details
-
init
@Inject protected void init() -
getSpincastXmlManagerConfig
-
getSpincastXmlPrettyPrinterProvider
protected com.google.inject.Provider<SpincastXmlPrettyPrinter> getSpincastXmlPrettyPrinterProvider() -
getSpincastXmlIndenter
protected com.fasterxml.jackson.dataformat.xml.util.DefaultXmlPrettyPrinter.Indenter getSpincastXmlIndenter() -
createInstance
- Specified by:
createInstance
in interfacecom.fasterxml.jackson.core.util.Instantiatable<com.fasterxml.jackson.dataformat.xml.util.DefaultXmlPrettyPrinter>
- Overrides:
createInstance
in classcom.fasterxml.jackson.dataformat.xml.util.DefaultXmlPrettyPrinter
-
writePrologLinefeed
- Specified by:
writePrologLinefeed
in interfacecom.fasterxml.jackson.dataformat.xml.XmlPrettyPrinter
- Overrides:
writePrologLinefeed
in classcom.fasterxml.jackson.dataformat.xml.util.DefaultXmlPrettyPrinter
- Throws:
XMLStreamException
-