org.gxos.config
Class CommentType
java.lang.Object
|
+--org.gxos.config.CommentType
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- ClassName, ConfigFile, ContextManager, CustomObject, FileLocation, FileURL, GNDI, GXOSConfiguration, InitialContextFactory, LoadAll, PersonalInfoImplementation, ProviderURL, SubContextFactory, SubJNDI, SubProviderURL, UserDefinedObjects
- public abstract class CommentType
- extends java.lang.Object
- implements java.io.Serializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommentType
public CommentType()
addComment
public void addComment(Comment vComment)
throws java.lang.IndexOutOfBoundsException
- Parameters:
vComment
-
addComment
public void addComment(int index,
Comment vComment)
throws java.lang.IndexOutOfBoundsException
- Parameters:
index
- vComment
-
enumerateComment
public java.util.Enumeration enumerateComment()
getComment
public Comment getComment(int index)
throws java.lang.IndexOutOfBoundsException
- Parameters:
index
-
getComment
public Comment[] getComment()
getCommentCount
public int getCommentCount()
getContent
public java.lang.String getContent()
isValid
public boolean isValid()
marshal
public abstract void marshal(java.io.Writer out)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
- Parameters:
out
-
marshal
public abstract void marshal(org.xml.sax.DocumentHandler handler)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
- Parameters:
handler
-
removeAllComment
public void removeAllComment()
removeComment
public Comment removeComment(int index)
- Parameters:
index
-
setComment
public void setComment(int index,
Comment vComment)
throws java.lang.IndexOutOfBoundsException
- Parameters:
index
- vComment
-
setComment
public void setComment(Comment[] commentArray)
- Parameters:
commentArray
-
setContent
public void setContent(java.lang.String content)
- Parameters:
content
-
validate
public void validate()
throws org.exolab.castor.xml.ValidationException