Package io.atlasmap.xml.core.schema
Class AtlasXmlSchemaSetParser
java.lang.Object
io.atlasmap.xml.core.schema.AtlasXmlSchemaSetParser
-
Constructor Summary
Constructors -
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.voidvoidsetRootNamespace(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- DOMDocumentinstance 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-InputStreamof 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-InputStreamto read schema contents from- Returns:
- Created
Schema - Throws:
AtlasException- If it fails to parse
-
setNamespaceContext
-
getNamespaceContext
-
setRootNamespace
-
getRootNamespace
-