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,
String value) |
Element |
createElement(QName qname) |
XSDatatype |
getAttributeXSDatatype(QName attributeQName)
DOCUMENT ME!
|
XSDatatype |
getChildElementXSDatatype(QName qname)
DOCUMENT ME!
|
QName |
getQName()
DOCUMENT ME!
|
void |
setAttributeXSDatatype(QName attributeQName,
XSDatatype type)
Registers the given
XSDatatype for the given
<attribute> QNames |
void |
setChildElementXSDatatype(QName qname,
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, setXPathNamespaceURIs
public DatatypeElementFactory(QName elementQName)
public QName getQName()
public XSDatatype getAttributeXSDatatype(QName attributeQName)
attributeQName
- DOCUMENT ME!XSDatatype
associated with the given Attribute
QNamepublic void setAttributeXSDatatype(QName attributeQName, XSDatatype type)
XSDatatype
for the given
<attribute> QNamesattributeQName
- DOCUMENT ME!type
- DOCUMENT ME!public XSDatatype getChildElementXSDatatype(QName qname)
qname
- DOCUMENT ME!XSDatatype
associated with the given child
Element QNamepublic void setChildElementXSDatatype(QName qname, XSDatatype dataType)
public Element createElement(QName qname)
createElement
in class DocumentFactory
public Attribute createAttribute(Element owner, QName qname, String value)
createAttribute
in class DocumentFactory
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.