Public Member Functions

org.exolab.castor.xml.schema.Annotation Class Reference

Inheritance diagram for org.exolab.castor.xml.schema.Annotation:
org.exolab.castor.xml.schema.Structure

List of all members.

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

Detailed Description

A class representing the XML Schema Annotation

Author:
Keith Visco
Version:
Revision:
1.1.1.1
Date:
2003/03/03 07:09:27

Constructor & Destructor Documentation

org.exolab.castor.xml.schema.Annotation.Annotation (  ) 

Creates a new Annotation


Member Function Documentation

void org.exolab.castor.xml.schema.Annotation.addAppInfo ( AppInfo  appInfo  ) 

Adds the given AppInfo to this Annotation

Parameters:
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  ) 
Enumeration org.exolab.castor.xml.schema.Annotation.getAppInfo (  ) 

Returns an enumeration of all AppInfo elements for this Annotation

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

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

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

Parameters:
appInfo the AppInfo to remove
void org.exolab.castor.xml.schema.Annotation.removeDocumentation ( Documentation  documentation  ) 

Removes the given Documentation from this Annotation

Parameters:
documentation the Documentation to remove
void org.exolab.castor.xml.schema.Annotation.validate (  )  throws ValidationException [virtual]

Checks the validity of this Schema defintion.

Exceptions:
ValidationException when this Schema definition is invalid.

Implements org.exolab.castor.xml.schema.Structure.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties