Determine if this object can be used in any future parse activities
Determine if this object can be used in any future parse activities
true it is safe to proceed, false otherwise
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
list of Diagnostic's. May contain errors or warnings, and so may be non-empty even if WithDiagnostics#isError is false or WithDiagnostics#canProceed is true.
Determine if any errors occurred in the creation of the parent object.
Determine if any errors occurred in the creation of the parent object.
true if no errors occurred, false otherwise
Parse input data without specifying a length
Parse input data without specifying a length
Use this when you don't know how big the data is. Note that the isAtEnd() does not work properly and will always return -1. If you need isAtEnd() to work, you must use long) and specify the length of the data.
data to be parsed
an object which contains the result, and/or diagnostic information.
Parse input data with a specified length
Parse input data with a specified length
data to be parsed
the length of the input data in bits. This must be the actual length in bits if you want the location().isAtEnd() function to work. If value is -1, the isAtEnd() function will always return true.
an object which contains the result, and/or diagnostic information.
Save the DataProcessor
Save the DataProcessor
The resulting output can be reloaded by Compiler#reload(java.nio.channels.ReadableByteChannel).
the byte channel to write the DataProcessor to
Set the value of multiple DFDL variables
Set the value of multiple DFDL variables
a map of key/value pairs, where the key is the variable name, and the value is the value of the variable. The key may be preceded by a string of the form "{namespace}" to define a namespace for the variable. If preceded with "{}", then no namespace is used. If not preceded by anything, then Daffodil will figure out the namespace.
Read external variables from a Daffodil configuration file
Read external variables from a Daffodil configuration file
file to read DFDL variables from.
Daffodil Configuration File - Daffodil configuration file format
Set validation mode
Set validation mode
mode to control validation
Compiled version of a DFDL Schema, used to parse data and get the DFDL infoset