Class DatatypeDocumentFactory

    • Constructor Detail

      • DatatypeDocumentFactory

        public DatatypeDocumentFactory()
    • Method Detail

      • getInstance

        public static DocumentFactory getInstance()

        Access to the singleton instance of this factory.

        Returns:
        the default singleon instance
      • loadSchema

        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.
        Parameters:
        schemaDocument - is an XML Schema Document instance.
      • loadSchema

        public void loadSchema​(Document schemaDocument,
                               Namespace targetNamespace)
      • getElementFactory

        public DatatypeElementFactory getElementFactory​(QName elementQName)
        Registers the given DatatypeElementFactory for the given <element> schema element
        Parameters:
        elementQName - DOCUMENT ME!
        Returns:
        DOCUMENT ME!
      • loadSchema

        protected void loadSchema​(Document document,
                                  java.lang.String schemaInstanceURI)
      • loadSchema

        protected void loadSchema​(Document document,
                                  java.lang.String schemaInstanceURI,
                                  Namespace namespace)