public class DocumentReaderCallback extends Object implements InputStreamCallback
| Modifier and Type | Field and Description |
|---|---|
private Document |
document |
private boolean |
isNamespaceAware |
| Constructor and Description |
|---|
DocumentReaderCallback(boolean isNamespaceAware)
Creates a new DocumentReaderCallback.
|
| Modifier and Type | Method and Description |
|---|---|
Document |
getDocument() |
void |
process(InputStream stream) |
private final boolean isNamespaceAware
private Document document
public DocumentReaderCallback(boolean isNamespaceAware)
isNamespaceAware - Whether or not the parse should consider namespacespublic void process(InputStream stream) throws IOException
process in interface InputStreamCallbackIOExceptionpublic Document getDocument()
Copyright © 2023 Apache NiFi Project. All rights reserved.