Package io.atlasmap.xml.core.schema
Class AtlasXmlSchemaSetParser
java.lang.Object
io.atlasmap.xml.core.schema.AtlasXmlSchemaSetParser
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionParse single XML Schema or SchemaSet which contains multiple XML Schema and build aSchema
.parse
(InputStream in) Parse XML Schema or SchemaSet which contains multiple XML Schema and build aXSSchemaSet
.Parse single XML Schema or SchemaSet which contains multiple XML Schema and build aXSSchemaSet
.void
void
setRootNamespace
(String rootns)
-
Constructor Details
-
AtlasXmlSchemaSetParser
- Throws:
AtlasException
-
-
Method Details
-
parse
Parse single XML Schema or SchemaSet which contains multiple XML Schema and build aXSSchemaSet
.- Parameters:
doc
- DOMDocument
instance of XML Schema- Returns:
- parsed
XSSchemaSet
- Throws:
AtlasException
- If it fails to parse
-
parse
Parse XML Schema or SchemaSet which contains multiple XML Schema and build aXSSchemaSet
.- Parameters:
in
-InputStream
of XML Schema document- Returns:
- parsed
XSSchemaSet
- Throws:
AtlasException
- If it fails to parse
-
createSchema
Parse single XML Schema or SchemaSet which contains multiple XML Schema and build aSchema
.- Parameters:
in
-InputStream
to read schema contents from- Returns:
- Created
Schema
- Throws:
AtlasException
- If it fails to parse
-
setNamespaceContext
-
getNamespaceContext
-
setRootNamespace
-
getRootNamespace
-