public class Icon
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
Icon() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getSrc()
Returns the value of field 'src'.
|
java.lang.String |
getText()
Returns the value of field 'text'.
|
boolean |
isValid()
Method isValid
|
void |
marshal(org.xml.sax.ContentHandler handler)
Method marshal
|
void |
marshal(java.io.Writer out)
Method marshal
|
void |
setSrc(java.lang.String src)
Sets the value of field 'src'.
|
void |
setText(java.lang.String text)
Sets the value of field 'text'.
|
static java.lang.Object |
unmarshal(java.io.Reader reader)
Method unmarshal
|
void |
validate()
Method validate
|
public java.lang.String getSrc()
public java.lang.String getText()
public boolean isValid()
public void marshal(java.io.Writer out)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
out - org.exolab.castor.xml.MarshalExceptionorg.exolab.castor.xml.ValidationExceptionpublic void marshal(org.xml.sax.ContentHandler handler)
throws java.io.IOException,
org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
handler - java.io.IOExceptionorg.exolab.castor.xml.MarshalExceptionorg.exolab.castor.xml.ValidationExceptionpublic void setSrc(java.lang.String src)
src - the value of field 'src'.public void setText(java.lang.String text)
text - the value of field 'text'.public static java.lang.Object unmarshal(java.io.Reader reader)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
reader - org.exolab.castor.xml.MarshalExceptionorg.exolab.castor.xml.ValidationExceptionpublic void validate()
throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException