public class ParserXNodeSource extends Object implements ParserSource
Constructor and Description |
---|
ParserXNodeSource(RootXNode xnode) |
Modifier and Type | Method and Description |
---|---|
boolean |
closeStreamAfterParsing()
Should the stream be closed after parsing? Useful for sources that create/open the stream themselves.
|
InputStream |
getInputStream()
Presents the input data in the form of an InputStream.
|
RootXNode |
getXNode() |
boolean |
throwsIOException()
Is the source expected to throw IOExceptions?
|
public ParserXNodeSource(@NotNull RootXNode xnode)
@NotNull public RootXNode getXNode()
@NotNull public InputStream getInputStream() throws IOException
ParserSource
getInputStream
in interface ParserSource
IOException
public boolean closeStreamAfterParsing()
ParserSource
closeStreamAfterParsing
in interface ParserSource
public boolean throwsIOException()
ParserSource
throwsIOException
in interface ParserSource
Copyright © 2019 Evolveum. All rights reserved.