Class

org.apache.daffodil.sapi.infoset

InfosetInputter

Related Doc: package infoset

Permalink

abstract class InfosetInputter extends infoset.InfosetInputter

Abstract class used to determine how the infoset representation should be input from a call to DataProcessor#unparse(input*. This uses a Cursor API, such that each call to advance/inspect must update a cursor value, minimizing allocations. Callers of advance/inspect are expected to copy out any information from advanceAccessor and inspectAccessor if they need to retain the information after a call to advance/inspect.

Linear Supertypes
infoset.InfosetInputter, CursorImplMixin[InfosetAccessor], InfosetInputterCursor, Cursor[InfosetAccessor], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. InfosetInputter
  2. InfosetInputter
  3. CursorImplMixin
  4. InfosetInputterCursor
  5. Cursor
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new InfosetInputter()

    Permalink

Abstract Value Members

  1. abstract def fini: Unit

    Permalink
    Definition Classes
    Cursor
  2. abstract def getEventType(): InfosetInputterEventType

    Permalink

    Return the current infoset inputter event type

    Return the current infoset inputter event type

    Definition Classes
    InfosetInputter → InfosetInputter
  3. abstract def getLocalName(): String

    Permalink

    Get the local name of the current event.

    Get the local name of the current event. This will only be called when the current event type is StartElement.

    Definition Classes
    InfosetInputter → InfosetInputter
  4. abstract def getNamespaceURI(): String

    Permalink

    Get the namespace of the current event.

    Get the namespace of the current event. This will only be called when the current event type is StartElement. If the InfosetInputter does not support namespaces, this shoud return null. This may return null to represent no namespaces.

    Definition Classes
    InfosetInputter → InfosetInputter
  5. abstract def getSimpleText(primType: Kind): String

    Permalink

    Get the content of a simple type.

    Get the content of a simple type. This will only be called when the current event type is StartElement and the element is a simple type. If the event contains complex data, it is an error and should throw NonTextFoundInSimpleContentException. If the element does not have any simple content, this should return either null or the empty string.

    Definition Classes
    InfosetInputter → InfosetInputter
  6. abstract def hasNext(): Boolean

    Permalink

    Return true if there are remaining events.

    Return true if there are remaining events. False otherwise.

    Definition Classes
    InfosetInputter → InfosetInputter
  7. abstract def isNilled(): MaybeBoolean

    Permalink

    Determine if the current event is nilled.

    Determine if the current event is nilled. This will only be called when the current event type is StartElement. Return MaybeBoolean.Nope if no nil property is set, which implies the element is not nilled. Return MaybeBoolean(false) if the nil property is set, but it is set to false. Return MaybeBoolean(true) if the nil property is set to true.

    Definition Classes
    InfosetInputter → InfosetInputter
  8. abstract def next(): Unit

    Permalink

    Move the internal state to the next event.

    Move the internal state to the next event.

    Definition Classes
    InfosetInputter → InfosetInputter
  9. abstract val supportsNamespaces: Boolean

    Permalink
    Definition Classes
    InfosetInputter

Concrete 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 var accessor: InfosetAccessor

    Permalink
    Attributes
    protected
    Definition Classes
    CursorImplMixin
  5. final def advance: Boolean

    Permalink
    Definition Classes
    CursorImplMixin
  6. lazy val advanceAccessor: InfosetAccessor

    Permalink
    Definition Classes
    InfosetInputterCursor → Cursor
  7. final def advanceMaybe: Maybe[InfosetAccessor]

    Permalink
    Definition Classes
    Cursor
  8. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  12. final def fill(): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    InfosetInputter → CursorImplMixin
  13. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  16. def initialize(rootElementInfo: ElementRuntimeData, tunableArg: DaffodilTunables): Unit

    Permalink
    Definition Classes
    InfosetInputter → InfosetInputterCursor
  17. final def inspect: Boolean

    Permalink
    Definition Classes
    CursorImplMixin
  18. lazy val inspectAccessor: InfosetAccessor

    Permalink
    Definition Classes
    InfosetInputterCursor → Cursor
  19. final def inspectMaybe: Maybe[InfosetAccessor]

    Permalink
    Definition Classes
    Cursor
  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  24. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    InfosetInputter → AnyRef → Any
  26. var tunable: DaffodilTunables

    Permalink
    Definition Classes
    InfosetInputter
  27. final def wait(): Unit

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

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

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

Inherited from infoset.InfosetInputter

Inherited from CursorImplMixin[InfosetAccessor]

Inherited from InfosetInputterCursor

Inherited from Cursor[InfosetAccessor]

Inherited from AnyRef

Inherited from Any

Ungrouped