Package com.evolveum.midpoint.prism
Class ParserXNodeSource
java.lang.Object
com.evolveum.midpoint.prism.ParserXNodeSource
- All Implemented Interfaces:
ParserSource
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Should the stream be closed after parsing?@NotNull InputStream
Presents the input data in the form of an InputStream.@NotNull RootXNode
getXNode()
boolean
Is the source expected to throw IOExceptions?
-
Constructor Details
-
ParserXNodeSource
-
-
Method Details
-
getXNode
-
getInputStream
Description copied from interface:ParserSource
Presents the input data in the form of an InputStream. For some special cases might not be implemented, and the data could be accessed in another way.- Specified by:
getInputStream
in interfaceParserSource
-
closeStreamAfterParsing
public boolean closeStreamAfterParsing()Description copied from interface:ParserSource
Should the stream be closed after parsing? Useful for sources that create/open the stream themselves.- Specified by:
closeStreamAfterParsing
in interfaceParserSource
-
throwsIOException
public boolean throwsIOException()Description copied from interface:ParserSource
Is the source expected to throw IOExceptions?- Specified by:
throwsIOException
in interfaceParserSource
-