abstract class InfosetOutputter extends runtime1.infoset.InfosetOutputter
Abstract class used to determine how the infoset representation should be output from a call to DataProcessor.parse. The Daffodil core will call the various methods of this class in an order appropriate to create an infoset representation.
Classes that extend InfosetOutputter are not guaranteed to be thread-safe.
- Alphabetic
- By Inheritance
- InfosetOutputter
- InfosetOutputter
- BlobMethodsMixin
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new InfosetOutputter()
Abstract Value Members
-
abstract
def
endArray(array: InfosetArray): Unit
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.
Throws java.lang.Exception if there was an error and Daffodil should stop parsing
- array
the array that is ended. Various fields of DIArray can be accessed to determine things like the name, namespace, etc.
- Definition Classes
- InfosetOutputter → InfosetOutputter
- Annotations
- @throws( ... )
-
abstract
def
endComplex(complex: InfosetComplexElement): Unit
Called by Daffodil internals to signify the end of a complex element.
Called by Daffodil internals to signify the end of a complex element.
Throws java.lang.Exception if there was an error and Daffodil should stop parsing
- complex
the complex element that is ended. Various fields of DIComplex can be accessed to determine things like the nil, name, namespace, etc.
- Definition Classes
- InfosetOutputter → InfosetOutputter
- Annotations
- @throws( ... )
-
abstract
def
endDocument(): Unit
Called by Daffodil internals to signify the end of the infoset.
Called by Daffodil internals to signify the end of the infoset.
Throws java.lang.Exception if there was an error and Daffodil should stop parsing
- Definition Classes
- InfosetOutputter → InfosetOutputter
- Annotations
- @throws( ... )
-
abstract
def
endSimple(diSimple: InfosetSimpleElement): Unit
Called by Daffodil internals to signify the end of a simple element.
Called by Daffodil internals to signify the end of a simple element.
Throws java.lang.Exception if there was an error and Daffodil should stop parsing
- diSimple
the simple element that is ended. Various fields of DISimple can be accessed to determine things like the value, nil, name, namespace, etc.
- Definition Classes
- InfosetOutputter → InfosetOutputter
- Annotations
- @throws( ... )
-
abstract
def
reset(): Unit
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
- InfosetOutputter → InfosetOutputter
-
abstract
def
startArray(array: InfosetArray): Unit
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.
Throws java.lang.Exception if there was an error and Daffodil should stop parsing
- array
the array that is started. Various fields of DIArray can be accessed to determine things like the name, namespace, etc.
- Definition Classes
- InfosetOutputter → InfosetOutputter
- Annotations
- @throws( ... )
-
abstract
def
startComplex(complex: InfosetComplexElement): Unit
Called by Daffodil internals to signify the beginning of a complex element.
Called by Daffodil internals to signify the beginning of a complex element.
Throws java.lang.Exception if there was an error and Daffodil should stop parsing
- complex
the complex element that is started. Various fields of DIComplex can be accessed to determine things like the nil, name, namespace, etc.
- Definition Classes
- InfosetOutputter → InfosetOutputter
- Annotations
- @throws( ... )
-
abstract
def
startDocument(): Unit
Called by Daffodil internals to signify the beginning of the infoset.
Called by Daffodil internals to signify the beginning of the infoset.
Throws java.lang.Exception if there was an error and Daffodil should stop parsing
- Definition Classes
- InfosetOutputter → InfosetOutputter
- Annotations
- @throws( ... )
-
abstract
def
startSimple(diSimple: InfosetSimpleElement): Unit
Called by Daffodil internals to signify the beginning of a simple element.
Called by Daffodil internals to signify the beginning of a simple element.
Throws java.lang.Exception if there was an error and Daffodil should stop parsing
- diSimple
the simple element that is started. Various fields of DISimple can be accessed to determine things like the value, nil, name, namespace, etc.
- Definition Classes
- InfosetOutputter → InfosetOutputter
- Annotations
- @throws( ... )
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
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getBlobDirectory(): Path
- Definition Classes
- BlobMethodsMixin
-
final
def
getBlobPaths(): Seq[Path]
- Definition Classes
- BlobMethodsMixin
-
final
def
getBlobPrefix(): String
- Definition Classes
- BlobMethodsMixin
-
final
def
getBlobSuffix(): String
- Definition Classes
- BlobMethodsMixin
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
setBlobAttributes(dir: Path, prefix: String, suffix: String): Unit
- Definition Classes
- BlobMethodsMixin
-
final
def
setBlobPaths(paths: Seq[Path]): Unit
- Definition Classes
- BlobMethodsMixin
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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.