Class Property
java.lang.Object
org.gvsig.utils.xmlEntity.generate.Property
- All Implemented Interfaces:
Serializable
Class Property.
- Version:
- $Revision: 29631 $ $Date: 2009-06-29 18:56:19 +0200 (lun, 29 jun 2009) $
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetKey()Returns the value of field 'key'.getValue()Returns the value of field 'value'.booleanisValid()Method isValidvoidMethod marshalvoidmarshal(ContentHandler handler) Method marshalvoidSets the value of field 'key'.voidSets the value of field 'value'.static ObjectMethod unmarshalvoidvalidate()Method validate
-
Constructor Details
-
Property
public Property()
-
-
Method Details
-
getKey
Returns the value of field 'key'.- Returns:
- the value of field 'key'.
-
getValue
Returns the value of field 'value'.- Returns:
- the value of field 'value'.
-
isValid
public boolean isValid()Method isValid -
marshal
public void marshal(Writer out) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException Method marshal- Parameters:
out-- Throws:
org.exolab.castor.xml.MarshalExceptionorg.exolab.castor.xml.ValidationException
-
marshal
public void marshal(ContentHandler handler) throws IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException Method marshal- Parameters:
handler-- Throws:
IOExceptionorg.exolab.castor.xml.MarshalExceptionorg.exolab.castor.xml.ValidationException
-
setKey
Sets the value of field 'key'.- Parameters:
key- the value of field 'key'.
-
setValue
Sets the value of field 'value'.- Parameters:
value- the value of field 'value'.
-
unmarshal
public static Object unmarshal(Reader reader) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException Method unmarshal- Parameters:
reader-- Throws:
org.exolab.castor.xml.MarshalExceptionorg.exolab.castor.xml.ValidationException
-
validate
public void validate() throws org.exolab.castor.xml.ValidationExceptionMethod validate- Throws:
org.exolab.castor.xml.ValidationException
-