-
- All Known Implementing Classes:
XMLParserImpl
public interface XMLParserA interface to allow pluggable ways of parsing an InputStream into a DOM Document.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.w3c.dom.Documentparse(java.io.InputStream inputStream, boolean disallowDocTypeDeclarations)Parses a document from the input stream.
-
-
-
Method Detail
-
parse
org.w3c.dom.Document parse(java.io.InputStream inputStream, boolean disallowDocTypeDeclarations) throws XMLParserExceptionParses a document from the input stream. Caller is responsible for closing the stream.- Parameters:
inputStream-disallowDocTypeDeclarations-- Returns:
Document- Throws:
XMLParserException
-
-