Class IndexedDocumentFactory

java.lang.Object
org.dom4j.DocumentFactory
org.dom4j.util.IndexedDocumentFactory
All Implemented Interfaces:
Serializable

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.

Version:
$Revision: 1.9 $
See Also:
  • Field Details

  • Constructor Details

    • IndexedDocumentFactory

      public IndexedDocumentFactory()
  • Method Details

    • getInstance

      public static DocumentFactory getInstance()

      Access to the singleton instance of this factory.

      Returns:
      the default singleon instance
    • createElement

      public Element createElement(QName qname)
      Overrides:
      createElement in class DocumentFactory
    • createElement

      public Element createElement(QName qname, int attributeCount)