public class DatatypeElementFactory extends DocumentFactory
DatatypeElementFactory is a factory for a specific Element in
an XML Schema.
cache| Constructor and Description |
|---|
DatatypeElementFactory(QName elementQName) |
| Modifier and Type | Method and Description |
|---|---|
Attribute |
createAttribute(Element owner,
QName qname,
java.lang.String value) |
Element |
createElement(QName qname) |
com.sun.msv.datatype.xsd.XSDatatype |
getAttributeXSDatatype(QName attributeQName)
DOCUMENT ME!
|
com.sun.msv.datatype.xsd.XSDatatype |
getChildElementXSDatatype(QName qname)
DOCUMENT ME!
|
QName |
getQName()
DOCUMENT ME!
|
void |
setAttributeXSDatatype(QName attributeQName,
com.sun.msv.datatype.xsd.XSDatatype type)
Registers the given
XSDatatype for the given
<attribute> QNames |
void |
setChildElementXSDatatype(QName qname,
com.sun.msv.datatype.xsd.XSDatatype dataType) |
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, getInstance, getQNames, getXPathNamespaceURIs, init, intern, setXPathNamespaceURIspublic DatatypeElementFactory(QName elementQName)
public QName getQName()
public com.sun.msv.datatype.xsd.XSDatatype getAttributeXSDatatype(QName attributeQName)
attributeQName - DOCUMENT ME!XSDatatype associated with the given Attribute
QNamepublic void setAttributeXSDatatype(QName attributeQName, com.sun.msv.datatype.xsd.XSDatatype type)
XSDatatype for the given
<attribute> QNamesattributeQName - DOCUMENT ME!type - DOCUMENT ME!public com.sun.msv.datatype.xsd.XSDatatype getChildElementXSDatatype(QName qname)
qname - DOCUMENT ME!XSDatatype associated with the given child
Element QNamepublic void setChildElementXSDatatype(QName qname, com.sun.msv.datatype.xsd.XSDatatype dataType)
public Element createElement(QName qname)
createElement in class DocumentFactorypublic Attribute createAttribute(Element owner, QName qname, java.lang.String value)
createAttribute in class DocumentFactory