org.exolab.castor.xml.schema
public class Annotation extends Structure
Version: $Revision: 1.1.1.1 $ $Date: 2003/03/03 07:09:27 $
| Constructor Summary | |
|---|---|
| Annotation()
Creates a new Annotation
| |
| Method Summary | |
|---|---|
| void | addAppInfo(AppInfo appInfo)
Adds the given AppInfo to this Annotation |
| void | addDocumentation(Documentation documentation)
Adds the given Documentation to this Annotation |
| Enumeration | getAppInfo()
Returns an enumeration of all AppInfo elements for this Annotation |
| Enumeration | getDocumentation()
Returns an enumeration of all documentation elements for this Annotation |
| short | getStructureType()
Returns the type of this Schema Structure |
| void | removeAppInfo(AppInfo appInfo)
Removes the given AppInfo from this Annotation |
| void | removeDocumentation(Documentation documentation)
Removes the given Documentation from this Annotation |
| void | validate()
Checks the validity of this Schema defintion. |
Parameters: appInfo the AppInfo to add
Parameters: documentation the documentation to add to this Annotation
Returns: an enumeration of all AppInfo elements for this Annotation
Returns: an enumeration of all documentation elements for this Annotation
Returns: the type of this Schema Structure
Parameters: appInfo the AppInfo to remove
Parameters: documentation the Documentation to remove
Throws: ValidationException when this Schema definition is invalid.