public class Property
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
Property() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getKey()
Returns the value of field 'key'.
|
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 |
setKey(java.lang.String key)
Sets the value of field 'key'.
|
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 getKey()
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.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 setKey(java.lang.String key)
key - the value of field 'key'.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.MarshalExceptionorg.exolab.castor.xml.ValidationExceptionpublic void validate()
throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException