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.
|
org.dom4j.jaxb |
Modifier and Type | Method and Description |
---|---|
static Document |
DocumentHelper.parseText(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(XMLReader reader,
org.xml.sax.helpers.DefaultHandler handler)
Configures the XMLReader before use
|
protected Document |
DOMWriter.createDomDocument(Document document) |
protected Document |
DOMWriter.createDomDocument(Document document,
DOMImplementation domImpl) |
protected Document |
DOMWriter.createDomDocumentViaJAXP() |
Class |
DOMWriter.getDomDocumentClass() |
Document |
SAXModifier.modify(File source)
|
Document |
SAXModifier.modify(InputSource source)
Reads a Document from the given
InputSource and
writes it to the specified XMLWriter using SAX. |
Document |
SAXModifier.modify(InputStream source)
Reads a Document from the given
InputStream and writes it
to the specified XMLWriter using SAX. |
Document |
SAXModifier.modify(InputStream source,
String systemId)
Reads a Document from the given
InputStream and writes it
to the specified XMLWriter using SAX. |
Document |
SAXModifier.modify(Reader source)
|
Document |
SAXModifier.modify(Reader source,
String systemId)
|
Document |
SAXModifier.modify(String source)
Reads a Document from the given URL or filename and writes it to the
specified
XMLWriter using SAX. |
Document |
SAXModifier.modify(URL source)
|
protected Document |
XPPReader.parseDocument() |
protected Document |
XPP3Reader.parseDocument() |
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 .
|
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(File file)
Reads a Document from the given
File |
Document |
XPP3Reader.read(File file)
Reads a Document from the given
File |
Document |
SAXReader.read(File file)
Reads a Document from the given
File |
Document |
SAXReader.read(InputSource in)
Reads a Document from the given
InputSource using SAX |
Document |
XPPReader.read(InputStream in)
Reads a Document from the given stream
|
Document |
XPP3Reader.read(InputStream in)
Reads a Document from the given stream
|
Document |
SAXReader.read(InputStream in)
Reads a Document from the given stream using SAX
|
Document |
XPPReader.read(InputStream in,
String systemID)
Reads a Document from the given stream
|
Document |
XPP3Reader.read(InputStream in,
String systemID)
Reads a Document from the given stream
|
Document |
SAXReader.read(InputStream in,
String systemId)
Reads a Document from the given stream using SAX
|
Document |
XPPReader.read(Reader reader)
Reads a Document from the given
Reader |
Document |
XPP3Reader.read(Reader reader)
Reads a Document from the given
Reader |
Document |
SAXReader.read(Reader reader)
Reads a Document from the given
Reader using SAX |
Document |
XPPReader.read(Reader reader,
String systemID)
Reads a Document from the given
Reader |
Document |
XPP3Reader.read(Reader reader,
String systemID)
Reads a Document from the given
Reader |
Document |
SAXReader.read(Reader reader,
String systemId)
Reads a Document from the given
Reader using SAX |
Document |
XPPReader.read(String systemID)
Reads a Document from the given URL or filename.
|
Document |
XPP3Reader.read(String systemID)
Reads a Document from the given URL or filename.
|
Document |
SAXReader.read(String systemId)
Reads a Document from the given URL or filename using SAX.
|
Document |
XPPReader.read(URL url)
Reads a Document from the given
URL |
Document |
XPP3Reader.read(URL url)
Reads a Document from the given
URL |
Document |
SAXReader.read(URL url)
Reads a Document from the given
URL using SAX |
void |
DOMWriter.setDomDocumentClassName(String name)
Sets the DOM
Document implementation class name used
by the writer when creating DOM documents. |
Document |
DOMWriter.write(Document document) |
Document |
DOMWriter.write(Document document,
DOMImplementation domImpl) |
Modifier and Type | Method and Description |
---|---|
Document |
JAXBModifier.modify(File source)
Parses the specified
File with SAX |
Document |
JAXBModifier.modify(File source,
Charset charset)
|
Document |
JAXBModifier.modify(InputSource source)
Parses the specified
InputSource with SAX. |
Document |
JAXBModifier.modify(InputStream source)
Parses the specified
InputStream with SAX. |
Document |
JAXBModifier.modify(InputStream source,
String systemId)
Parses the specified
InputStream with SAX. |
Document |
JAXBModifier.modify(Reader r)
Parses the specified
Reader with SAX. |
Document |
JAXBModifier.modify(Reader source,
String systemId)
Parses the specified
Reader with SAX. |
Document |
JAXBModifier.modify(String url)
Parses the the given URL or filename.
|
Document |
JAXBModifier.modify(URL source)
Parses the the given URL.
|
Document |
JAXBReader.read(File source)
Parses the specified
File |
Document |
JAXBReader.read(File file,
Charset charset)
|
Document |
JAXBReader.read(InputSource source)
Parses the specified
InputSource |
Document |
JAXBReader.read(InputStream source)
Parses the specified
InputStream |
Document |
JAXBReader.read(InputStream source,
String systemId)
Parses the specified
InputStream |
Document |
JAXBReader.read(Reader source)
Parses the specified
Reader |
Document |
JAXBReader.read(Reader source,
String systemId)
Parses the specified
Reader |
Document |
JAXBReader.read(String source)
Parses the the given URL or filename.
|
Document |
JAXBReader.read(URL source)
Parses the the given URL.
|
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.