org.exolab.castor.xml.schema
public abstract class AnnotationItem extends Structure
Version: $Revision: 5951 $ $Date: 2003-03-03 02:57:21 -0700 (Mon, 03 Mar 2003) $
Constructor Summary | |
---|---|
AnnotationItem()
Creates a new AnnotationItem |
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.
|
static void | getStringValue(AnyNode node, StringBuffer buffer)
Returns the concatenation of all the TEXT nodes in the given
AnyNode in document order
|
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. |
Parameters: object the Object to add
Returns: the String content of this Annotation item.
Returns: an Enumeration of all objects contained by this Annotation item.
Returns: the source property of this Annotation item.
Parameters: node the AnyNode to return the String value of buffer the StringBuffer to append to.
Returns: the type of this Schema Structure
Parameters: object the Object to remove
Parameters: source the value of the source property
Throws: ValidationException when this Schema definition is invalid.