Class Annotation

  • All Implemented Interfaces:
    java.io.Serializable

    public class Annotation
    extends Structure
    A class representing the XML Schema Annotation.
    Version:
    $Revision: 7996 $ $Date: 2005-12-13 14:58:48 -0700 (Tue, 13 Dec 2005) $
    Author:
    Keith Visco
    See Also:
    Serialized Form
    • Constructor Detail

      • Annotation

        public Annotation()
    • Method Detail

      • addAppInfo

        public void addAppInfo​(AppInfo appInfo)
        Adds the given AppInfo to this annotation.
        Parameters:
        appInfo - the AppInfo to add
      • addDocumentation

        public void addDocumentation​(Documentation documentation)
        Adds the given Documentation to this Annotation.
        Parameters:
        documentation - the documentation to add to this Annotation
      • getAppInfo

        public java.util.Enumeration<AppInfo> getAppInfo()
        Returns an enumeration of all AppInfo elements for this Annotation.
        Returns:
        an enumeration of all AppInfo elements for this Annotation
      • getDocumentation

        public java.util.Enumeration<Documentation> getDocumentation()
        Returns an enumeration of all documentation elements for this Annotation.
        Returns:
        an enumeration of all documentation elements for this Annotation
      • removeAppInfo

        public void removeAppInfo​(AppInfo appInfo)
        Removes the given AppInfo from this Annotation.
        Parameters:
        appInfo - the AppInfo to remove
      • removeDocumentation

        public void removeDocumentation​(Documentation documentation)
        Removes the given Documentation from this Annotation.
        Parameters:
        documentation - the Documentation to remove
      • getStructureType

        public short getStructureType()
        Returns the type of this Schema Structure.
        Specified by:
        getStructureType in class Structure
        Returns:
        the type of this Schema Structure