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.
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
Determine if any processing errors occurred.
Determine if any processing errors occurred. isError() will always return true if this returns true.
true if any processing errors occured, false otherwise.
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.
true if any validation errors occurred, false otherwise.
Get the DataLocation where the parse completed
Get the DataLocation where the parse completed
the data location where the parse completed
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
(Since version 2.0.0) Use !isError() to determine if it is safe to proceed
Get the resulting infoset as a scala.xml.Node
Get the resulting infoset as a scala.xml.Node
a scala.xml.Node representing the DFDL infoset for the parsed data
(Since version 2.0.0) ParseResult carrying the infoset representation is deprecated. Intead, use parse(ReadableByteChannel, InfosetInputter) to parse the data and get the infoset representation from the InfosetOutputter
InvalidUsageException
if you call this when isError is true
because in that case there is no result document.
Result of calling DataProcessor#parse(input:java\.nio\.channels\.ReadableByteChannel,output:edu\.illinois\.ncsa\.daffodil\.sapi\.infoset\.InfosetOutputter)*, containing any diagnostic information, and the final data location