Class

org.apache.daffodil.sapi.infoset

JsonInfosetOutputter

Related Doc: package infoset

Permalink

class JsonInfosetOutputter extends InfosetOutputterProxy

Output the infoset as json text, written to a java.io.Writer

Linear Supertypes
InfosetOutputterProxy, InfosetOutputter, infoset.InfosetOutputter, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JsonInfosetOutputter
  2. InfosetOutputterProxy
  3. InfosetOutputter
  4. InfosetOutputter
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

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

    Permalink

    writer

    the java.io.Writer to write the json text to

    pretty

    enable or disable pretty printing. Pretty printing will only inserts indentation and newlines where it will not affect the content of the json.

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 asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def endArray(diArray: 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.

    diArray

    the array that is ended. Various fields of DIArray can be accessed to determine things like the name, namespace, etc.

    returns

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

    Definition Classes
    InfosetOutputterProxyInfosetOutputter → InfosetOutputter
  7. def endComplex(diComplex: 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.

    diComplex

    the complex element that is ended. Various fields of DIComplex can be accessed to determine things like the nil, name, namespace, etc.

    returns

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

    Definition Classes
    InfosetOutputterProxyInfosetOutputter → InfosetOutputter
  8. 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
    InfosetOutputterProxyInfosetOutputter → InfosetOutputter
  9. def endSimple(diSimple: 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.

    diSimple

    the simple element that is ended. Various fields of DISimple can be accessed to determine things like the value, nil, name, namespace, etc.

    returns

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

    Definition Classes
    InfosetOutputterProxyInfosetOutputter → InfosetOutputter
  10. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def getStatus(): Status

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

    Permalink
    Definition Classes
    AnyRef → Any
  16. val infosetOutputter: infoset.JsonInfosetOutputter

    Permalink
  17. final def isInstanceOf[T0]: Boolean

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  22. 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
    InfosetOutputterProxyInfosetOutputter → InfosetOutputter
  23. def startArray(diArray: 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.

    diArray

    the array that is started. Various fields of DIArray can be accessed to determine things like the name, namespace, etc.

    returns

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

    Definition Classes
    InfosetOutputterProxyInfosetOutputter → InfosetOutputter
  24. def startComplex(diComplex: 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.

    diComplex

    the complex element that is started. Various fields of DIComplex can be accessed to determine things like the nil, name, namespace, etc.

    returns

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

    Definition Classes
    InfosetOutputterProxyInfosetOutputter → InfosetOutputter
  25. 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
    InfosetOutputterProxyInfosetOutputter → InfosetOutputter
  26. def startSimple(diSimple: 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.

    diSimple

    the simple element that is started. Various fields of DISimple can be accessed to determine things like the value, nil, name, namespace, etc.

    returns

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

    Definition Classes
    InfosetOutputterProxyInfosetOutputter → InfosetOutputter
  27. def status: Status

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

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

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

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

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

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

Inherited from InfosetOutputterProxy

Inherited from InfosetOutputter

Inherited from infoset.InfosetOutputter

Inherited from AnyRef

Inherited from Any

Ungrouped