public abstract class Annotated extends Structure
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| Constructor and Description |
|---|
Annotated() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAnnotation(Annotation annotation)
Adds the given Annotation to this Annotated Structure.
|
java.util.Enumeration<Annotation> |
getAnnotations()
Returns an Enumeration of the Annotations contained within
this Annotated type.
|
void |
removeAnnotation(Annotation annotation)
Removes the given Annotation from this Annotated Structure.
|
getStructureType, isValid, validatepublic void addAnnotation(Annotation annotation)
annotation - the Annotation to addpublic java.util.Enumeration<Annotation> getAnnotations()
public void removeAnnotation(Annotation annotation)
annotation - the Annotation to removeIntalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com