org.exolab.castor.xml.schema
Class AppInfo

java.lang.Object
  extended byorg.exolab.castor.xml.schema.Structure
      extended byorg.exolab.castor.xml.schema.AppInfo
All Implemented Interfaces:
java.io.Serializable

public class AppInfo
extends Structure

A class which represents the AppInfo element

Version:
$Revision: 1.2 $ $Date: 2000/11/04 01:31:15 $
Author:
Keith Visco
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.exolab.castor.xml.schema.Structure
ANNOTATION, 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
 
Constructor Summary
AppInfo()
          Creates a new AppInfo
 
Method Summary
 void add(java.lang.Object object)
          Adds the given Object to this AppInfo
 java.lang.String getContent()
          Returns the String content of this AppInfo
 java.util.Enumeration getObjects()
          Returns an Enumeration of all objects contained by this AppInfo.
 java.lang.String getSource()
          Returns the source property of this AppInfo
 short getStructureType()
          Returns the type of this Schema Structure
 void remove(java.lang.Object object)
          Removes the given Object from this AppInfo
 void setContent(java.lang.String content)
          Sets the String content for this AppInfo
 void setSource(java.lang.String source)
          Sets the source property for this AppInfo
 void validate()
          Checks the validity of this Schema defintion.
 
Methods inherited from class org.exolab.castor.xml.schema.Structure
isValid
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AppInfo

public AppInfo()
Creates a new AppInfo

Method Detail

add

public void add(java.lang.Object object)
Adds the given Object to this AppInfo

Parameters:
object - the Object to add

getContent

public java.lang.String getContent()
Returns the String content of this AppInfo

Returns:
the String content of this AppInfo

getObjects

public java.util.Enumeration getObjects()
Returns an Enumeration of all objects contained by this AppInfo.

Returns:
an Enumeration of all objects contained by this AppInfo.

getSource

public java.lang.String getSource()
Returns the source property of this AppInfo

Returns:
the source property of this AppInfo

remove

public void remove(java.lang.Object object)
Removes the given Object from this AppInfo

Parameters:
object - the Object to remove

setContent

public void setContent(java.lang.String content)
Sets the String content for this AppInfo

Parameters:
content - the String content for this AppInfo

setSource

public void setSource(java.lang.String source)
Sets the source property for this AppInfo

Parameters:
source - the value of the source property

getStructureType

public short getStructureType()
Returns the type of this Schema Structure

Specified by:
getStructureType in class Structure
Returns:
the type of this Schema Structure

validate

public void validate()
              throws ValidationException
Checks the validity of this Schema defintion.

Specified by:
validate in class Structure
Throws:
ValidationException - when this Schema definition is invalid.


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