org.dom4j.datatype
public class DatatypeDocumentFactory extends DocumentFactory
DatatypeDocumentFactory
is a factory of XML objects which
support the XML Schema Data Types
specification.
Version: $Revision: 1.9 $
Field Summary | |
---|---|
protected static DatatypeDocumentFactory | singleton The Singleton instance |
Constructor Summary | |
---|---|
DatatypeDocumentFactory() |
Method Summary | |
---|---|
Attribute | createAttribute(Element owner, QName qname, String value) |
DatatypeElementFactory | getElementFactory(QName elementQName)
Registers the given DatatypeElementFactory for the given
<element> schema element
|
static DocumentFactory | getInstance() Access to the singleton instance of this factory. |
void | loadSchema(Document schemaDocument)
Loads the given XML Schema document into this factory so schema-aware
Document, Elements and Attributes will be created by this factory.
|
void | loadSchema(Document schemaDocument, Namespace targetNamespace) |
protected void | loadSchema(Document document, String schemaInstanceURI) |
protected void | loadSchema(Document document, String schemaInstanceURI, Namespace namespace) |
DatatypeElementFactory
for the given
<element> schema element
Parameters: elementQName DOCUMENT ME!
Returns: DOCUMENT ME!
Access to the singleton instance of this factory.
Returns: the default singleon instance
Parameters: schemaDocument is an XML Schema Document instance.