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.
| Modifier and Type | Field and Description |
|---|---|
| protected static transient UserDataDocumentFactory | singleton
The Singleton instance
|
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Attribute | createAttribute(Element owner, QName qname, String value)
Overrides org. |
| public Element | |
| public static DocumentFactory | Returns: the default singleon instanceHides org. Access to the singleton instance of this factory. |
| singleton | back to summary |
|---|---|
| protected static transient UserDataDocumentFactory singleton Hides org. The Singleton instance | |
| UserDataDocumentFactory | back to summary |
|---|---|
| public UserDataDocumentFactory() | |
| createAttribute | back to summary |
|---|---|
| public Attribute createAttribute(Element owner, QName qname, String value) Overrides org. | |
| createElement | back to summary |
|---|---|
| public Element createElement(QName qname) Overrides org. | |
| getInstance | back to summary |
|---|---|
| public static DocumentFactory getInstance() Hides org. Access to the singleton instance of this factory.
| |