|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectkaos.xmlschema.repository.XMLRepositoryImpl
public class XMLRepositoryImpl
| Constructor Summary | |
|---|---|
XMLRepositoryImpl()
|
|
| Method Summary | |
|---|---|
java.util.List |
getAllSchema()
to retrieve all schemas in the repositiry. |
java.util.Vector |
getSchema(java.lang.String dataName)
to retrieve the schema for the given data type. |
XMLSchemaBuilderImpl |
getSchemaObject(java.lang.String dataName)
|
void |
loadSchema(java.lang.String fileName)
to load schema definitions of data types from a file. |
void |
putMultipleSchema(java.util.List schemaList)
to store multiple schemas in the repositiry. |
void |
putSchema(java.lang.String dataName,
java.lang.String dataSchema)
to store the given schema definition under the name of that user defined data type |
void |
putSchemaObject(java.lang.String dataName,
XMLSchemaBuilderImpl data)
|
void |
removeSchema(java.lang.String dataName)
to remove the schema for the given data type from this repository. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XMLRepositoryImpl()
| Method Detail |
|---|
public void putMultipleSchema(java.util.List schemaList)
putMultipleSchema in interface XMLRepositoryschemaList - a list containing XMLSchemaContainer objects.public java.util.List getAllSchema()
getAllSchema in interface XMLRepository
public void putSchema(java.lang.String dataName,
java.lang.String dataSchema)
putSchema in interface XMLRepositorydataName - the name of the defined data type.
public void putSchemaObject(java.lang.String dataName,
XMLSchemaBuilderImpl data)
public java.util.Vector getSchema(java.lang.String dataName)
throws DatatypeException
getSchema in interface XMLRepositorydataName - the name of the data type to be
retrieved.
DatatypeException
public XMLSchemaBuilderImpl getSchemaObject(java.lang.String dataName)
throws DatatypeException
DatatypeException
public void removeSchema(java.lang.String dataName)
throws DatatypeException
removeSchema in interface XMLRepositorydataName - the name of the data type to be
removed.
DatatypeException
public void loadSchema(java.lang.String fileName)
throws DatatypeException
loadSchema in interface XMLRepositoryfileName - the name of the file or the url
that stores schema definitions
DatatypeException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||