java.io.Serializable
AttributeDecl
, AttributeGroup
, Facet
, IdentityConstraint
, IdentityField
, IdentitySelector
, Particle
, RedefineSchema
, Schema
, XMLType
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 | Description |
---|---|
Annotated() |
Modifier and Type | Method | 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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getStructureType, isValid, validate
public 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