Public Member Functions | |
void | add (Object object) |
String | getContent () |
Enumeration | getObjects () |
String | getSource () |
void | remove (Object object) |
void | setSource (String source) |
abstract short | getStructureType () |
void | validate () throws ValidationException |
Package Functions | |
AnnotationItem () | |
Static Package Functions | |
static final void | getStringValue (AnyNode node, StringBuffer buffer) |
A class which represents the superclass of either AppInfo or Documentation element.
org.exolab.castor.xml.schema.AnnotationItem.AnnotationItem | ( | ) | [package] |
Creates a new AnnotationItem
void org.exolab.castor.xml.schema.AnnotationItem.add | ( | Object | object | ) |
Adds the given Object to this Annotation item.
object | the Object to add |
Referenced by org.exolab.castor.xml.schema.reader.DocumentationUnmarshaller.characters(), org.exolab.castor.xml.schema.reader.AppInfoUnmarshaller.characters(), org.exolab.castor.xml.dtd.Converter.convertDTDObjectToSchemaObject(), org.exolab.castor.xml.schema.reader.DocumentationUnmarshaller.endElement(), and org.exolab.castor.xml.schema.reader.AppInfoUnmarshaller.endElement().
String org.exolab.castor.xml.schema.AnnotationItem.getContent | ( | ) |
Returns the String content of this Annotation item.
References org.exolab.castor.xml.schema.AnnotationItem.getStringValue().
Enumeration org.exolab.castor.xml.schema.AnnotationItem.getObjects | ( | ) |
Returns an Enumeration of all objects contained by this Annotation item.
String org.exolab.castor.xml.schema.AnnotationItem.getSource | ( | ) |
Returns the source property of this Annotaion item.
static final void org.exolab.castor.xml.schema.AnnotationItem.getStringValue | ( | AnyNode | node, | |
StringBuffer | buffer | |||
) | [static, package] |
Returns the concatenation of all the TEXT nodes in the given AnyNode in document order
node | the AnyNode to return the String value of | |
buffer | the StringBuffer to append to. |
References org.exolab.castor.types.AnyNode.getFirstChild(), org.exolab.castor.types.AnyNode.getNextSibling(), org.exolab.castor.types.AnyNode.getNodeType(), org.exolab.castor.types.AnyNode.getStringValue(), and org.exolab.castor.types.AnyNode.TEXT.
Referenced by org.exolab.castor.xml.schema.AnnotationItem.getContent().
abstract short org.exolab.castor.xml.schema.AnnotationItem.getStructureType | ( | ) | [pure virtual] |
Returns the type of this Schema Structure
Implements org.exolab.castor.xml.schema.Structure.
Implemented in org.exolab.castor.xml.schema.AppInfo, and org.exolab.castor.xml.schema.Documentation.
void org.exolab.castor.xml.schema.AnnotationItem.remove | ( | Object | object | ) |
Removes the given Object from this Annotation item.
object | the Object to remove |
void org.exolab.castor.xml.schema.AnnotationItem.setSource | ( | String | source | ) |
Sets the source property for this Annotaion item.
source | the value of the source property |
Referenced by org.exolab.castor.xml.schema.reader.AppInfoUnmarshaller.AppInfoUnmarshaller(), and org.exolab.castor.xml.schema.reader.DocumentationUnmarshaller.DocumentationUnmarshaller().
void org.exolab.castor.xml.schema.AnnotationItem.validate | ( | ) | throws ValidationException [virtual] |
Checks the validity of this Schema defintion.
ValidationException | when this Schema definition is invalid. |
Implements org.exolab.castor.xml.schema.Structure.