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