Public Member Functions | Package Functions | Static Package Functions

org.exolab.castor.xml.schema.AnnotationItem Class Reference

Inheritance diagram for org.exolab.castor.xml.schema.AnnotationItem:
org.exolab.castor.xml.schema.Structure org.exolab.castor.xml.schema.AppInfo org.exolab.castor.xml.schema.Documentation

List of all members.

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)

Detailed Description

A class which represents the superclass of either AppInfo or Documentation element.

Author:
Keith Visco
Version:
Revision:
1.1
Date:
2003/03/03 09:57:19

Constructor & Destructor Documentation

org.exolab.castor.xml.schema.AnnotationItem.AnnotationItem (  )  [package]

Creates a new AnnotationItem


Member Function Documentation

String org.exolab.castor.xml.schema.AnnotationItem.getContent (  ) 

Returns the String content of this Annotation item.

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.

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.

Returns:
the source property of this Annotation 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

Parameters:
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]
void org.exolab.castor.xml.schema.AnnotationItem.remove ( Object  object  ) 

Removes the given Object from this Annotation item.

Parameters:
object the Object to remove
void org.exolab.castor.xml.schema.AnnotationItem.setSource ( String  source  ) 

Sets the source property for this Annotaion item.

Parameters:
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.

Exceptions:
ValidationException when this Schema definition is invalid.

Implements org.exolab.castor.xml.schema.Structure.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties