Uses of Interface
org.dom4j.Document
-
Packages that use Document 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. -
-
Uses of Document in org.dom4j
Methods in org.dom4j that return Document Modifier and Type Method Description Document
Document. addComment(java.lang.String comment)
Adds a newComment
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 documentDocument
Document. addProcessingInstruction(java.lang.String target, java.lang.String text)
Adds a processing instruction for the given targetDocument
Document. addProcessingInstruction(java.lang.String target, java.util.Map data)
Adds a processing instruction for the given targetDocument
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 theDocument
that thisNode
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.Methods in org.dom4j with parameters of type 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 givenDocument
void
VisitorSupport. visit(Document document)
-
Uses of Document in org.dom4j.dom
Classes in org.dom4j.dom that implement Document Modifier and Type Class Description class
DOMDocument
DOMDocument
implements an XML document which supports the W3C DOM API.Methods in org.dom4j.dom that return Document Modifier and Type Method Description Document
DOMDocumentFactory. createDocument()
Methods in org.dom4j.dom with parameters of type Document Modifier and Type Method Description static org.w3c.dom.Document
DOMNodeHelper. asDOMDocument(Document document)
-
Uses of Document in org.dom4j.io
Methods in org.dom4j.io that return 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 givenFile
and writes it to the specifiedXMLWriter
using SAX.Document
SAXModifier. modify(java.io.InputStream source)
Reads a Document from the givenInputStream
and writes it to the specifiedXMLWriter
using SAX.Document
SAXModifier. modify(java.io.InputStream source, java.lang.String systemId)
Reads a Document from the givenInputStream
and writes it to the specifiedXMLWriter
using SAX.Document
SAXModifier. modify(java.io.Reader source)
Reads a Document from the givenReader
and writes it to the specifiedXMLWriter
using SAX.Document
SAXModifier. modify(java.io.Reader source, java.lang.String systemId)
Reads a Document from the givenReader
and writes it to the specifiedXMLWriter
using SAX.Document
SAXModifier. modify(java.lang.String source)
Reads a Document from the given URL or filename and writes it to the specifiedXMLWriter
using SAX.Document
SAXModifier. modify(java.net.URL source)
Reads a Document from the givenURL
and writes it to the specifiedXMLWriter
using SAX.Document
SAXModifier. modify(org.xml.sax.InputSource source)
Reads a Document from the givenInputSource
and writes it to the specifiedXMLWriter
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 givenFile
Document
SAXReader. read(java.io.InputStream in)
Reads a Document from the given stream using SAXDocument
SAXReader. read(java.io.InputStream in, java.lang.String systemId)
Reads a Document from the given stream using SAXDocument
SAXReader. read(java.io.Reader reader)
Reads a Document from the givenReader
using SAXDocument
SAXReader. read(java.io.Reader reader, java.lang.String systemId)
Reads a Document from the givenReader
using SAXDocument
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 givenURL
using SAXDocument
SAXReader. read(org.xml.sax.InputSource in)
Reads a Document from the givenInputSource
using SAXDocument
XPP3Reader. read(char[] text)
Reads a Document from the given array of charactersDocument
XPP3Reader. read(java.io.File file)
Reads a Document from the givenFile
Document
XPP3Reader. read(java.io.InputStream in)
Reads a Document from the given streamDocument
XPP3Reader. read(java.io.InputStream in, java.lang.String systemID)
Reads a Document from the given streamDocument
XPP3Reader. read(java.io.Reader reader)
Reads a Document from the givenReader
Document
XPP3Reader. read(java.io.Reader reader, java.lang.String systemID)
Reads a Document from the givenReader
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 givenURL
Document
XPPReader. read(char[] text)
Reads a Document from the given array of charactersDocument
XPPReader. read(java.io.File file)
Reads a Document from the givenFile
Document
XPPReader. read(java.io.InputStream in)
Reads a Document from the given streamDocument
XPPReader. read(java.io.InputStream in, java.lang.String systemID)
Reads a Document from the given streamDocument
XPPReader. read(java.io.Reader reader)
Reads a Document from the givenReader
Document
XPPReader. read(java.io.Reader reader, java.lang.String systemID)
Reads a Document from the givenReader
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 givenURL
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 DOM4JDocument
from the provided stream.Methods in org.dom4j.io with parameters of type Document 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 STAXEndDocument
event from a DOM4JDocument
.javax.xml.stream.events.StartDocument
STAXEventWriter. createStartDocument(Document doc)
Constructs a STAXStartDocument
event from a DOM4JDocument
.protected void
SAXWriter. documentLocator(Document document)
TheLocator
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 JAXPSAXSource
void
SAXValidator. validate(Document document)
Validates the givenDocument
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 contentvoid
XMLWriter. write(Document doc)
This will print theDocument
to the current Writer.void
STAXEventWriter. writeDocument(Document doc)
Writes a DOM4JDocument
node, and all its contents, to the stream.Constructors in org.dom4j.io with parameters of type Document Constructor Description DocumentSource(Document document)
Creates a JAXPSAXSource
for the givenDocument
. -
Uses of Document in org.dom4j.jaxb
Methods in org.dom4j.jaxb that return Document Modifier and Type Method Description Document
JAXBModifier. modify(java.io.File source)
Parses the specifiedFile
with SAXDocument
JAXBModifier. modify(java.io.File source, java.nio.charset.Charset charset)
Parses the specifiedFile
with SAX, using the givenCharset
.Document
JAXBModifier. modify(java.io.InputStream source)
Parses the specifiedInputStream
with SAX.Document
JAXBModifier. modify(java.io.InputStream source, java.lang.String systemId)
Parses the specifiedInputStream
with SAX.Document
JAXBModifier. modify(java.io.Reader r)
Parses the specifiedReader
with SAX.Document
JAXBModifier. modify(java.io.Reader source, java.lang.String systemId)
Parses the specifiedReader
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 specifiedInputSource
with SAX.Document
JAXBReader. read(java.io.File source)
Parses the specifiedFile
Document
JAXBReader. read(java.io.File file, java.nio.charset.Charset charset)
Parses the specifiedFile
, using the givenCharset
.Document
JAXBReader. read(java.io.InputStream source)
Parses the specifiedInputStream
Document
JAXBReader. read(java.io.InputStream source, java.lang.String systemId)
Parses the specifiedInputStream
Document
JAXBReader. read(java.io.Reader source)
Parses the specifiedReader
Document
JAXBReader. read(java.io.Reader source, java.lang.String systemId)
Parses the specifiedReader
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 specifiedInputSource
-
Uses of Document in org.dom4j.rule
Methods in org.dom4j.rule with parameters of type Document Modifier and Type Method Description void
Mode. applyTemplates(Document document)
-
Uses of Document in org.dom4j.swing
Fields in org.dom4j.swing declared as Document Modifier and Type Field Description protected Document
DocumentTreeModel. document
The document for this modelMethods in org.dom4j.swing that return Document Modifier and Type Method Description Document
DocumentTreeModel. getDocument()
DOCUMENT ME!Methods in org.dom4j.swing with parameters of type Document Modifier and Type Method Description static XMLTableDefinition
XMLTableDefinition. load(Document definition)
Loads an XML table definition from an XML definition documentvoid
DocumentTreeModel. setDocument(Document document)
Sets theDocument
instance that thisTreeModel
is based onConstructors in org.dom4j.swing with parameters of type Document 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 -
Uses of Document in org.dom4j.tree
Classes in org.dom4j.tree that implement Document 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.Methods in org.dom4j.tree that return 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()
Methods in org.dom4j.tree with parameters of type Document Modifier and Type Method Description void
AbstractNode. setDocument(Document document)
void
BaseElement. setDocument(Document document)
void
DefaultElement. setDocument(Document document)
-
Uses of Document in org.dom4j.util
Methods in org.dom4j.util that return Document Modifier and Type Method Description Document
ProxyDocumentFactory. createDocument()
Document
ProxyDocumentFactory. createDocument(Element rootElement)
Methods in org.dom4j.util with parameters of type Document Modifier and Type Method Description int
NodeComparator. compare(Document n1, Document n2)
-