org.jdom2.input.sax
| Modifier and Type | Method and Description |
|---|---|
| public Document | Returns: Document resultant Document objectInputSource to read fromThis builds a document from the supplied input source. |
| public Document | Returns: Document resultant Document objectInputStream to read fromThis builds a document from the supplied input stream. |
| public Document | |
| public Document | |
| public Document | Returns: Document resultant Document objectInputStream to read from.base for resolving relative URIs systemId)This builds a document from the supplied input stream. |
| public Document | |
| public Document | |
| public Document | |
| public DTDHandler | |
| public EntityResolver | Returns: the EntityResolver assignedReturns the |
| public ErrorHandler | Returns: the ErrorHandler assigned, or null if noneReturns the |
| public boolean | Returns: whether entities are being expandedReturns whether or not entities are being expanded into normal text content. |
| public boolean | Returns: boolean - whether only whitespace content will be
ignored during build.Returns whether or not the parser will eliminate element content containing only whitespace. |
| public boolean | Returns: whether element content whitespace is to be ignored during the buildReturns whether element content whitespace is to be ignored during the build. |
| public JDOMFactory | |
| public boolean | Returns: whether validation is to be performed during the buildReturns whether validation is to be performed during the build. |
| build | back to summary |
|---|---|
| public Document build(InputSource in) throws JDOMException, IOException This builds a document from the supplied input source.
| |
| build | back to summary |
|---|---|
| public Document build(InputStream in) throws JDOMException, IOException This builds a document from the supplied input stream.
| |
| build | back to summary |
|---|---|
| public Document build(final File file) throws JDOMException, IOException This builds a document from the supplied filename.
| |
| build | back to summary |
|---|---|
| public Document build(final URL url) throws JDOMException, IOException This builds a document from the supplied URL.
| |
| build | back to summary |
|---|---|
| public Document build(final InputStream in, final String systemId) throws JDOMException, IOException This builds a document from the supplied input stream.
| |
| build | back to summary |
|---|---|
| public Document build(final Reader characterStream) throws JDOMException, IOException This builds a document from the supplied Reader. It's the programmer's responsibility to make sure the reader matches the encoding of the file. It's often easier and safer to use an InputStream rather than a Reader, and to let the parser auto-detect the encoding from the XML declaration.
| |
| build | back to summary |
|---|---|
| public Document build(final Reader characterStream, final String systemId) throws JDOMException, IOException This builds a document from the supplied Reader. It's the programmer's responsibility to make sure the reader matches the encoding of the file. It's often easier and safer to use an InputStream rather than a Reader, and to let the parser auto-detect the encoding from the XML declaration.
| |
| build | back to summary |
|---|---|
| public Document build(final String systemId) throws JDOMException, IOException This builds a document from the supplied URI.
| |
| getDTDHandler | back to summary |
|---|---|
| public DTDHandler getDTDHandler() Returns the
| |
| getEntityResolver | back to summary |
|---|---|
| public EntityResolver getEntityResolver() Returns the
| |
| getErrorHandler | back to summary |
|---|---|
| public ErrorHandler getErrorHandler() Returns the
| |
| getExpandEntities | back to summary |
|---|---|
| public boolean getExpandEntities() Returns whether or not entities are being expanded into normal text content.
| |
| getIgnoringBoundaryWhitespace | back to summary |
|---|---|
| public boolean getIgnoringBoundaryWhitespace() Returns whether or not the parser will eliminate element content containing only whitespace.
| |
| getIgnoringElementContentWhitespace | back to summary |
|---|---|
| public boolean getIgnoringElementContentWhitespace() Returns whether element content whitespace is to be ignored during the build.
| |
| getJDOMFactory | back to summary |
|---|---|
| public JDOMFactory getJDOMFactory() Returns the current
| |
| isValidating | back to summary |
|---|---|
| public boolean isValidating() Returns whether validation is to be performed during the build.
| |