Class AtlasXmlSchemaSetParser


  • public class AtlasXmlSchemaSetParser
    extends Object
    • Constructor Detail

      • AtlasXmlSchemaSetParser

        public AtlasXmlSchemaSetParser​(ClassLoader cl)
                                throws io.atlasmap.api.AtlasException
        Throws:
        io.atlasmap.api.AtlasException
    • Method Detail

      • parse

        public XSSchemaSet parse​(Document doc)
                          throws io.atlasmap.api.AtlasException
        Parse single XML Schema or SchemaSet which contains multiple XML Schema and build a XSSchemaSet.
        Parameters:
        doc - DOM Document instance of XML Schema
        Returns:
        parsed XSSchemaSet
        Throws:
        io.atlasmap.api.AtlasException - If it fails to parse
      • parse

        public XSSchemaSet parse​(InputStream in)
                          throws io.atlasmap.api.AtlasException
        Parse XML Schema or SchemaSet which contains multiple XML Schema and build a XSSchemaSet.
        Parameters:
        in - InputStream of XML Schema document
        Returns:
        parsed XSSchemaSet
        Throws:
        io.atlasmap.api.AtlasException - If it fails to parse
      • createSchema

        public Schema createSchema​(InputStream in)
                            throws io.atlasmap.api.AtlasException
        Parse single XML Schema or SchemaSet which contains multiple XML Schema and build a Schema.
        Parameters:
        in - InputStream to read schema contents from
        Returns:
        Created Schema
        Throws:
        io.atlasmap.api.AtlasException - If it fails to parse
      • setRootNamespace

        public void setRootNamespace​(String rootns)
      • getRootNamespace

        public String getRootNamespace()