org.jbind.xml.core.cmp
Interface ISchemas

All Known Implementing Classes:
Schemas

public interface ISchemas


Method Summary
 void addEnumerationOption(java.lang.String aFqTypeName, java.lang.String anOptionName, IAnyTypeData aData)
           
 IComponent getComponent(IRef aGlobalRef)
          Gets a commponent.
 IAnyTypeData getEnumerationOption(java.lang.String aFqTypeName, java.lang.String anOptionName)
           
 ISchema getSchema(java.lang.String aNamespace)
          Gets the schema for the specified namespace.
 void reset()
          Clears all schema information.
 void setSchema(ISchema aSchema)
          Sets the specified schema.
 

Method Detail

getSchema

public ISchema getSchema(java.lang.String aNamespace)
Gets the schema for the specified namespace.

Parameters:
aNamespace - (required).
Returns:
(optional).

setSchema

public void setSchema(ISchema aSchema)
Sets the specified schema.

Parameters:
aSchema - A schema.

getComponent

public IComponent getComponent(IRef aGlobalRef)
Gets a commponent.

Parameters:
aGlobalRef - (required)
Returns:
(optional)

getEnumerationOption

public IAnyTypeData getEnumerationOption(java.lang.String aFqTypeName,
                                         java.lang.String anOptionName)

addEnumerationOption

public void addEnumerationOption(java.lang.String aFqTypeName,
                                 java.lang.String anOptionName,
                                 IAnyTypeData aData)

reset

public void reset()
Clears all schema information.