public class UserDataDocumentFactory extends DocumentFactory
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.
限定符和类型 | 字段和说明 |
---|---|
protected static UserDataDocumentFactory |
singleton
The Singleton instance
|
cache
构造器和说明 |
---|
UserDataDocumentFactory() |
限定符和类型 | 方法和说明 |
---|---|
Attribute |
createAttribute(Element owner,
QName qname,
String value) |
Element |
createElement(QName qname) |
static DocumentFactory |
getInstance()
Access to the singleton instance of this factory.
|
createAttribute, createCDATA, createComment, createDocType, createDocument, createDocument, createDocument, createElement, createElement, createEntity, createNamespace, createPattern, createProcessingInstruction, createProcessingInstruction, createQName, createQName, createQName, createQName, createQNameCache, createSingleton, createText, createXPath, createXPath, createXPathFilter, createXPathFilter, getQNames, getXPathNamespaceURIs, init, intern, setXPathNamespaceURIs
protected static transient UserDataDocumentFactory singleton
public static DocumentFactory getInstance()
Access to the singleton instance of this factory.
public Element createElement(QName qname)
createElement
在类中 DocumentFactory
public Attribute createAttribute(Element owner, QName qname, String value)
createAttribute
在类中 DocumentFactory
Copyright © 2005 MetaStuff Ltd. All Rights Reserved. Hosted by