Class PluginConfig
java.lang.Object
org.gvsig.andami.plugins.config.generate.PluginConfig
- All Implemented Interfaces:
Serializable
Class PluginConfig.
- Version:
- $Revision: 40403 $ $Date: 2013-06-13 08:24:04 +0200 (jue, 13 jun 2013) $
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAlternativeNames(int index, AlternativeNames vAlternativeName) Method addAlternativeNamevoidaddAlternativeNames(AlternativeNames vAlternativeName) Method addAlternativeNamevoidaddDepends(int index, Depends vDepends) Method addDependsvoidaddDepends(Depends vDepends) Method addDependsvoidaddLabelSet(int index, LabelSet vLabelSet) Method addLabelSetvoidaddLabelSet(LabelSet vLabelSet) Method addLabelSetMethod enumerateAlternativeNamesMethod enumerateDependsMethod enumerateLabelSetMethod getDependsgetAlternativeNames(int index) Method getAlternativeNamesintMethod getAlternativeNamesCountDepends[]Method getDependsgetDepends(int index) Method getDependsintMethod getDependsCounts Returns the value of field 'extensions'.getIcon()Returns the value of field 'icon'.LabelSet[]Method getLabelSetgetLabelSet(int index) Method getLabelSetintMethod getLabelSetCountReturns the value of field 'libraries'.Returns the value of field 'popupMenus'.Returns the value of field 'resourceBundle'.Returns the value of field 'updateUrl'.booleanisValid()Method isValidvoidMethod marshalvoidmarshal(ContentHandler handler) Method marshalvoidMethod removeAllAlternativeNamesvoidMethod removeAllDependsvoidMethod removeAllLabelSetremoveAlternativeNames(int index) Method removeAlternativeNamesremoveDepends(int index) Method removeDependsremoveLabelSet(int index) Method removeLabelSetvoidsetAlternativeNames(int index, AlternativeNames vAlternativeNames) Method setAlternativeNamesvoidsetAlternativeNames(AlternativeNames[] alternativeNamesArray) Method setAlternativeNamesvoidsetDepends(int index, Depends vDepends) Method setDependsvoidsetDepends(Depends[] dependsArray) Method setDependsvoidsetExtensions(Extensions extensions) Sets the value of field 'extensions'.voidSets the value of field 'icon'.voidsetLabelSet(int index, LabelSet vLabelSet) Method setLabelSetvoidsetLabelSet(LabelSet[] labelSetArray) Method setLabelSetvoidsetLibraries(Libraries libraries) Sets the value of field 'libraries'.voidsetPluginFolder(File folder) voidsetPluginName(String name) voidsetPopupMenus(PopupMenus popupMenus) Sets the value of field 'popupMenus'.voidsetResourceBundle(ResourceBundle resourceBundle) Sets the value of field 'resourceBundle'.voidsetUpdateUrl(String updateUrl) Sets the value of field 'updateUrl'.static ObjectMethod unmarshalvoidvalidate()Method validate
-
Constructor Details
-
PluginConfig
public PluginConfig()
-
-
Method Details
-
addDepends
Method addDepends- Parameters:
vDepends-- Throws:
IndexOutOfBoundsException
-
addDepends
Method addDepends- Parameters:
index-vDepends-- Throws:
IndexOutOfBoundsException
-
addAlternativeNames
Method addAlternativeName- Parameters:
vAlternativeName-- Throws:
IndexOutOfBoundsException
-
addAlternativeNames
public void addAlternativeNames(int index, AlternativeNames vAlternativeName) throws IndexOutOfBoundsException Method addAlternativeName- Parameters:
index-vAlternativeName-- Throws:
IndexOutOfBoundsException
-
addLabelSet
Method addLabelSet- Parameters:
vLabelSet-- Throws:
IndexOutOfBoundsException
-
addLabelSet
Method addLabelSet- Parameters:
index-vLabelSet-- Throws:
IndexOutOfBoundsException
-
enumerateDepends
Method enumerateDepends -
enumerateAlternativeNames
Method enumerateAlternativeNames -
enumerateLabelSet
Method enumerateLabelSet -
getDepends
Method getDepends- Parameters:
index-- Throws:
IndexOutOfBoundsException
-
getDepends
Method getDepends -
getDependsCount
public int getDependsCount()Method getDependsCount -
getAlternativeNames
Method getAlternativeNames- Parameters:
index-- Throws:
IndexOutOfBoundsException
-
getAlternativeNames
Method getDepends -
getAlternativeNamesCount
public int getAlternativeNamesCount()Method getAlternativeNamesCount -
getExtensions
s Returns the value of field 'extensions'.- Returns:
- the value of field 'extensions'.
-
getIcon
Returns the value of field 'icon'.- Returns:
- the value of field 'icon'.
-
getLabelSet
Method getLabelSet- Parameters:
index-- Throws:
IndexOutOfBoundsException
-
getLabelSet
Method getLabelSet -
getLabelSetCount
public int getLabelSetCount()Method getLabelSetCount -
getLibraries
Returns the value of field 'libraries'.- Returns:
- the value of field 'libraries'.
-
getPopupMenus
Returns the value of field 'popupMenus'.- Returns:
- the value of field 'popupMenus'.
-
getResourceBundle
Returns the value of field 'resourceBundle'.- Returns:
- the value of field 'resourceBundle'.
-
getUpdateUrl
Returns the value of field 'updateUrl'.- Returns:
- the value of field 'updateUrl'.
-
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
-
removeAllDepends
public void removeAllDepends()Method removeAllDepends -
removeAllAlternativeNames
public void removeAllAlternativeNames()Method removeAllAlternativeNames -
removeAllLabelSet
public void removeAllLabelSet()Method removeAllLabelSet -
removeDepends
Method removeDepends- Parameters:
index-
-
removeAlternativeNames
Method removeAlternativeNames- Parameters:
index-
-
removeLabelSet
Method removeLabelSet- Parameters:
index-
-
setDepends
Method setDepends- Parameters:
index-vDepends-- Throws:
IndexOutOfBoundsException
-
setDepends
Method setDepends- Parameters:
dependsArray-
-
setAlternativeNames
public void setAlternativeNames(int index, AlternativeNames vAlternativeNames) throws IndexOutOfBoundsException Method setAlternativeNames- Parameters:
index-vAlternativeNames-- Throws:
IndexOutOfBoundsException
-
setAlternativeNames
Method setAlternativeNames- Parameters:
AlternativeNamesArray-
-
setExtensions
Sets the value of field 'extensions'.- Parameters:
extensions- the value of field 'extensions'.
-
setIcon
Sets the value of field 'icon'.- Parameters:
icon- the value of field 'icon'.
-
setLabelSet
Method setLabelSet- Parameters:
index-vLabelSet-- Throws:
IndexOutOfBoundsException
-
setLabelSet
Method setLabelSet- Parameters:
labelSetArray-
-
setLibraries
Sets the value of field 'libraries'.- Parameters:
libraries- the value of field 'libraries'.
-
setPopupMenus
Sets the value of field 'popupMenus'.- Parameters:
popupMenus- the value of field 'popupMenus'.
-
setResourceBundle
Sets the value of field 'resourceBundle'.- Parameters:
resourceBundle- the value of field 'resourceBundle'.
-
setUpdateUrl
Sets the value of field 'updateUrl'.- Parameters:
updateUrl- the value of field 'updateUrl'.
-
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
-
getPluginName
-
setPluginName
-
getPluginFolder
-
setPluginFolder
-