org.gxos.config
Class Comment

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

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

This comment element has two optional attributes: date and type. Date refers to the date element was added. Type might be initial, revision, removed, altered, etc. This is not an enumeration but a free form.

See Also:
Serialized Form

Constructor Summary
Comment()
           
 
Method Summary
 java.lang.String getAbout()
           
 java.lang.String getContent()
           
 org.exolab.castor.types.Date getDate()
           
 java.lang.String getType()
           
 boolean isValid()
           
 void marshal(org.xml.sax.DocumentHandler handler)
           
 void marshal(java.io.Writer out)
           
 void setAbout(java.lang.String about)
           
 void setContent(java.lang.String content)
           
 void setDate(org.exolab.castor.types.Date date)
           
 void setType(java.lang.String type)
           
static Comment 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

Comment

public Comment()
Method Detail

getAbout

public java.lang.String getAbout()

getContent

public java.lang.String getContent()

getDate

public org.exolab.castor.types.Date getDate()

getType

public java.lang.String getType()

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 -  

setAbout

public void setAbout(java.lang.String about)
Parameters:
about -  

setContent

public void setContent(java.lang.String content)
Parameters:
content -  

setDate

public void setDate(org.exolab.castor.types.Date date)
Parameters:
date -  

setType

public void setType(java.lang.String type)
Parameters:
type -  

unmarshal

public static Comment 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