public class ParseResult extends WithDiagnostics
DataProcessor.parse(InputSourceDataInputStream, InfosetOutputter)
, containing
the diagnostic information, and the final data locationConstructor and Description |
---|
ParseResult(org.apache.daffodil.runtime1.processors.ParseResult pr) |
Modifier and Type | Method and Description |
---|---|
boolean |
isProcessingError()
Determine if any processing errors occurred.
|
boolean |
isValidationError()
Determine if all validation checks passed based on the validation mode of
the DataProcessor.
|
DataLocation |
location()
Get the
DataLocation where the parse completed |
getDiagnostics, isError
public ParseResult(org.apache.daffodil.runtime1.processors.ParseResult pr)
public boolean isProcessingError()
public boolean isValidationError()
public DataLocation location()
DataLocation
where the parse completed