|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.dom4j.DocumentFactory
org.dom4j.util.UserDataDocumentFactory
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 |
Fields inherited from class org.dom4j.DocumentFactory |
cache |
Constructor Summary | |
UserDataDocumentFactory()
|
Method Summary | |
Attribute |
createAttribute(Element owner,
QName qname,
java.lang.String value)
|
Element |
createElement(QName qname)
|
static DocumentFactory |
getInstance()
Access to the singleton instance of this factory. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public UserDataDocumentFactory()
Method Detail |
public static DocumentFactory getInstance()
Access to the singleton instance of this factory.
public Element createElement(QName qname)
createElement
in class DocumentFactory
public Attribute createAttribute(Element owner, QName qname, java.lang.String value)
createAttribute
in class DocumentFactory
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |