org.exolab.castor.xml.schema
Class AnnotationItem
- java.io.Serializable
public abstract class AnnotationItem
A class which represents the superclass of
either AppInfo or Documentation element.
$Revision: 1.1 $ $Date: 2003/03/03 09:57:19 $
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 |
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.
|
(package private) 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.
|
AnnotationItem
(package private) AnnotationItem()
Creates a new AnnotationItem
add
public void add(Object object)
Adds the given Object to this Annotation item.
object
- the Object to add
getContent
public String getContent()
Returns the String content of this Annotation item.
- the String content of this Annotation item.
getObjects
public Enumeration getObjects()
Returns an Enumeration of all objects contained by this Annotation item.
- an Enumeration of all objects contained by this Annotation item.
getSource
public String getSource()
Returns the source property of this Annotaion item.
- the source property of this Annotation item.
getStringValue
(package private) static final void getStringValue(AnyNode node,
StringBuffer buffer)
Returns the concatenation of all the TEXT nodes in the given
AnyNode in document order
node
- the AnyNode to return the String value ofbuffer
- the StringBuffer to append to.
getStructureType
public abstract short getStructureType()
Returns the type of this Schema Structure
- getStructureType in interface Structure
- the type of this Schema Structure
remove
public void remove(Object object)
Removes the given Object from this Annotation item.
object
- the Object to remove
setSource
public void setSource(String source)
Sets the source property for this Annotaion item.
source
- the value of the source property
Intalio Inc. (C) 1999-2003. All rights reserved http://www.intalio.com