Class Label
java.lang.Object
org.gvsig.andami.plugins.config.generate.Label
- All Implemented Interfaces:
Serializable
Class Label.
- Version:
- $Revision: 29593 $ $Date: 2009-06-29 17:54:31 +0200 (lun, 29 jun 2009) $
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidMethod deleteSizegetId()Returns the value of field 'id'.intgetSize()Returns the value of field 'size'.booleanhasSize()Method hasSizebooleanisValid()Method isValidvoidMethod marshalvoidmarshal(ContentHandler handler) Method marshalvoidSets the value of field 'id'.voidsetSize(int size) Sets the value of field 'size'.static ObjectMethod unmarshalvoidvalidate()Method validate
-
Constructor Details
-
Label
public Label()
-
-
Method Details
-
deleteSize
public void deleteSize()Method deleteSize -
getId
Returns the value of field 'id'.- Returns:
- the value of field 'id'.
-
getSize
public int getSize()Returns the value of field 'size'.- Returns:
- the value of field 'size'.
-
hasSize
public boolean hasSize()Method hasSize -
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
-
setId
Sets the value of field 'id'.- Parameters:
id- the value of field 'id'.
-
setSize
public void setSize(int size) Sets the value of field 'size'.- Parameters:
size- the value of field 'size'.
-
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
-