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 | Description |
---|---|---|
protected static IndexedDocumentFactory |
singleton |
The Singleton instance
|
cache
Constructor | Description |
---|---|
IndexedDocumentFactory() |
Modifier and Type | Method | 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, setXPathNamespaceURIs
protected 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