|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface XMLRepository
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. |
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 |
removeSchema(java.lang.String dataName)
to remove the schema for the given data type from this repository. |
Method Detail |
---|
void putMultipleSchema(java.util.List schemaList) throws DirectoryFailure
schemaList
- a list containing XMLSchemaContainer objects.
DirectoryFailure
java.util.List getAllSchema() throws DirectoryFailure
DirectoryFailure
void putSchema(java.lang.String dataName, java.lang.String dataSchema) throws DirectoryFailure
dataName
- the name of the defined data type
DirectoryFailure
java.util.Vector getSchema(java.lang.String dataName) throws DirectoryFailure, DatatypeException
dataName
- the name of the data type to be retrieved
DirectoryFailure
DatatypeException
void removeSchema(java.lang.String dataName) throws DirectoryFailure, DatatypeException
dataName
- the name of the data type to be
removed.
DirectoryFailure
DatatypeException
void loadSchema(java.lang.String fileName) throws DirectoryFailure, DatatypeException
fileName
- the name of the file or the url
that stores schema definitions
DirectoryFailure
DatatypeException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |