public class IndexedDocumentFactory extends DocumentFactory
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.
| Modifier and Type | Field and Description |
|---|---|
protected static IndexedDocumentFactory |
singleton
The Singleton instance
|
cache| Constructor and Description |
|---|
IndexedDocumentFactory() |
| Modifier and Type | Method and Description |
|---|---|
Element |
createElement(QName qname) |
Element |
createElement(QName qname,
int attributeCount) |
static DocumentFactory |
getInstance()
Access to the singleton instance of this factory.
|
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, setXPathNamespaceURIsprotected static transient IndexedDocumentFactory singleton
public static DocumentFactory getInstance()
Access to the singleton instance of this factory.
public Element createElement(QName qname)
createElement in class DocumentFactory