APIdia Launch Partner
Top Description Methods
com.sun.org.apache.xml.internal.security.parser

public Interface XMLParser

Known Direct Implementers
com.sun.org.apache.xml.internal.security.parser.XMLParserImpl
Imports
java.io.InputStream, org.w3c.dom.Document

A interface to allow pluggable ways of parsing an InputStream into a DOM Document.

Method Summary

Modifier and TypeMethod and Description
public Document

Returns:

Document
parse
(InputStream inputStream, boolean disallowDocTypeDeclarations)

Parses a document from the input stream.

Method Detail

parseback to summary
public Document parse(InputStream inputStream, boolean disallowDocTypeDeclarations) throws XMLParserException

Parses a document from the input stream. Caller is responsible for closing the stream.

Returns:Document

Document