Package | Description |
---|---|
org.dom4j |
Defines the XML Document Object Model in Java interfaces together
with some helper classes.
|
org.dom4j.io |
Provides input and output via SAX and DOM together with writing dom4j
objects to streams as XML text.
|
Modifier and Type | Method and Description |
---|---|
static Document |
DocumentHelper.parseText(java.lang.String text)
parseText parses the given text as an XML document and
returns the newly created Document. |
Modifier and Type | Method and Description |
---|---|
protected void |
SAXReader.configureReader(org.xml.sax.XMLReader reader,
org.xml.sax.helpers.DefaultHandler handler)
Configures the XMLReader before use
|
protected org.w3c.dom.Document |
DOMWriter.createDomDocument(Document document) |
protected org.w3c.dom.Document |
DOMWriter.createDomDocument(Document document,
org.w3c.dom.DOMImplementation domImpl) |
protected org.w3c.dom.Document |
DOMWriter.createDomDocumentViaJAXP() |
java.lang.Class |
DOMWriter.getDomDocumentClass() |
Document |
SAXModifier.modify(java.io.File source)
Reads a Document from the given
File and writes it to the
specified XMLWriter using SAX. |
Document |
SAXModifier.modify(org.xml.sax.InputSource source)
Reads a Document from the given
InputSource and
writes it to the specified XMLWriter using SAX. |
Document |
SAXModifier.modify(java.io.InputStream source)
Reads a Document from the given
InputStream and writes it
to the specified XMLWriter using SAX. |
Document |
SAXModifier.modify(java.io.InputStream source,
java.lang.String systemId)
Reads a Document from the given
InputStream and writes it
to the specified XMLWriter using SAX. |
Document |
SAXModifier.modify(java.io.Reader source)
Reads a Document from the given
Reader and writes it to
the specified XMLWriter using SAX. |
Document |
SAXModifier.modify(java.io.Reader source,
java.lang.String systemId)
Reads a Document from the given
Reader and writes it to
the specified XMLWriter using SAX. |
Document |
SAXModifier.modify(java.lang.String source)
Reads a Document from the given URL or filename and writes it to the
specified
XMLWriter using SAX. |
Document |
SAXModifier.modify(java.net.URL source)
Reads a Document from the given
URL and writes it to the
specified XMLWriter using SAX. |
protected Document |
XPPReader.parseDocument() |
protected Document |
XPP3Reader.parseDocument() |
static java.lang.String |
HTMLWriter.prettyPrintHTML(java.lang.String html)
Convenience method to just get a String result.
|
static java.lang.String |
HTMLWriter.prettyPrintHTML(java.lang.String html,
boolean newlines,
boolean trim,
boolean isXHTML,
boolean expandEmpty)
DOCUMENT ME!
|
static java.lang.String |
HTMLWriter.prettyPrintXHTML(java.lang.String html)
Convenience method to just get a String result, but As XHTML .
|
Document |
XPPReader.read(char[] text)
Reads a Document from the given array of characters
|
Document |
XPP3Reader.read(char[] text)
Reads a Document from the given array of characters
|
Document |
XPPReader.read(java.io.File file)
Reads a Document from the given
File |
Document |
SAXReader.read(java.io.File file)
Reads a Document from the given
File |
Document |
XPP3Reader.read(java.io.File file)
Reads a Document from the given
File |
Document |
SAXReader.read(org.xml.sax.InputSource in)
Reads a Document from the given
InputSource using SAX |
Document |
XPPReader.read(java.io.InputStream in)
Reads a Document from the given stream
|
Document |
SAXReader.read(java.io.InputStream in)
Reads a Document from the given stream using SAX
|
Document |
XPP3Reader.read(java.io.InputStream in)
Reads a Document from the given stream
|
Document |
XPPReader.read(java.io.InputStream in,
java.lang.String systemID)
Reads a Document from the given stream
|
Document |
SAXReader.read(java.io.InputStream in,
java.lang.String systemId)
Reads a Document from the given stream using SAX
|
Document |
XPP3Reader.read(java.io.InputStream in,
java.lang.String systemID)
Reads a Document from the given stream
|
Document |
XPPReader.read(java.io.Reader reader)
Reads a Document from the given
Reader |
Document |
SAXReader.read(java.io.Reader reader)
Reads a Document from the given
Reader using SAX |
Document |
XPP3Reader.read(java.io.Reader reader)
Reads a Document from the given
Reader |
Document |
XPPReader.read(java.io.Reader reader,
java.lang.String systemID)
Reads a Document from the given
Reader |
Document |
SAXReader.read(java.io.Reader reader,
java.lang.String systemId)
Reads a Document from the given
Reader using SAX |
Document |
XPP3Reader.read(java.io.Reader reader,
java.lang.String systemID)
Reads a Document from the given
Reader |
Document |
XPPReader.read(java.lang.String systemID)
Reads a Document from the given URL or filename.
|
Document |
SAXReader.read(java.lang.String systemId)
Reads a Document from the given URL or filename using SAX.
|
Document |
XPP3Reader.read(java.lang.String systemID)
Reads a Document from the given URL or filename.
|
Document |
XPPReader.read(java.net.URL url)
Reads a Document from the given
URL |
Document |
SAXReader.read(java.net.URL url)
Reads a Document from the given
URL using SAX |
Document |
XPP3Reader.read(java.net.URL url)
Reads a Document from the given
URL |
void |
DOMWriter.setDomDocumentClassName(java.lang.String name)
Sets the DOM
Document implementation class name used
by the writer when creating DOM documents. |
org.w3c.dom.Document |
DOMWriter.write(Document document) |
org.w3c.dom.Document |
DOMWriter.write(Document document,
org.w3c.dom.DOMImplementation domImpl) |
Copyright © 2005 MetaStuff Ltd. All Rights Reserved. Hosted by