Class IndexedDocumentFactory

  • All Implemented Interfaces:
    java.io.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.

    See Also:
    Serialized Form
    • Constructor Detail

      • IndexedDocumentFactory

        public IndexedDocumentFactory()
    • Method Detail

      • getInstance

        public static DocumentFactory getInstance()

        Access to the singleton instance of this factory.

        Returns:
        the default singleon instance
      • createElement

        public Element createElement​(QName qname,
                                     int attributeCount)