public class Comment extends Property implements java.io.Serializable
Constructor and Description |
---|
Comment() |
Modifier and Type | Method and Description |
---|---|
boolean |
isValid()
Method isValid.
|
void |
marshal(org.xml.sax.ContentHandler handler) |
void |
marshal(java.io.Writer out) |
static Comment |
unmarshalComment(java.io.Reader reader)
Method unmarshalComment.
|
void |
validate() |
addPropertyQualifier, addPropertyQualifier, addSource, addSource, addUsageContext, addUsageContext, enumeratePropertyQualifier, enumerateSource, enumerateUsageContext, getLanguage, getPropertyId, getPropertyName, getPropertyQualifier, getPropertyQualifier, getPropertyQualifierAsReference, getPropertyQualifierCount, getPropertyType, getSource, getSource, getSourceAsReference, getSourceCount, getUsageContext, getUsageContext, getUsageContextAsReference, getUsageContextCount, getValue, iteratePropertyQualifier, iterateSource, iterateUsageContext, removeAllPropertyQualifier, removeAllSource, removeAllUsageContext, removePropertyQualifier, removePropertyQualifierAt, removeSource, removeSourceAt, removeUsageContext, removeUsageContextAt, setLanguage, setPropertyId, setPropertyName, setPropertyQualifier, setPropertyQualifier, setPropertyQualifier, setPropertyQualifierAsReference, setPropertyType, setSource, setSource, setSource, setSourceAsReference, setUsageContext, setUsageContext, setUsageContext, setUsageContextAsReference, setValue, unmarshalProperty
getEffectiveDate, getEntryState, getExpirationDate, getIsActive, getOwner, getStatus, isIsActive, setEffectiveDate, setEntryState, setExpirationDate, setIsActive, setOwner, setStatus, unmarshalVersionable
getParent, setParent
public boolean isValid()
public void marshal(java.io.Writer out) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
public void marshal(org.xml.sax.ContentHandler handler) throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
marshal
in class Property
handler
- java.io.IOException
- if an IOException occurs during
marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemaorg.exolab.castor.xml.MarshalException
- if object is
null or if any SAXException is thrown during marshalingpublic static Comment unmarshalComment(java.io.Reader reader) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
reader
- org.exolab.castor.xml.MarshalException
- if object is
null or if any SAXException is thrown during marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schema