org.exolab.castor.xml.schema

Class Annotated

public abstract class Annotated extends Structure

A base class used for XML Structures that support annotations.

Version: $Revision: 1.1.1.1 $ $Date: 2003/03/03 07:09:27 $

Author: Keith Visco

Constructor Summary
Annotated()
Method Summary
voidaddAnnotation(Annotation annotation)
Adds the given Annotation to this Annotated Structure
EnumerationgetAnnotations()
Returns an Enumeration of the Annotations contained within this Annotated type
voidremoveAnnotation(Annotation annotation)
Removes the given Annotation from this Annotated Structure

Constructor Detail

Annotated

public Annotated()

Method Detail

addAnnotation

public void addAnnotation(Annotation annotation)
Adds the given Annotation to this Annotated Structure

Parameters: annotation the Annotation to add

getAnnotations

public Enumeration getAnnotations()
Returns an Enumeration of the Annotations contained within this Annotated type

Returns: an Enumeration of the Annotation contained within this Annotated type

removeAnnotation

public void removeAnnotation(Annotation annotation)
Removes the given Annotation from this Annotated Structure

Parameters: annotation the Annotation to remove

Intalio Inc. (C) 1999-2003. All rights reserved http://www.intalio.com