Uses of Class
org.dom4j.DocumentException
Packages that use DocumentException
Package
Description
Defines the XML Document Object Model in Java interfaces together with some helper classes.
Provides input and output via SAX and DOM together with writing dom4j objects to streams as XML text.
-
Uses of DocumentException in org.dom4j
Methods in org.dom4j that throw DocumentException -
Uses of DocumentException in org.dom4j.io
Methods in org.dom4j.io that throw DocumentExceptionModifier and TypeMethodDescriptionprotected void
SAXReader.configureReader
(XMLReader reader, DefaultHandler handler) Configures the XMLReader before useprotected Document
DOMWriter.createDomDocument
(Document document) protected Document
DOMWriter.createDomDocument
(Document document, DOMImplementation domImpl) protected Document
DOMWriter.createDomDocumentViaJAXP()
Class
<?> DOMWriter.getDomDocumentClass()
private SAXReader
SAXModifier.installModifyReader()
SAXModifier.modify
(InputStream source) Reads a Document from the givenInputStream
and writes it to the specifiedXMLWriter
using SAX.SAXModifier.modify
(InputStream source, String systemId) Reads a Document from the givenInputStream
and writes it to the specifiedXMLWriter
using SAX.Reads a Document from the given URL or filename and writes it to the specifiedXMLWriter
using SAX.SAXModifier.modify
(InputSource source) Reads a Document from the givenInputSource
and writes it to the specifiedXMLWriter
using SAX.static String
HTMLWriter.prettyPrintHTML
(String html) Convenience method to just get a String result.static String
HTMLWriter.prettyPrintHTML
(String html, boolean newlines, boolean trim, boolean isXHTML, boolean expandEmpty) DOCUMENT ME!static String
HTMLWriter.prettyPrintXHTML
(String html) Convenience method to just get a String result, but As XHTML .Reads a Document from the givenFile
SAXReader.read
(InputStream in) Reads a Document from the given stream using SAXSAXReader.read
(InputStream in, String systemId) Reads a Document from the given stream using SAXReads a Document from the givenReader
using SAXReads a Document from the givenReader
using SAXReads a Document from the given URL or filename using SAX.Reads a Document from the givenURL
using SAXSAXReader.read
(InputSource in) Reads a Document from the givenInputSource
using SAXvoid
DOMWriter.setDomDocumentClassName
(String name) Sets the DOMDocument
implementation class name used by the writer when creating DOM documents.DOMWriter.write
(Document document, DOMImplementation domImpl) -
Uses of DocumentException in org.dom4j.jaxb
Methods in org.dom4j.jaxb that throw DocumentExceptionModifier and TypeMethodDescriptionParses the specifiedFile
with SAXJAXBModifier.modify
(InputStream source) Parses the specifiedInputStream
with SAX.JAXBModifier.modify
(InputStream source, String systemId) Parses the specifiedInputStream
with SAX.Parses the specifiedReader
with SAX.Parses the specifiedReader
with SAX.Parses the the given URL or filename.Parses the the given URL.JAXBModifier.modify
(InputSource source) Parses the specifiedInputSource
with SAX.Parses the specifiedFile
JAXBReader.read
(InputStream source) Parses the specifiedInputStream
JAXBReader.read
(InputStream source, String systemId) Parses the specifiedInputStream
Parses the specifiedReader
Parses the specifiedReader
Parses the the given URL or filename.Parses the the given URL.JAXBReader.read
(InputSource source) Parses the specifiedInputSource