public class CsmfSource extends Source implements java.io.Serializable
Constructor and Description |
---|
CsmfSource() |
CsmfSource(java.lang.String defaultValue) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getContent()
Returns the value of field 'content'.
|
java.lang.Boolean |
getToUpdate()
Returns the value of field 'toUpdate'.
|
java.lang.Boolean |
isToUpdate()
Returns the value of field 'toUpdate'.
|
boolean |
isValid()
Method isValid.
|
void |
marshal(org.xml.sax.ContentHandler handler) |
void |
marshal(java.io.Writer out) |
void |
setContent(java.lang.String content)
Sets the value of field 'content'.
|
void |
setToUpdate(java.lang.Boolean toUpdate)
Sets the value of field 'toUpdate'.
|
static CsmfSource |
unmarshalCsmfSource(java.io.Reader reader)
Method unmarshalCsmfSource.
|
void |
validate() |
getRole, getSubRef, setRole, setSubRef, unmarshalSource
getParent, setParent
public CsmfSource()
public CsmfSource(java.lang.String defaultValue)
public java.lang.String getContent()
getContent
in class Source
public java.lang.Boolean getToUpdate()
public java.lang.Boolean isToUpdate()
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 Source
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 void setContent(java.lang.String content)
setContent
in class Source
content
- the value of field 'content'.public void setToUpdate(java.lang.Boolean toUpdate)
toUpdate
- the value of field 'toUpdate'.public static CsmfSource unmarshalCsmfSource(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