|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jbind.xml.schema.cmp.Schemas
Singleton that provides access to schema components.
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)
|
static ISchemas |
getInstance()
|
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static ISchemas getInstance()
public ISchema getSchema(java.lang.String aNamespace)
ISchemas
getSchema
in interface ISchemas
aNamespace
- (required).
public IComponent getComponent(IRef aGlobalRef)
ISchemas
getComponent
in interface ISchemas
aGlobalRef
- (required)
public void setSchema(ISchema aSchema)
ISchemas
setSchema
in interface ISchemas
aSchema
- A schema.public void addEnumerationOption(java.lang.String aFqTypeName, java.lang.String anOptionName, IAnyTypeData aData)
addEnumerationOption
in interface ISchemas
public IAnyTypeData getEnumerationOption(java.lang.String aFqTypeName, java.lang.String anOptionName)
getEnumerationOption
in interface ISchemas
public void reset()
ISchemas
reset
in interface ISchemas
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |