DatatypeDocumentFactory is a factory of XML objects which
support the XML Schema Data Types
specification.
| Modifier and Type | Field and Description |
|---|---|
| private boolean | autoLoadSchema
If schemas are automatically loaded when parsing instance documents |
| private static final boolean | |
| private SchemaParser | schemaBuilder
The builder of XML Schemas |
| protected static transient DatatypeDocumentFactory | singleton
The Singleton instance
|
| private SAXReader | xmlSchemaReader
reader of XML Schemas |
| private static final Namespace | |
| private static final QName | |
| private static final QName |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Attribute | createAttribute(Element owner, QName qname, String value)
Overrides org. |
| public DatatypeElementFactory | Returns: DOCUMENT ME!DOCUMENT ME! elementQName)Registers the given |
| public static DocumentFactory | Returns: the default singleon instanceHides org. Access to the singleton instance of this factory. |
| public void | loadSchema(Document
is an XML Schema Document instance. schemaDocument)Loads the given XML Schema document into this factory so schema-aware Document, Elements and Attributes will be created by this factory. |
| public void | |
| protected void | |
| protected void |
| autoLoadSchema | back to summary |
|---|---|
| private boolean autoLoadSchema If schemas are automatically loaded when parsing instance documents | |
| DO_INTERN_QNAME | back to summary |
|---|---|
| private static final boolean DO_INTERN_QNAME | |
| schemaBuilder | back to summary |
|---|---|
| private SchemaParser schemaBuilder The builder of XML Schemas | |
| singleton | back to summary |
|---|---|
| protected static transient DatatypeDocumentFactory singleton Hides org. The Singleton instance | |
| xmlSchemaReader | back to summary |
|---|---|
| private SAXReader xmlSchemaReader reader of XML Schemas | |
| XSI_NAMESPACE | back to summary |
|---|---|
| private static final Namespace XSI_NAMESPACE | |
| XSI_NO_SCHEMA_LOCATION | back to summary |
|---|---|
| private static final QName XSI_NO_SCHEMA_LOCATION | |
| XSI_SCHEMA_LOCATION | back to summary |
|---|---|
| private static final QName XSI_SCHEMA_LOCATION | |
| DatatypeDocumentFactory | back to summary |
|---|---|
| public DatatypeDocumentFactory() | |
| createAttribute | back to summary |
|---|---|
| public Attribute createAttribute(Element owner, QName qname, String value) Overrides org. | |
| getElementFactory | back to summary |
|---|---|
| public DatatypeElementFactory getElementFactory(QName elementQName) Registers the given
| |
| getInstance | back to summary |
|---|---|
| public static DocumentFactory getInstance() Hides org. Access to the singleton instance of this factory.
| |
| loadSchema | back to summary |
|---|---|
| public 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.
| |
| loadSchema | back to summary |
|---|---|
| public void loadSchema(Document schemaDocument, Namespace targetNamespace) | |
| loadSchema | back to summary |
|---|---|
| protected void loadSchema(Document document, String schemaInstanceURI) | |
| loadSchema | back to summary |
|---|---|
| protected void loadSchema(Document document, String schemaInstanceURI, Namespace namespace) | |