Package org.gvsig.andami.config.generate
Class AndamiOptions
java.lang.Object
org.gvsig.andami.config.generate.AndamiOptions
- All Implemented Interfaces:
Serializable
Class AndamiOptions.
- Version:
- $Revision$ $Date$
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidMethod addOptionvoidMethod addOptionMethod enumerateOptionReturns the value of field 'iconTheme'.Option[]Method getOptiongetOption(int index) Method getOptionintMethod getOptionCountbooleanisValid()Method isValidvoidMethod marshalvoidmarshal(ContentHandler handler) Method marshalvoidMethod removeAllOptionremoveOption(int index) Method removeOptionvoidsetIconTheme(IconTheme iconTheme) Sets the value of field 'iconTheme'.voidMethod setOptionvoidMethod setOptionstatic ObjectMethod unmarshalvoidvalidate()Method validate
-
Constructor Details
-
AndamiOptions
public AndamiOptions()
-
-
Method Details
-
addOption
Method addOption- Parameters:
vOption-- Throws:
IndexOutOfBoundsException
-
addOption
Method addOption- Parameters:
index-vOption-- Throws:
IndexOutOfBoundsException
-
enumerateOption
Method enumerateOption -
getIconTheme
Returns the value of field 'iconTheme'.- Returns:
- the value of field 'iconTheme'.
-
getOption
Method getOption- Parameters:
index-- Throws:
IndexOutOfBoundsException
-
getOption
Method getOption -
getOptionCount
public int getOptionCount()Method getOptionCount -
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
-
removeAllOption
public void removeAllOption()Method removeAllOption -
removeOption
Method removeOption- Parameters:
index-
-
setIconTheme
Sets the value of field 'iconTheme'.- Parameters:
iconTheme- the value of field 'iconTheme'.
-
setOption
Method setOption- Parameters:
index-vOption-- Throws:
IndexOutOfBoundsException
-
setOption
Method setOption- Parameters:
optionArray-
-
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
-