org.exolab.castor.xml.schema
Class Annotated
- java.io.Serializable
public abstract class Annotated
A base class used for XML Structures that support annotations.
$Revision: 5951 $ $Date: 2006-04-14 04:14:43 -0600 (Fri, 14 Apr 2006) $
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 |
Annotated
public Annotated()
addAnnotation
public void addAnnotation(Annotation annotation)
Adds the given Annotation to this Annotated Structure
annotation
- the Annotation to add
getAnnotations
public Enumeration getAnnotations()
Returns an Enumeration of the Annotations contained within
this Annotated type
- an Enumeration of the Annotation contained within
this Annotated type
removeAnnotation
public void removeAnnotation(Annotation annotation)
Removes the given Annotation from this Annotated Structure
annotation
- the Annotation to remove
Intalio Inc. (C) 1999-2006. All rights reserved http://www.intalio.com