Package com.evolveum.midpoint.prism
Interface ParserSource
- All Known Implementing Classes:
- ParserFileSource,- ParserInputStreamSource,- ParserStringSource,- ParserXNodeSource
public interface ParserSource
Source for prism parser (file, input stream, string, DOM tree, ...).
- 
Method SummaryModifier and TypeMethodDescriptionbooleanShould the stream be closed after parsing?@NotNull InputStreamPresents the input data in the form of an InputStream.booleanIs the source expected to throw IOExceptions?
- 
Method Details- 
getInputStreamPresents 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.- Throws:
- IOException
 
- 
closeStreamAfterParsingboolean closeStreamAfterParsing()Should the stream be closed after parsing? Useful for sources that create/open the stream themselves.
- 
throwsIOExceptionboolean throwsIOException()Is the source expected to throw IOExceptions?
 
-