| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.dom4j.DocumentFactory
org.dom4j.datatype.DatatypeDocumentFactory
 DatatypeDocumentFactory is a factory of XML objects which
 support the XML Schema Data Types
  specification.
 
| Field Summary | |
| protected static DatatypeDocumentFactory | singletonThe Singleton instance | 
| Fields inherited from class org.dom4j.DocumentFactory | 
| cache | 
| Constructor Summary | |
| DatatypeDocumentFactory() | |
| Method Summary | |
|  Attribute | createAttribute(Element owner,
                QName qname,
                String value) | 
|  DatatypeElementFactory | getElementFactory(QName elementQName)Registers the given DatatypeElementFactoryfor 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) | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
protected static transient DatatypeDocumentFactory singleton
| Constructor Detail | 
public DatatypeDocumentFactory()
| Method Detail | 
public static DocumentFactory getInstance()
Access to the singleton instance of this factory.
public void loadSchema(Document schemaDocument)
schemaDocument - is an XML Schema Document instance.
public void loadSchema(Document schemaDocument,
                       Namespace targetNamespace)
public DatatypeElementFactory getElementFactory(QName elementQName)
DatatypeElementFactory for the given
 <element> schema element
elementQName - DOCUMENT ME!
public Attribute createAttribute(Element owner,
                                 QName qname,
                                 String value)
createAttribute in class DocumentFactory
protected void loadSchema(Document document,
                          String schemaInstanceURI)
protected void loadSchema(Document document,
                          String schemaInstanceURI,
                          Namespace namespace)
| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||