Save This Page
Home » dom4j-1.6.1 » org.dom4j.util » [javadoc | source]
org.dom4j.util
public class: UserDataDocumentFactory [javadoc | source]
java.lang.Object
   org.dom4j.DocumentFactory
      org.dom4j.util.UserDataDocumentFactory

All Implemented Interfaces:
    Serializable

UserDataDocumentFactory is a factory of XML objects which support the adornment of a user data object on an Element or Attribute instance such that the methods getData() and setData() will get and set the values of a user data object. This can be useful for developers wishing to create XML trees and adorn the trees with user defined objects.

Field Summary
protected static transient  UserDataDocumentFactory singleton    The Singleton instance 
Fields inherited from org.dom4j.DocumentFactory:
cache
Method from org.dom4j.util.UserDataDocumentFactory Summary:
createAttribute,   createElement,   getInstance
Methods from org.dom4j.DocumentFactory:
createAttribute,   createAttribute,   createCDATA,   createComment,   createDocType,   createDocument,   createDocument,   createDocument,   createElement,   createElement,   createElement,   createEntity,   createNamespace,   createPattern,   createProcessingInstruction,   createProcessingInstruction,   createQName,   createQName,   createQName,   createQName,   createQNameCache,   createSingleton,   createText,   createXPath,   createXPath,   createXPathFilter,   createXPathFilter,   getInstance,   getQNames,   getXPathNamespaceURIs,   init,   intern,   setXPathNamespaceURIs
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.dom4j.util.UserDataDocumentFactory Detail:
 public Attribute createAttribute(Element owner,
    QName qname,
    String value) 
 public Element createElement(QName qname) 
 public static DocumentFactory getInstance() 

    Access to the singleton instance of this factory.