public interface NodeStreamReader extends Closeable
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes all resources of the underlying document.
|
NodeParser |
getRootNode()
Returns the root node of the object tree.
|
NodeParser getRootNode() throws IllegalStateException
IllegalStateException.IllegalStateException - when the root node has already been
returned.ImportExportException - when the document could not be parsed.void close()
close in interface AutoCloseableclose in interface CloseableImportExportException - if the reader could not be closedCopyright © 2018 Atlassian. All rights reserved.