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
    Modifier and Type
    Field
    Description
    protected static final long
     

    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

    Constructors
    Constructor
    Description
    SpincastXmlPrettyPrinter(com.google.inject.Provider<SpincastXmlPrettyPrinter> spincastXmlPrettyPrinterProvider, com.fasterxml.jackson.dataformat.xml.util.DefaultXmlPrettyPrinter.Indenter spincastXmlIndenter, SpincastXmlManagerConfig spincastXmlManagerConfig)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    protected com.fasterxml.jackson.dataformat.xml.util.DefaultXmlPrettyPrinter.Indenter
     
     
    protected com.google.inject.Provider<SpincastXmlPrettyPrinter>
     
    protected void
     
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • 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

      protected SpincastXmlManagerConfig getSpincastXmlManagerConfig()
    • getSpincastXmlPrettyPrinterProvider

      protected com.google.inject.Provider<SpincastXmlPrettyPrinter> getSpincastXmlPrettyPrinterProvider()
    • getSpincastXmlIndenter

      protected com.fasterxml.jackson.dataformat.xml.util.DefaultXmlPrettyPrinter.Indenter getSpincastXmlIndenter()
    • createInstance

      public SpincastXmlPrettyPrinter createInstance()
      Specified by:
      createInstance in interface com.fasterxml.jackson.core.util.Instantiatable<com.fasterxml.jackson.dataformat.xml.util.DefaultXmlPrettyPrinter>
      Overrides:
      createInstance in class com.fasterxml.jackson.dataformat.xml.util.DefaultXmlPrettyPrinter
    • writePrologLinefeed

      public void writePrologLinefeed(org.codehaus.stax2.XMLStreamWriter2 sw) throws XMLStreamException
      Specified by:
      writePrologLinefeed in interface com.fasterxml.jackson.dataformat.xml.XmlPrettyPrinter
      Overrides:
      writePrologLinefeed in class com.fasterxml.jackson.dataformat.xml.util.DefaultXmlPrettyPrinter
      Throws:
      XMLStreamException