public class ParseResult extends WithDiagnostics
DataProcessor.parse(java.nio.channels.ReadableByteChannel, long)
, containing
the resulting infoset, any diagnostic information, and the final data
locationConstructor and Description |
---|
ParseResult(edu.illinois.ncsa.daffodil.processors.ParseResult pr) |
Modifier and Type | Method and Description |
---|---|
DataLocation |
location()
Get the
DataLocation where the parse completed |
org.jdom2.Document |
result()
Get the resulting infoset as a jdom2 Document
|
canProceed, getDiagnostics, isError
public ParseResult(edu.illinois.ncsa.daffodil.processors.ParseResult pr)
public org.jdom2.Document result()
{@link
- IllegalStateException} if you call this when isError is true
because in that case there is no result document.
public DataLocation location()
DataLocation
where the parse completed