abstract class InfosetInputter extends runtime1.infoset.InfosetInputter
Abstract class used to determine how the infoset representation should be input from a call to DataProcessor.unparse. 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.
- Alphabetic
- By Inheritance
- InfosetInputter
- InfosetInputter
- NextElementResolver
- CursorImplMixin
- Cursor
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-  new InfosetInputter()
Type Members
Abstract Value Members
- 
      
      
      
        
      
    
      
        abstract 
        def
      
      
        fini(): Unit
      
      
      - Definition Classes
- Cursor
 
- 
      
      
      
        
      
    
      
        abstract 
        def
      
      
        getEventType(): InfosetInputterEventType
      
      
      Return the current infoset inputter event type Return the current infoset inputter event type - Definition Classes
- InfosetInputter → InfosetInputter
 
- 
      
      
      
        
      
    
      
        abstract 
        def
      
      
        getLocalName(): String
      
      
      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
 
- 
      
      
      
        
      
    
      
        abstract 
        def
      
      
        getNamespaceURI(): String
      
      
      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
 
- 
      
      
      
        
      
    
      
        abstract 
        def
      
      
        getSimpleText(primType: Kind): String
      
      
      See getSimpleText(primType, runtimeProperties), which has a default implementation to call this function without the runtimeProperties Map 
- 
      
      
      
        
      
    
      
        abstract 
        def
      
      
        hasNext(): Boolean
      
      
      Return true if there are remaining events. Return true if there are remaining events. False otherwise. - Definition Classes
- InfosetInputter → InfosetInputter
 
- 
      
      
      
        
      
    
      
        abstract 
        def
      
      
        isNilled(): MaybeBoolean
      
      
      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
 
- 
      
      
      
        
      
    
      
        abstract 
        def
      
      
        next(): Unit
      
      
      Move the internal state to the next event. Move the internal state to the next event. - Definition Classes
- InfosetInputter → InfosetInputter
 
- 
      
      
      
        
      
    
      
        abstract 
        val
      
      
        supportsNamespaces: Boolean
      
      
      - Definition Classes
- InfosetInputter
 
Concrete Value Members
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        !=(arg0: Any): Boolean
      
      
      - Definition Classes
- AnyRef → Any
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        ##(): Int
      
      
      - Definition Classes
- AnyRef → Any
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        ==(arg0: Any): Boolean
      
      
      - Definition Classes
- AnyRef → Any
 
- 
      
      
      
        
      
    
      
        final 
        val
      
      
        accessor: InfosetAccessor
      
      
      - Attributes
- protected
- Definition Classes
- CursorImplMixin
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        advance: Boolean
      
      
      - Definition Classes
- CursorImplMixin → Cursor
 
- 
      
      
      
        
      
    
      
        final 
        lazy val
      
      
        advanceAccessor: InfosetAccessor
      
      
      - Definition Classes
- InfosetInputter → Cursor
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        advanceMaybe: Maybe[InfosetAccessor]
      
      
      - Definition Classes
- Cursor
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        asInstanceOf[T0]: T0
      
      
      - Definition Classes
- Any
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        clone(): AnyRef
      
      
      - Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        documentElement: DIDocument
      
      
      - Definition Classes
- InfosetInputter
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        eq(arg0: AnyRef): Boolean
      
      
      - Definition Classes
- AnyRef
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        equals(arg0: Any): Boolean
      
      
      - Definition Classes
- AnyRef → Any
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        fill(advanceInput: Boolean): Boolean
      
      
      - Attributes
- protected
- Definition Classes
- InfosetInputter → CursorImplMixin
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        finalize(): Unit
      
      
      - Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        getClass(): Class[_]
      
      
      - Definition Classes
- AnyRef → Any
- Annotations
- @native()
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        getSimpleText(primType: Kind, runtimeProperties: Map[String, String]): String
      
      
      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
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        hashCode(): Int
      
      
      - Definition Classes
- AnyRef → Any
- Annotations
- @native()
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        initialize(rootElementInfo: ElementRuntimeData, tunableArg: DaffodilTunables): Unit
      
      
      - Definition Classes
- InfosetInputter
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        inspect: Boolean
      
      
      - Definition Classes
- CursorImplMixin → Cursor
 
- 
      
      
      
        
      
    
      
        final 
        lazy val
      
      
        inspectAccessor: InfosetAccessor
      
      
      - Definition Classes
- InfosetInputter → Cursor
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        inspectMaybe: Maybe[InfosetAccessor]
      
      
      - Definition Classes
- Cursor
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        isInitialized: Boolean
      
      
      - Definition Classes
- InfosetInputter
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        isInstanceOf[T0]: Boolean
      
      
      - Definition Classes
- Any
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        maybeTopTRD(): Maybe[TermRuntimeData]
      
      
      - Definition Classes
- NextElementResolver
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        ne(arg0: AnyRef): Boolean
      
      
      - Definition Classes
- AnyRef
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        nextElement(name: String, nameSpace: String, hasNamespace: Boolean): ElementRuntimeData
      
      
      - Definition Classes
- NextElementResolver
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        notify(): Unit
      
      
      - Definition Classes
- AnyRef
- Annotations
- @native()
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        notifyAll(): Unit
      
      
      - Definition Classes
- AnyRef
- Annotations
- @native()
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        popTRD(): TermRuntimeData
      
      
      - Definition Classes
- NextElementResolver
 
- 
      
      
      
        
      
    
      
        
        val
      
      
        priorOpKind: OpKind
      
      
      - Attributes
- protected
- Definition Classes
- CursorImplMixin
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        pushTRD(trd: TermRuntimeData): Unit
      
      
      - Definition Classes
- NextElementResolver
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        synchronized[T0](arg0: ⇒ T0): T0
      
      
      - Definition Classes
- AnyRef
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        toString(): String
      
      
      - Definition Classes
- InfosetInputter → AnyRef → Any
 
- 
      
      
      
        
      
    
      
        
        var
      
      
        tunable: DaffodilTunables
      
      
      - Definition Classes
- InfosetInputter
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        wait(): Unit
      
      
      - Definition Classes
- AnyRef
- Annotations
- @throws( ... )
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        wait(arg0: Long, arg1: Int): Unit
      
      
      - Definition Classes
- AnyRef
- Annotations
- @throws( ... )
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        wait(arg0: Long): Unit
      
      
      - Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
 
This is the documentation for the Apache Daffodil Scala API.
Package structure
org.apache.daffodil.sapi - Provides the classes necessary to compile DFDL schemas, parse and unparse files using the compiled objects, and retrieve results and parsing diagnostics
org.apache.daffodil.udf - Provides the classes necessary to create User Defined Functions to extend the DFDL expression language
org.apache.daffodil.runtime1.layers.api - Provides the classes necessary to create custom Layer extensions to DFDL.