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