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
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 |
UserDefinedObjects
public UserDefinedObjects()
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