public class Option
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
Option() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Returns the value of field 'name'.
|
java.lang.String |
getValue()
Returns the value of field 'value'.
|
boolean |
isValid()
Method isValid
|
void |
marshal(org.xml.sax.ContentHandler handler)
Method marshal
|
void |
marshal(java.io.Writer out)
Method marshal
|
void |
setName(java.lang.String name)
Sets the value of field 'name'.
|
void |
setValue(java.lang.String value)
Sets the value of field 'value'.
|
static java.lang.Object |
unmarshal(java.io.Reader reader)
Method unmarshal
|
void |
validate()
Method validate
|
public java.lang.String getName()
public java.lang.String getValue()
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.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
handler
- java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void setName(java.lang.String name)
name
- the value of field 'name'.public void setValue(java.lang.String value)
value
- the value of field 'value'.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.MarshalException
org.exolab.castor.xml.ValidationException
public void validate() throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException