Class SchemaSet

java.lang.Object
com.smartgwt.client.core.BaseClass
com.smartgwt.client.data.SchemaSet
All Implemented Interfaces:
HasHandlers

public class SchemaSet extends BaseClass
  • Constructor Details

    • SchemaSet

      public SchemaSet()
    • SchemaSet

      public SchemaSet(JavaScriptObject jsObj)
  • Method Details

    • getOrCreateRef

      public static SchemaSet getOrCreateRef(JavaScriptObject jsObj)
    • create

      public JavaScriptObject create()
      Specified by:
      create in class BaseClass
    • getSchema

      public DataSource getSchema(String schemaName)
      Get the schema definition of any complexType or element of complexType defined within the element this SchemaSet represents.
      Parameters:
      schemaName - name of the schema to retrieve
      Returns:
      the data source if schema found, or null
    • getSchema

      public DataSource getSchema(String schemaName, String schemaType)
      Get the schema definition of any complexType or element of complexType defined within the element this SchemaSet represents.
      Parameters:
      schemaName - name of the schema to retrieve
      schemaType - 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
      Returns:
      the data source if schema found, or null