public class SchemaSet extends JsObject
<xsd:schema>
element in a WSDL or XML schema file loaded by
XMLTools.loadWSDL(java.lang.String, com.smartgwt.client.data.WSDLLoadCallback)
or XMLTools.loadXMLSchema(java.lang.String, com.smartgwt.client.data.XSDLoadCallback)
.Constructor and Description |
---|
SchemaSet(com.google.gwt.core.client.JavaScriptObject jsObj) |
Modifier and Type | Method and Description |
---|---|
DataSource |
getSchema(java.lang.String schemaName)
Get the schema definition of any complexType or element of complexType defined within the
|
DataSource |
getSchema(java.lang.String schemaName,
java.lang.String schemaType)
Get the schema definition of any complexType or element of complexType defined within the
|
public DataSource getSchema(java.lang.String schemaName)
schemaName
- name of the schema to retrievepublic DataSource getSchema(java.lang.String schemaName, java.lang.String schemaType)
schemaName
- name of the schema to retrieveschemaType
- type of schema to return, either "element" for xs:element definitions only or "type" for
xs:complexType definitions. If unspecified, either will be returned, with types preferred if
names collide