|
||||||||||
| 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.AnnotationItem
public abstract class AnnotationItem
A class which represents the superclass of either AppInfo or Documentation element.
| 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 |
| Method Summary | |
|---|---|
void |
add(Object object)
Adds the given Object to this Annotation item. |
String |
getContent()
Returns the String content of this Annotation item. |
Enumeration |
getObjects()
Returns an Enumeration of all objects contained by this Annotation item. |
String |
getSource()
Returns the source property of this Annotaion item. |
abstract short |
getStructureType()
Returns the type of this Schema Structure |
void |
remove(Object object)
Removes the given Object from this Annotation item. |
void |
setSource(String source)
Sets the source property for this Annotaion item. |
void |
validate()
Checks the validity of this Schema defintion. |
| 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 |
| Method Detail |
|---|
public void add(Object object)
object - the Object to addpublic String getContent()
public Enumeration getObjects()
public String getSource()
public void remove(Object object)
object - the Object to removepublic void setSource(String source)
source - the value of the source propertypublic abstract 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 | |||||||||