Package | Description |
---|---|
org.dom4j |
Defines the XML Document Object Model in Java interfaces together
with some helper classes.
|
org.dom4j.dom |
An implementation of the dom4j API which also supports the
W3C object model.
|
org.dom4j.io |
Provides input and output via SAX and DOM together with writing dom4j
objects to streams as XML text.
|
org.dom4j.jaxb | |
org.dom4j.rule | |
org.dom4j.swing |
A collection of adapters to allow easy integration with dom4j
XML documents and Swing such as TreeModels and TableModels.
|
org.dom4j.tree |
Contains the default implementations of the dom4j Document Object Model
together with some helpful base classes for those wishing to
implement their own document object model.
|
org.dom4j.util |
A collection of utility classes for the dom4j API.
|
Modifier and Type | Method | Description |
---|---|---|
Document |
Document.addComment(java.lang.String comment) |
Adds a new
Comment node with the given text to this
branch. |
Document |
Document.addDocType(java.lang.String name,
java.lang.String publicId,
java.lang.String systemId) |
Adds a DOCTYPE declaration to this document
|
Document |
Document.addProcessingInstruction(java.lang.String target,
java.lang.String text) |
Adds a processing instruction for the given target
|
Document |
Document.addProcessingInstruction(java.lang.String target,
java.util.Map data) |
Adds a processing instruction for the given target
|
Document |
DocumentFactory.createDocument() |
|
Document |
DocumentFactory.createDocument(java.lang.String encoding) |
DOCUMENT ME!
|
Document |
DocumentFactory.createDocument(Element rootElement) |
|
static Document |
DocumentHelper.createDocument() |
|
static Document |
DocumentHelper.createDocument(Element rootElement) |
|
Document |
Node.getDocument() |
getDocument returns the Document that this
Node is part of if this node supports the parent
relationship. |
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 | Description |
---|---|---|
void |
Node.setDocument(Document document) |
setDocument sets the document of this node if the parent
relationship is supported or does nothing if the parent relationship is
not supported. |
void |
Visitor.visit(Document document) |
Visits the given
Document |
void |
VisitorSupport.visit(Document document) |
Modifier and Type | Class | Description |
---|---|---|
class |
DOMDocument |
DOMDocument implements an XML document which supports the W3C
DOM API. |
Modifier and Type | Method | Description |
---|---|---|
Document |
DOMDocumentFactory.createDocument() |
Modifier and Type | Method | Description |
---|---|---|
static org.w3c.dom.Document |
DOMNodeHelper.asDOMDocument(Document document) |
Modifier and Type | Method | Description |
---|---|---|
protected Document |
DOMReader.createDocument() |
|
protected Document |
SAXContentHandler.createDocument() |
DOCUMENT ME!
|
Document |
DocumentResult.getDocument() |
DOCUMENT ME!
|
Document |
DocumentSource.getDocument() |
DOCUMENT ME!
|
Document |
SAXContentHandler.getDocument() |
DOCUMENT ME!
|
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(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. |
Document |
SAXModifier.modify(org.xml.sax.InputSource source) |
Reads a Document from the given
InputSource and
writes it to the specified XMLWriter using SAX. |
protected Document |
XPP3Reader.parseDocument() |
|
protected Document |
XPPReader.parseDocument() |
|
Document |
DOMReader.read(org.w3c.dom.Document domDocument) |
|
Document |
SAXReader.read(java.io.File file) |
Reads a Document from the given
File |
Document |
SAXReader.read(java.io.InputStream in) |
Reads a Document from the given stream using SAX
|
Document |
SAXReader.read(java.io.InputStream in,
java.lang.String systemId) |
Reads a Document from the given stream using SAX
|
Document |
SAXReader.read(java.io.Reader reader) |
Reads a Document from the given
Reader using SAX |
Document |
SAXReader.read(java.io.Reader reader,
java.lang.String systemId) |
Reads a Document from the given
Reader using SAX |
Document |
SAXReader.read(java.lang.String systemId) |
Reads a Document from the given URL or filename using SAX.
|
Document |
SAXReader.read(java.net.URL url) |
Reads a Document from the given
URL using SAX |
Document |
SAXReader.read(org.xml.sax.InputSource in) |
Reads a Document from the given
InputSource using SAX |
Document |
XPP3Reader.read(char[] text) |
Reads a Document from the given array of characters
|
Document |
XPP3Reader.read(java.io.File file) |
Reads a Document from the given
File |
Document |
XPP3Reader.read(java.io.InputStream in) |
Reads a Document from the given stream
|
Document |
XPP3Reader.read(java.io.InputStream in,
java.lang.String systemID) |
Reads a Document from the given stream
|
Document |
XPP3Reader.read(java.io.Reader reader) |
Reads a Document from the given
Reader |
Document |
XPP3Reader.read(java.io.Reader reader,
java.lang.String systemID) |
Reads a Document from the given
Reader |
Document |
XPP3Reader.read(java.lang.String systemID) |
Reads a Document from the given URL or filename.
|
Document |
XPP3Reader.read(java.net.URL url) |
Reads a Document from the given
URL |
Document |
XPPReader.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 |
XPPReader.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 |
XPPReader.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 |
XPPReader.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 |
STAXEventReader.readDocument(java.io.InputStream is) |
Constructs a StAX event stream from the provided I/O stream and reads a
DOM4J document from it.
|
Document |
STAXEventReader.readDocument(java.io.InputStream is,
java.lang.String systemId) |
Constructs a StAX event stream from the provided I/O stream and reads a
DOM4J document from it.
|
Document |
STAXEventReader.readDocument(java.io.Reader reader) |
Constructs a StAX event stream from the provided I/O character stream and
reads a DOM4J document from it.
|
Document |
STAXEventReader.readDocument(java.io.Reader reader,
java.lang.String systemId) |
Constructs a StAX event stream from the provided I/O character stream and
reads a DOM4J document from it.
|
Document |
STAXEventReader.readDocument(javax.xml.stream.XMLEventReader reader) |
Reads a DOM4J
Document from the provided stream. |
Modifier and Type | Method | Description |
---|---|---|
protected org.w3c.dom.Document |
DOMWriter.createDomDocument(Document document) |
|
protected org.w3c.dom.Document |
DOMWriter.createDomDocument(Document document,
org.w3c.dom.DOMImplementation domImpl) |
|
javax.xml.stream.events.EndDocument |
STAXEventWriter.createEndDocument(Document doc) |
Constructs a STAX
EndDocument event from a DOM4J Document . |
javax.xml.stream.events.StartDocument |
STAXEventWriter.createStartDocument(Document doc) |
Constructs a STAX
StartDocument event from a DOM4J Document . |
protected void |
SAXWriter.documentLocator(Document document) |
The
Locator is only really useful when parsing a
textual document as its main purpose is to identify the line and column
number. |
protected void |
SAXWriter.dtdHandler(Document document) |
We do not yet support DTD or XML Schemas so this method does nothing
right now.
|
protected void |
SAXWriter.entityResolver(Document document) |
|
void |
DocumentSource.setDocument(Document document) |
Sets the document used as the JAXP
SAXSource |
void |
SAXValidator.validate(Document document) |
Validates the given
Document by writing it to a validating
SAX Parser. |
org.w3c.dom.Document |
DOMWriter.write(Document document) |
|
org.w3c.dom.Document |
DOMWriter.write(Document document,
org.w3c.dom.DOMImplementation domImpl) |
|
void |
SAXWriter.write(Document document) |
Generates SAX events for the given Document and all its content
|
void |
XMLWriter.write(Document doc) |
This will print the
Document to the current Writer. |
void |
STAXEventWriter.writeDocument(Document doc) |
Writes a DOM4J
Document node, and all its contents, to the
stream. |
Constructor | Description |
---|---|
DocumentSource(Document document) |
Creates a JAXP
SAXSource for the given Document . |
Modifier and Type | Method | Description |
---|---|---|
Document |
JAXBModifier.modify(java.io.File source) |
Parses the specified
File with SAX |
Document |
JAXBModifier.modify(java.io.File source,
java.nio.charset.Charset charset) |
Parses the specified
File with SAX, using the given
Charset . |
Document |
JAXBModifier.modify(java.io.InputStream source) |
Parses the specified
InputStream with SAX. |
Document |
JAXBModifier.modify(java.io.InputStream source,
java.lang.String systemId) |
Parses the specified
InputStream with SAX. |
Document |
JAXBModifier.modify(java.io.Reader r) |
Parses the specified
Reader with SAX. |
Document |
JAXBModifier.modify(java.io.Reader source,
java.lang.String systemId) |
Parses the specified
Reader with SAX. |
Document |
JAXBModifier.modify(java.lang.String url) |
Parses the the given URL or filename.
|
Document |
JAXBModifier.modify(java.net.URL source) |
Parses the the given URL.
|
Document |
JAXBModifier.modify(org.xml.sax.InputSource source) |
Parses the specified
InputSource with SAX. |
Document |
JAXBReader.read(java.io.File source) |
Parses the specified
File |
Document |
JAXBReader.read(java.io.File file,
java.nio.charset.Charset charset) |
Parses the specified
File , using the given Charset . |
Document |
JAXBReader.read(java.io.InputStream source) |
Parses the specified
InputStream |
Document |
JAXBReader.read(java.io.InputStream source,
java.lang.String systemId) |
Parses the specified
InputStream |
Document |
JAXBReader.read(java.io.Reader source) |
Parses the specified
Reader |
Document |
JAXBReader.read(java.io.Reader source,
java.lang.String systemId) |
Parses the specified
Reader |
Document |
JAXBReader.read(java.lang.String source) |
Parses the the given URL or filename.
|
Document |
JAXBReader.read(java.net.URL source) |
Parses the the given URL.
|
Document |
JAXBReader.read(org.xml.sax.InputSource source) |
Parses the specified
InputSource |
Modifier and Type | Method | Description |
---|---|---|
void |
Mode.applyTemplates(Document document) |
Modifier and Type | Field | Description |
---|---|---|
protected Document |
DocumentTreeModel.document |
The document for this model
|
Modifier and Type | Method | Description |
---|---|---|
Document |
DocumentTreeModel.getDocument() |
DOCUMENT ME!
|
Modifier and Type | Method | Description |
---|---|---|
static XMLTableDefinition |
XMLTableDefinition.load(Document definition) |
Loads an XML table definition from an XML definition document
|
void |
DocumentTreeModel.setDocument(Document document) |
Sets the
Document instance that this
TreeModel is based on |
Constructor | Description |
---|---|
DocumentTreeModel(Document document) |
|
XMLTableModel(Document tableDefinition,
java.lang.Object source) |
Creates a TableModel from an XML table definition document and an XML
source
|
Modifier and Type | Class | Description |
---|---|---|
class |
AbstractDocument |
AbstractDocument is an abstract base class for tree
implementors to use for implementation inheritence. |
class |
DefaultDocument |
DefaultDocument is the default DOM4J default implementation of
an XML document. |
Modifier and Type | Method | Description |
---|---|---|
Document |
AbstractDocument.addComment(java.lang.String comment) |
|
Document |
DefaultDocument.addDocType(java.lang.String docTypeName,
java.lang.String publicId,
java.lang.String systemId) |
|
Document |
AbstractDocument.addProcessingInstruction(java.lang.String target,
java.lang.String data) |
|
Document |
AbstractDocument.addProcessingInstruction(java.lang.String target,
java.util.Map data) |
|
Document |
AbstractDocument.getDocument() |
|
Document |
AbstractNode.getDocument() |
|
Document |
BaseElement.getDocument() |
|
Document |
DefaultElement.getDocument() |
Modifier and Type | Method | Description |
---|---|---|
void |
AbstractNode.setDocument(Document document) |
|
void |
BaseElement.setDocument(Document document) |
|
void |
DefaultElement.setDocument(Document document) |
Modifier and Type | Method | Description |
---|---|---|
Document |
ProxyDocumentFactory.createDocument() |
|
Document |
ProxyDocumentFactory.createDocument(Element rootElement) |
Modifier and Type | Method | Description |
---|---|---|
int |
NodeComparator.compare(Document n1,
Document n2) |
Copyright ? 2005 MetaStuff Ltd. All Rights Reserved. Hosted by