org.gxos.config
Class UserDefinedObjects

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

public class UserDefinedObjects
extends CommentType
implements java.io.Serializable

A container which holds paths to the user defined objects.

See Also:
Serialized Form

Constructor Summary
UserDefinedObjects()
           
 
Method Summary
 void addCustomObject(CustomObject vCustomObject)
           
 void addCustomObject(int index, CustomObject vCustomObject)
           
 java.util.Enumeration enumerateCustomObject()
           
 CustomObject[] getCustomObject()
           
 CustomObject getCustomObject(int index)
           
 int getCustomObjectCount()
           
 boolean isValid()
           
 void marshal(org.xml.sax.DocumentHandler handler)
           
 void marshal(java.io.Writer out)
           
 void removeAllCustomObject()
           
 CustomObject removeCustomObject(int index)
           
 void setCustomObject(CustomObject[] customObjectArray)
           
 void setCustomObject(int index, CustomObject vCustomObject)
           
static UserDefinedObjects unmarshal(java.io.Reader reader)
           
 void validate()
           
 
Methods inherited from class org.gxos.config.CommentType
addComment, addComment, enumerateComment, getComment, getComment, getCommentCount, getContent, removeAllComment, removeComment, setComment, setComment, setContent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserDefinedObjects

public UserDefinedObjects()
Method Detail

addCustomObject

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

addCustomObject

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

enumerateCustomObject

public java.util.Enumeration enumerateCustomObject()

getCustomObject

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

getCustomObject

public CustomObject[] getCustomObject()

getCustomObjectCount

public int getCustomObjectCount()

isValid

public boolean isValid()
Overrides:
isValid in class CommentType

marshal

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

marshal

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

removeAllCustomObject

public void removeAllCustomObject()

removeCustomObject

public CustomObject removeCustomObject(int index)
Parameters:
index -  

setCustomObject

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

setCustomObject

public void setCustomObject(CustomObject[] customObjectArray)
Parameters:
customObjectArray -  

unmarshal

public static UserDefinedObjects 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
Overrides:
validate in class CommentType