Class

org.apache.daffodil.infoset

XMLTextInfosetOutputter

Related Doc: package infoset

Permalink

class XMLTextInfosetOutputter extends InfosetOutputter with Indentable with XMLInfosetOutputter

Writes the infoset to a java.io.Writer as XML text.

Linear Supertypes
XMLInfosetOutputter, Indentable, InfosetOutputter, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. XMLTextInfosetOutputter
  2. XMLInfosetOutputter
  3. Indentable
  4. InfosetOutputter
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new XMLTextInfosetOutputter(writer: Writer, pretty: Boolean = true)

    Permalink

    writer

    The writer to write the XML text to

    pretty

    Whether or to enable pretty printing. Set to true, XML elements are indented and newlines are inserted.

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def addFmtInfo(diTerm: DITerm, elem: Elem, showFormatInfo: Boolean): Elem

    Permalink
    Definition Classes
    XMLInfosetOutputter
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def decrementIndentation(): Unit

    Permalink
    Definition Classes
    Indentable
  8. def endArray(array: DIArray): Boolean

    Permalink

    Called by Daffodil internals to signify the end of an array of elements.

    Called by Daffodil internals to signify the end of an array of elements.

    returns

    true on sucess, false if there was an error and Daffodil should stop all future calls to the InfosetOutputter

    Definition Classes
    XMLTextInfosetOutputterInfosetOutputter
  9. def endComplex(complex: DIComplex): Boolean

    Permalink

    Called by Daffodil internals to signify the end of a complex element.

    Called by Daffodil internals to signify the end of a complex element.

    returns

    true on sucess, false if there was an error and Daffodil should stop all future calls to the InfosetOutputter

    Definition Classes
    XMLTextInfosetOutputterInfosetOutputter
  10. def endDocument(): Boolean

    Permalink

    Called by Daffodil internals to signify the end of the infoset.

    Called by Daffodil internals to signify the end of the infoset.

    returns

    true on sucess, false if there was an error and Daffodil should stop all future calls to the InfosetOutputter

    Definition Classes
    XMLTextInfosetOutputterInfosetOutputter
  11. def endSimple(simple: DISimple): Boolean

    Permalink

    Called by Daffodil internals to signify the end of a simple element.

    Called by Daffodil internals to signify the end of a simple element.

    returns

    true on sucess, false if there was an error and Daffodil should stop all future calls to the InfosetOutputter

    Definition Classes
    XMLTextInfosetOutputterInfosetOutputter
  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def fmtInfo(diTerm: DITerm): Maybe[String]

    Permalink

    String suitable for use in the text of a Processing Instruction.

    String suitable for use in the text of a Processing Instruction.

    The text is a pseudo-XML string.

    Attributes
    protected
    Definition Classes
    XMLInfosetOutputter
  16. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  17. final def getIndentationLevel(): Int

    Permalink
    Definition Classes
    Indentable
  18. def getStatus(): Status

    Permalink
    Definition Classes
    InfosetOutputter
  19. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  20. final def incrementIndentation(): Unit

    Permalink
    Definition Classes
    Indentable
  21. val indentChar: Char

    Permalink
    Definition Classes
    Indentable
  22. val indentSize: Int

    Permalink
    Definition Classes
    Indentable
  23. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  24. final def isNilled(diElement: DIElement): Boolean

    Permalink

    Helper function to determine if an element is nilled or not, taking into account whether or not the nilled state has been set yet.

    Helper function to determine if an element is nilled or not, taking into account whether or not the nilled state has been set yet.

    diElement

    the element to check the nilled state of

    returns

    true if the nilled state has been set and is true. false if the nilled state is false or if the nilled state has not been set yet (e.g. during debugging)

    Definition Classes
    InfosetOutputter
  25. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  26. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  27. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  28. final def outputIndentation(output: Writer): Unit

    Permalink
    Definition Classes
    Indentable
  29. def remapped(dataValueAsString: String): String

    Permalink
    Definition Classes
    XMLInfosetOutputter
  30. def reset(): Unit

    Permalink

    Reset the internal state of this InfosetOutputter.

    Reset the internal state of this InfosetOutputter. This should be called inbetween calls to the parse method.

    Definition Classes
    XMLTextInfosetOutputterInfosetOutputter
  31. final def resetIndentation(): Unit

    Permalink
    Definition Classes
    Indentable
  32. def startArray(array: DIArray): Boolean

    Permalink

    Called by Daffodil internals to signify the beginning of an array of elements.

    Called by Daffodil internals to signify the beginning of an array of elements.

    returns

    true on sucess, false if there was an error and Daffodil should stop all future calls to the InfosetOutputter

    Definition Classes
    XMLTextInfosetOutputterInfosetOutputter
  33. def startComplex(complex: DIComplex): Boolean

    Permalink

    Called by Daffodil internals to signify the beginning of a complex element.

    Called by Daffodil internals to signify the beginning of a complex element.

    returns

    true on sucess, false if there was an error and Daffodil should stop all future calls to the InfosetOutputter

    Definition Classes
    XMLTextInfosetOutputterInfosetOutputter
  34. def startDocument(): Boolean

    Permalink

    Called by Daffodil internals to signify the beginning of the infoset.

    Called by Daffodil internals to signify the beginning of the infoset.

    returns

    true on sucess, false if there was an error and Daffodil should stop all future calls to the InfosetOutputter

    Definition Classes
    XMLTextInfosetOutputterInfosetOutputter
  35. def startSimple(simple: DISimple): Boolean

    Permalink

    Called by Daffodil internals to signify the beginning of a simple element.

    Called by Daffodil internals to signify the beginning of a simple element.

    returns

    true on sucess, false if there was an error and Daffodil should stop all future calls to the InfosetOutputter

    Definition Classes
    XMLTextInfosetOutputterInfosetOutputter
  36. def status: Status

    Permalink
    Definition Classes
    InfosetOutputter
  37. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  38. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  39. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from XMLInfosetOutputter

Inherited from Indentable

Inherited from InfosetOutputter

Inherited from AnyRef

Inherited from Any

Ungrouped