|
|||||||||
| 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
This class defines the methods that allow to store and retrieve XMLSchema definitions $Revision: 1.14 $
| Constructor Summary | |
|---|---|
XMLRepositoryImpl()
Empty constructor |
|
| 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. |
| 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<XMLSchemaContainer> schemaList)
putMultipleSchema in interface XMLRepositoryschemaList - a list containing XMLSchemaContainer objects.public java.util.List<XMLSchemaContainer> 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 java.util.List<java.lang.String> getSchema(java.lang.String dataName)
throws org.relaxng.datatype.DatatypeException
getSchema in interface XMLRepositorydataName - the name of the data type to be retrieved
org.relaxng.datatype.DatatypeException
public void removeSchema(java.lang.String dataName)
throws org.relaxng.datatype.DatatypeException
removeSchema in interface XMLRepositorydataName - the name of the data type to be removed.
org.relaxng.datatype.DatatypeException
public void loadSchema(java.lang.String fileName)
throws org.relaxng.datatype.DatatypeException
loadSchema in interface XMLRepositoryfileName - the name of the file or the url that stores schema definitions
org.relaxng.datatype.DatatypeException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||