org.gxos.config
Class CustomObjects

java.lang.Object
  |
  +--org.gxos.config.CustomObjects
All Implemented Interfaces:
java.io.Serializable

public class CustomObjects
extends java.lang.Object
implements java.io.Serializable

This is a list of user defined GXOS objects. At the time initialization, all of these Java classes are loaded into memory and registered with the XML unmarshaller.

See Also:
Serialized Form

Constructor Summary
CustomObjects()
           
 
Method Summary
 void addCustomObject(int index, java.lang.String vCustomObject)
           
 void addCustomObject(java.lang.String vCustomObject)
           
 java.util.Enumeration enumerateCustomObject()
           
 java.lang.String[] getCustomObject()
           
 java.lang.String getCustomObject(int index)
           
 int getCustomObjectCount()
           
 boolean isValid()
           
 void marshal(org.xml.sax.DocumentHandler handler)
           
 void marshal(java.io.Writer out)
           
 void removeAllCustomObject()
           
 java.lang.String removeCustomObject(int index)
           
 void setCustomObject(int index, java.lang.String vCustomObject)
           
 void setCustomObject(java.lang.String[] customObjectArray)
           
static CustomObjects unmarshal(java.io.Reader reader)
           
 void validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomObjects

public CustomObjects()
Method Detail

addCustomObject

public void addCustomObject(java.lang.String vCustomObject)
                     throws java.lang.IndexOutOfBoundsException
Parameters:
vCustomObject -  

addCustomObject

public void addCustomObject(int index,
                            java.lang.String vCustomObject)
                     throws java.lang.IndexOutOfBoundsException
Parameters:
index -  
vCustomObject -  

enumerateCustomObject

public java.util.Enumeration enumerateCustomObject()

getCustomObject

public java.lang.String getCustomObject(int index)
                                 throws java.lang.IndexOutOfBoundsException
Parameters:
index -  

getCustomObject

public java.lang.String[] getCustomObject()

getCustomObjectCount

public int getCustomObjectCount()

isValid

public boolean isValid()

marshal

public void marshal(java.io.Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Parameters:
out -  

marshal

public void marshal(org.xml.sax.DocumentHandler handler)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Parameters:
handler -  

removeAllCustomObject

public void removeAllCustomObject()

removeCustomObject

public java.lang.String removeCustomObject(int index)
Parameters:
index -  

setCustomObject

public void setCustomObject(int index,
                            java.lang.String vCustomObject)
                     throws java.lang.IndexOutOfBoundsException
Parameters:
index -  
vCustomObject -  

setCustomObject

public void setCustomObject(java.lang.String[] customObjectArray)
Parameters:
customObjectArray -  

unmarshal

public static CustomObjects unmarshal(java.io.Reader reader)
                               throws org.exolab.castor.xml.MarshalException,
                                      org.exolab.castor.xml.ValidationException
Parameters:
reader -  

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException