Package | Description |
---|---|
org.dom4j |
Defines the XML Document Object Model in Java interfaces together with some helper classes.
|
org.dom4j.bean |
An implementation of the dom4j API which allows JavaBeans to be used to store and retrieve attribute values from Element.
|
org.dom4j.datatype |
An implementation of the dom4j API which supports the XML Schema Data Types specification.
|
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.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 | Field and Description |
---|---|
private DocumentFactory |
QName.documentFactory
The document factory used for this QName if specified or null
|
Modifier and Type | Field and Description |
---|---|
private static SingletonStrategy<DocumentFactory> |
DocumentFactory.singleton |
Modifier and Type | Method and Description |
---|---|
protected static DocumentFactory |
DocumentFactory.createSingleton(java.lang.String className)
createSingleton creates the singleton instance from the
given class name. |
private static DocumentFactory |
DocumentHelper.getDocumentFactory() |
DocumentFactory |
QName.getDocumentFactory()
DOCUMENT ME!
|
static DocumentFactory |
DocumentFactory.getInstance()
Access to singleton implementation of DocumentFactory which is used if no
DocumentFactory is specified when building using the standard builders.
|
Modifier and Type | Method and Description |
---|---|
private static SingletonStrategy<DocumentFactory> |
DocumentFactory.createSingleton() |
Modifier and Type | Method and Description |
---|---|
void |
QName.setDocumentFactory(DocumentFactory documentFactory) |
Modifier and Type | Class and Description |
---|---|
class |
BeanDocumentFactory
BeanDocumentFactory is a factory of DOM4J objects which may be
BeanElements which are backed by JavaBeans and their properties. |
Modifier and Type | Field and Description |
---|---|
private static DocumentFactory |
BeanElement.DOCUMENT_FACTORY
The
DocumentFactory instance used by default |
private static DocumentFactory |
BeanMetaData.DOCUMENT_FACTORY |
Modifier and Type | Method and Description |
---|---|
protected DocumentFactory |
BeanElement.getDocumentFactory() |
static DocumentFactory |
BeanDocumentFactory.getInstance()
Access to the singleton instance of this factory.
|
Modifier and Type | Class and Description |
---|---|
class |
DatatypeDocumentFactory
DatatypeDocumentFactory is a factory of XML objects which
support the XML Schema Data Types
specification. |
class |
DatatypeElementFactory
DatatypeElementFactory is a factory for a specific Element in
an XML Schema. |
Modifier and Type | Field and Description |
---|---|
protected DocumentFactory |
NamedTypeResolver.documentFactory |
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<QName,DocumentFactory> |
NamedTypeResolver.complexTypeMap |
protected java.util.Map<Element,DocumentFactory> |
NamedTypeResolver.elementFactoryMap |
Modifier and Type | Method and Description |
---|---|
static DocumentFactory |
DatatypeDocumentFactory.getInstance()
Access to the singleton instance of this factory.
|
Modifier and Type | Method and Description |
---|---|
private void |
SchemaParser.onDatatypeElement(Element xsdElement,
DocumentFactory parentFactory)
processes an XML Schema <element> tag
|
(package private) void |
NamedTypeResolver.registerComplexType(QName type,
DocumentFactory factory) |
(package private) void |
NamedTypeResolver.registerTypedElement(Element element,
QName type,
DocumentFactory parentFactory) |
Constructor and Description |
---|
NamedTypeResolver(DocumentFactory documentFactory) |
Modifier and Type | Class and Description |
---|---|
class |
DOMDocumentFactory
DOMDocumentFactory is a factory of DOM4J objects which
implement the W3C DOM API. |
Modifier and Type | Field and Description |
---|---|
private static DocumentFactory |
DOMElement.DOCUMENT_FACTORY
The
DocumentFactory instance used by default |
Modifier and Type | Method and Description |
---|---|
protected DocumentFactory |
DOMElement.getDocumentFactory() |
protected DocumentFactory |
DOMDocument.getDocumentFactory() |
static DocumentFactory |
DOMDocumentFactory.getInstance()
Access to the singleton instance of this factory.
|
Modifier and Type | Field and Description |
---|---|
private DocumentFactory |
SAXContentHandler.documentFactory
The factory used to create new
Document instances |
private DocumentFactory |
DOMReader.factory
DocumentFactory used to create new document objects |
private DocumentFactory |
SAXReader.factory
DocumentFactory used to create new document objects |
private DocumentFactory |
XPP3Reader.factory
DocumentFactory used to create new document objects |
private DocumentFactory |
STAXEventReader.factory
Reference to the DocumentFactory used to build DOM4J nodes.
|
Modifier and Type | Method and Description |
---|---|
DocumentFactory |
DOMReader.getDocumentFactory()
DOCUMENT ME!
|
DocumentFactory |
SAXReader.getDocumentFactory()
DOCUMENT ME!
|
DocumentFactory |
XPP3Reader.getDocumentFactory()
DOCUMENT ME!
|
DocumentFactory |
SAXModifier.getDocumentFactory()
Get the
DocumentFactory used to create the DOM4J
document structure |
Modifier and Type | Method and Description |
---|---|
void |
DOMReader.setDocumentFactory(DocumentFactory docFactory)
This sets the
DocumentFactory used to create new
documents. |
void |
SAXReader.setDocumentFactory(DocumentFactory documentFactory)
This sets the
DocumentFactory used to create new
documents. |
void |
XPP3Reader.setDocumentFactory(DocumentFactory documentFactory)
This sets the
DocumentFactory used to create new
documents. |
void |
SAXModifier.setDocumentFactory(DocumentFactory factory)
Sets the
DocumentFactory used to create the DOM4J
document tree. |
void |
STAXEventReader.setDocumentFactory(DocumentFactory documentFactory)
Sets the DocumentFactory to be used when constructing DOM4J nodes.
|
Modifier and Type | Field and Description |
---|---|
private static DocumentFactory |
AbstractElement.DOCUMENT_FACTORY
The
DocumentFactory instance used by default |
private static DocumentFactory |
DefaultElement.DOCUMENT_FACTORY
The
DocumentFactory instance used by default |
private static DocumentFactory |
AbstractNode.DOCUMENT_FACTORY
The
DocumentFactory instance used by default |
private DocumentFactory |
DefaultDocument.documentFactory
The document factory used by default
|
private DocumentFactory |
NamespaceStack.documentFactory
The factory used to create new
Namespace instances |
private DocumentFactory |
QNameCache.documentFactory
The document factory associated with new QNames instances in this cache
or null if no instances should be associated by default
|
Modifier and Type | Method and Description |
---|---|
protected DocumentFactory |
AbstractElement.getDocumentFactory() |
protected DocumentFactory |
DefaultDocument.getDocumentFactory() |
DocumentFactory |
NamespaceStack.getDocumentFactory() |
protected DocumentFactory |
DefaultElement.getDocumentFactory() |
protected DocumentFactory |
AbstractNode.getDocumentFactory() |
Modifier and Type | Method and Description |
---|---|
void |
DefaultDocument.setDocumentFactory(DocumentFactory documentFactory) |
void |
NamespaceStack.setDocumentFactory(DocumentFactory documentFactory) |
Constructor and Description |
---|
NamespaceStack(DocumentFactory documentFactory) |
QNameCache(DocumentFactory documentFactory) |
Modifier and Type | Class and Description |
---|---|
class |
IndexedDocumentFactory
IndexedDocumentFactory is a factory of XML objects which
create indexed Element implementations to allow quicker lookup via name of
Element and Attributes though at the expense of more memory used to create
the name indexes. |
class |
NonLazyDocumentFactory
NonLazyDocumentFactory is a factory of XML objects which avoid
using the lazy creation pattern. |
class |
UserDataDocumentFactory
UserDataDocumentFactory is a factory of XML objects which
support the adornment of a user data object on an Element or Attribute
instance such that the methods getData() and
setData() will get and set the values of a user data object. |
Modifier and Type | Field and Description |
---|---|
private DocumentFactory |
ProxyDocumentFactory.proxy |
Modifier and Type | Method and Description |
---|---|
static DocumentFactory |
UserDataDocumentFactory.getInstance()
Access to the singleton instance of this factory.
|
static DocumentFactory |
NonLazyDocumentFactory.getInstance()
Access to the singleton instance of this factory.
|
static DocumentFactory |
IndexedDocumentFactory.getInstance()
Access to the singleton instance of this factory.
|
protected DocumentFactory |
ProxyDocumentFactory.getProxy() |
Modifier and Type | Method and Description |
---|---|
protected void |
ProxyDocumentFactory.setProxy(DocumentFactory proxy) |
Constructor and Description |
---|
ProxyDocumentFactory(DocumentFactory proxy) |