public class AtlasXmlSchemaSetParser extends Object
| Constructor and Description |
|---|
AtlasXmlSchemaSetParser(ClassLoader cl) |
| Modifier and Type | Method and Description |
|---|---|
Schema |
createSchema(InputStream in)
Parse single XML Schema or SchemaSet which contains multiple XML Schema and
build a
Schema. |
AtlasXmlNamespaceContext |
getNamespaceContext() |
String |
getRootNamespace() |
XSSchemaSet |
parse(Document doc)
Parse single XML Schema or SchemaSet which contains multiple XML Schema and
build a
XSSchemaSet. |
XSSchemaSet |
parse(InputStream in)
Parse XML Schema or SchemaSet which contains multiple XML Schema and
build a
XSSchemaSet. |
void |
setNamespaceContext(AtlasXmlNamespaceContext nsc) |
void |
setRootNamespace(String rootns) |
public AtlasXmlSchemaSetParser(ClassLoader cl) throws io.atlasmap.api.AtlasException
io.atlasmap.api.AtlasExceptionpublic XSSchemaSet parse(Document doc) throws io.atlasmap.api.AtlasException
XSSchemaSet.doc - DOM Document instance of XML SchemaXSSchemaSetio.atlasmap.api.AtlasException - If it fails to parsepublic XSSchemaSet parse(InputStream in) throws io.atlasmap.api.AtlasException
XSSchemaSet.in - InputStream of XML Schema documentXSSchemaSetio.atlasmap.api.AtlasException - If it fails to parsepublic Schema createSchema(InputStream in) throws io.atlasmap.api.AtlasException
Schema.in - InputStream to read schema contents fromSchemaio.atlasmap.api.AtlasException - If it fails to parsepublic void setNamespaceContext(AtlasXmlNamespaceContext nsc)
public AtlasXmlNamespaceContext getNamespaceContext()
public void setRootNamespace(String rootns)
public String getRootNamespace()
Copyright © 2021 JBoss by Red Hat. All rights reserved.