public interface DocumentBuilder
Modifier and Type | Method and Description |
---|---|
Document |
parse(InputSource input)
Parse the input
|
boolean |
supportsContentType(String type)
Test whether this parser supports a given content media type.
|
boolean supportsContentType(String type)
type
- a MIME type, e.g. "text/html"Document parse(InputSource input) throws SAXException, IOException
SAXException
- if the input could not be parsedIOException
- if the input could not be readCopyright © 2010–2025 The DAISY Consortium. All rights reserved.