class ParseResult extends WithDiagnostics
Result of calling DataProcessor.parse, containing any diagnostic information, and the final data location
- Alphabetic
- By Inheritance
- ParseResult
- WithDiagnostics
- Serializable
- 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 getDiagnostics: Seq[Diagnostic]
Get the list of Diagnostic's created during the construction of the parent object
Get the list of Diagnostic's created during the construction of the parent object
- returns
list of Diagnostic's. May contain errors or warnings, and so may be non-empty even if WithDiagnostics.isError is false.
- Definition Classes
- WithDiagnostics
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def isError(): Boolean
Determine if any errors occurred in the creation of the parent object.
Determine if any errors occurred in the creation of the parent object.
- returns
true if it represents an error, false otherwise
- Definition Classes
- WithDiagnostics
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isProcessingError(): Boolean
Determine if any processing errors occurred.
Determine if any processing errors occurred. isError() will always return true if this returns true.
- returns
true if any processing errors occurred, false otherwise.
- def isValidationError(): Boolean
Determine if all validation checks passed based on the validation mode of the DataProcessor.
Determine if all validation checks passed based on the validation mode of the DataProcessor. If validation mode is Off, this will always return false. This is only meaningful when isProcessingError() is false. isError() will always return true if this return true.
- returns
true if any validation errors occurred, false otherwise.
- def location(): DataLocation
Get the DataLocation where the parse completed
Get the DataLocation where the parse completed
- returns
the data location where the parse completed
- 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(): String
- Definition Classes
- 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.