|
||||||||||
| 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.Annotation
public class Annotation
A class representing the XML Schema Annotation.
| 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 | |
|---|---|
Annotation()
|
|
| Method Summary | |
|---|---|
void |
addAppInfo(AppInfo appInfo)
Adds the given AppInfo to this annotation. |
void |
addDocumentation(Documentation documentation)
Adds the given Documentation to this Annotation. |
Enumeration<AppInfo> |
getAppInfo()
Returns an enumeration of all AppInfo elements for this Annotation. |
Enumeration<Documentation> |
getDocumentation()
Returns an enumeration of all documentation elements for this Annotation. |
short |
getStructureType()
Returns the type of this Schema Structure. |
void |
removeAppInfo(AppInfo appInfo)
Removes the given AppInfo from this Annotation. |
void |
removeDocumentation(Documentation documentation)
Removes the given Documentation from this Annotation. |
void |
validate()
Checks the validity of this Schema definition. |
| Methods inherited from class org.exolab.castor.xml.schema.Structure |
|---|
isValid |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Annotation()
| Method Detail |
|---|
public void addAppInfo(AppInfo appInfo)
AppInfo to this annotation.
appInfo - the AppInfo to addpublic void addDocumentation(Documentation documentation)
documentation - the documentation to add to this Annotationpublic Enumeration<AppInfo> getAppInfo()
AppInfo elements for this Annotation.
AppInfo elements for this Annotationpublic Enumeration<Documentation> getDocumentation()
public void removeAppInfo(AppInfo appInfo)
appInfo - the AppInfo to removepublic void removeDocumentation(Documentation documentation)
Documentation from this Annotation.
documentation - the Documentation to removepublic short getStructureType()
getStructureType in class Structure
public void validate()
throws ValidationException
validate in class StructureValidationException - when this Schema definition
is invalid.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||