public class XSModelTypes extends WSDLTypes
Constructor and Description |
---|
XSModelTypes() |
Modifier and Type | Method and Description |
---|---|
void |
addSchemaModel(String nsURI,
JBossXSModel schema)
Add a schema model for a given namespaceURI
|
JBossXSModel |
getSchemaModel()
Return the global Schema Model
|
QName |
getXMLType(QName xmlName)
Get the xmlType from a given element xmlName
|
String |
toString() |
getNamespace, getWsdlDefinitions, setNamespace
public void addSchemaModel(String nsURI, JBossXSModel schema)
nsURI
- the namespaceURI under which the model has been generatedschema
- the Schema Model that needs to be added to existing schema
model in WSDLTypes
Passing a null nsURI will replace the internal schema model held by WSDLTypes by the model passed as an argument.
public JBossXSModel getSchemaModel()
public QName getXMLType(QName xmlName)
getXMLType
in class WSDLTypes
Copyright © 2013 JBoss, by Red Hat. All Rights Reserved.