|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exolab.castor.xml.schema.Structure
org.exolab.castor.xml.schema.Annotated
public abstract class Annotated
A base class used for XML Structures that support annotations.
Field Summary |
---|
Fields inherited from class org.exolab.castor.xml.schema.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 Summary | |
---|---|
Annotated()
|
Method Summary | |
---|---|
void |
addAnnotation(Annotation annotation)
Adds the given Annotation to this Annotated Structure |
java.util.Enumeration |
getAnnotations()
Returns an Enumeration of the Annotations contained within this Annotated type |
void |
removeAnnotation(Annotation annotation)
Removes the given Annotation from this Annotated Structure |
Methods inherited from class org.exolab.castor.xml.schema.Structure |
---|
getStructureType, isValid, validate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Annotated()
Method Detail |
---|
public void addAnnotation(Annotation annotation)
annotation
- the Annotation to addpublic java.util.Enumeration getAnnotations()
public void removeAnnotation(Annotation annotation)
annotation
- the Annotation to remove
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |