org.exolab.castor.xml.schema
Class Annotation
- java.io.Serializable
A class representing the XML Schema Annotation
$Revision: 1.1.1.1 $ $Date: 2003/03/03 07:09:27 $
ANNOTATION , ANYTYPE , APPINFO , ATTRIBUTE , ATTRIBUTE_GROUP , COMPLEX_CONTENT , COMPLEX_TYPE , DOCUMENTATION , ELEMENT , FACET , GROUP , IDENTITY_FIELD , IDENTITY_SELECTOR , KEY , KEYREF , LIST , MODELGROUP , MODELGROUP_REF , REDEFINE , SCHEMA , SIMPLE_CONTENT , SIMPLE_TYPE , UNION , UNIQUE , UNKNOWN , WILDCARD |
Annotation
public Annotation()
Creates a new Annotation
addAppInfo
public void addAppInfo(AppInfo appInfo)
Adds the given AppInfo to this Annotation
appInfo
- the AppInfo to add
addDocumentation
public void addDocumentation(Documentation documentation)
Adds the given Documentation to this Annotation
documentation
- the documentation to add to this Annotation
getAppInfo
public Enumeration getAppInfo()
Returns an enumeration of all AppInfo elements for this Annotation
- an enumeration of all AppInfo elements for this Annotation
getDocumentation
public Enumeration getDocumentation()
Returns an enumeration of all documentation elements for this Annotation
- an enumeration of all documentation elements for this Annotation
getStructureType
public short getStructureType()
Returns the type of this Schema Structure
- getStructureType in interface Structure
- the type of this Schema Structure
removeAppInfo
public void removeAppInfo(AppInfo appInfo)
Removes the given AppInfo from this Annotation
appInfo
- the AppInfo to remove
removeDocumentation
public void removeDocumentation(Documentation documentation)
Removes the given Documentation from this Annotation
documentation
- the Documentation to remove
Intalio Inc. (C) 1999-2003. All rights reserved http://www.intalio.com