Class IndexedDocumentFactory
java.lang.Object
org.dom4j.DocumentFactory
org.dom4j.util.IndexedDocumentFactory
- All Implemented Interfaces:
Serializable
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.
- Version:
- $Revision: 1.9 $
- See Also:
-
Field Summary
FieldsFields inherited from class DocumentFactory
cache
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateElement
(QName qname) createElement
(QName qname, int attributeCount) static DocumentFactory
Access to the singleton instance of this factory.Methods inherited from class DocumentFactory
createAttribute, createAttribute, createCDATA, createComment, createDocType, createDocument, createDocument, createDocument, createElement, createElement, createEntity, createNamespace, createPattern, createProcessingInstruction, createProcessingInstruction, createQName, createQName, createQName, createQName, createQNameCache, createSingleton, createText, createXPath, createXPath, createXPathFilter, createXPathFilter, getQNames, getXPathNamespaceURIs, init, intern, setXPathNamespaceURIs
-
Field Details
-
singleton
The Singleton instance
-
-
Constructor Details
-
IndexedDocumentFactory
public IndexedDocumentFactory()
-
-
Method Details
-
getInstance
Access to the singleton instance of this factory.
- Returns:
- the default singleon instance
-
createElement
- Overrides:
createElement
in classDocumentFactory
-
createElement
-