Class LabelSet
java.lang.Object
org.gvsig.andami.plugins.config.generate.LabelSet
- All Implemented Interfaces:
Serializable
Class LabelSet.
- 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 addLabelvoidMethod addLabelMethod enumerateLabelReturns the value of field 'className'.Label[]getLabel()Method getLabelgetLabel(int index) Method getLabelintMethod getLabelCountbooleanisValid()Method isValidvoidMethod marshalvoidmarshal(ContentHandler handler) Method marshalvoidMethod removeAllLabelremoveLabel(int index) Method removeLabelvoidsetClassName(String className) Sets the value of field 'className'.voidMethod setLabelvoidMethod setLabelstatic ObjectMethod unmarshalvoidvalidate()Method validate
-
Constructor Details
-
LabelSet
public LabelSet()
-
-
Method Details
-
addLabel
Method addLabel- Parameters:
vLabel-- Throws:
IndexOutOfBoundsException
-
addLabel
Method addLabel- Parameters:
index-vLabel-- Throws:
IndexOutOfBoundsException
-
enumerateLabel
Method enumerateLabel -
getClassName
Returns the value of field 'className'.- Returns:
- the value of field 'className'.
-
getLabel
Method getLabel- Parameters:
index-- Throws:
IndexOutOfBoundsException
-
getLabel
Method getLabel -
getLabelCount
public int getLabelCount()Method getLabelCount -
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
-
removeAllLabel
public void removeAllLabel()Method removeAllLabel -
removeLabel
Method removeLabel- Parameters:
index-
-
setClassName
Sets the value of field 'className'.- Parameters:
className- the value of field 'className'.
-
setLabel
Method setLabel- Parameters:
index-vLabel-- Throws:
IndexOutOfBoundsException
-
setLabel
Method setLabel- Parameters:
labelArray-
-
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
-