class Diagnostic extends AnyRef
Class containing diagnostic information
- Alphabetic
- By Inheritance
- Diagnostic
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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(classOf[java.lang.CloneNotSupportedException]) @native()
 
-   final  def eq(arg0: AnyRef): Boolean- Definition Classes
- AnyRef
 
-    def equals(arg0: AnyRef): Boolean- Definition Classes
- AnyRef → Any
 
-    def finalize(): Unit- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
 
-   final  def getClass(): Class[_ <: AnyRef]- Definition Classes
- AnyRef → Any
- Annotations
- @native()
 
-    def getDataLocations: Seq[DataLocation]Get data location information relevant to this diagnostic object. Get data location information relevant to this diagnostic object. For example, this might be a file name, and position within the file. - returns
- list of DataLocation's related to this diagnostic 
 
-    def getLocationsInSchemaFiles: Seq[LocationInSchemaFile]Get schema location information relevant to this diagnostic object. Get schema location information relevant to this diagnostic object. For example, this might be a file name of a schema, and position within the schema file. - returns
- list of LocationInSchemaFile's related to this diagnostic. 
 
-    def getMessage(): StringGet all diagnostic information, including mode name, schema context, and data location Get all diagnostic information, including mode name, schema context, and data location Future versions of Daffodil will change getMessage to return only the message portion of a diagnostic, matching the behavior of getMessageOnly--users should call toString() instead. - returns
- diagnostic message in string form 
 
-    def getMessageOnly(): StringGet only the message part of a diagnostic. Get only the message part of a diagnostic. This does not include mode name, schema context, or data location information - returns
- diagnostic message in string form 
 
-    def getModeName(): StringGet the diagnostic mode name Get the diagnostic mode name - returns
- diagnostic mode name in string form 
 
-    def getSomeCause: ThrowableGet the cause of that cause this diagnostic Get the cause of that cause this diagnostic - returns
- the exception that caused the diagnostic 
 
-    def getSomeMessage: StringGet the message that caused this diagnostic Get the message that caused this diagnostic - returns
- the message that caused the diagnostic 
 
-    def hashCode(): Int- Definition Classes
- AnyRef → Any
- Annotations
- @native()
 
-    def isError: BooleanDetermine if a diagnostic object represents an error or something less serious. Determine if a diagnostic object represents an error or something less serious. - returns
- true if it represents an error, false otherwise 
 
-   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 synchronized[T0](arg0: => T0): T0- Definition Classes
- AnyRef
 
-    def toString(): StringGet a string containing the mode name, message, schema location, and data location combined into a single string Get a string containing the mode name, message, schema location, and data location combined into a single string - returns
- all diagnostic information as a string 
 - Definition Classes
- Diagnostic → AnyRef → Any
 
-   final  def wait(): Unit- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
 
-   final  def wait(arg0: Long, arg1: Int): Unit- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
 
-   final  def wait(arg0: Long): Unit- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @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.