Public Member Functions | |
Annotation () | |
void | addAppInfo (AppInfo appInfo) |
void | addDocumentation (Documentation documentation) |
Enumeration | getAppInfo () |
Enumeration | getDocumentation () |
void | removeAppInfo (AppInfo appInfo) |
void | removeDocumentation (Documentation documentation) |
short | getStructureType () |
void | validate () throws ValidationException |
A class representing the XML Schema Annotation
org.exolab.castor.xml.schema.Annotation.Annotation | ( | ) |
Creates a new Annotation
void org.exolab.castor.xml.schema.Annotation.addAppInfo | ( | AppInfo | appInfo | ) |
Adds the given AppInfo to this Annotation
appInfo | the AppInfo to add |
Referenced by org.exolab.castor.xml.schema.reader.AnnotationUnmarshaller.endElement().
void org.exolab.castor.xml.schema.Annotation.addDocumentation | ( | Documentation | documentation | ) |
Adds the given Documentation to this Annotation
documentation | the documentation to add to this Annotation |
Referenced by org.exolab.castor.xml.dtd.Converter.convertDTDObjectToSchemaObject(), and org.exolab.castor.xml.schema.reader.AnnotationUnmarshaller.endElement().
Enumeration org.exolab.castor.xml.schema.Annotation.getAppInfo | ( | ) |
Returns an enumeration of all AppInfo elements for this Annotation
Enumeration org.exolab.castor.xml.schema.Annotation.getDocumentation | ( | ) |
Returns an enumeration of all documentation elements for this Annotation
short org.exolab.castor.xml.schema.Annotation.getStructureType | ( | ) | [virtual] |
Returns the type of this Schema Structure
Implements org.exolab.castor.xml.schema.Structure.
void org.exolab.castor.xml.schema.Annotation.removeAppInfo | ( | AppInfo | appInfo | ) |
Removes the given AppInfo from this Annotation
appInfo | the AppInfo to remove |
void org.exolab.castor.xml.schema.Annotation.removeDocumentation | ( | Documentation | documentation | ) |
Removes the given Documentation from this Annotation
documentation | the Documentation to remove |
void org.exolab.castor.xml.schema.Annotation.validate | ( | ) | throws ValidationException [virtual] |
Checks the validity of this Schema defintion.
ValidationException | when this Schema definition is invalid. |
Implements org.exolab.castor.xml.schema.Structure.