public class PluginConfig extends Object implements Serializable
Constructor and Description |
---|
PluginConfig() |
Modifier and Type | Method and Description |
---|---|
void |
addAlternativeNames(AlternativeNames vAlternativeName)
Method addAlternativeName
|
void |
addAlternativeNames(int index,
AlternativeNames vAlternativeName)
Method addAlternativeName
|
void |
addDepends(Depends vDepends)
Method addDepends
|
void |
addDepends(int index,
Depends vDepends)
Method addDepends
|
void |
addLabelSet(int index,
LabelSet vLabelSet)
Method addLabelSet
|
void |
addLabelSet(LabelSet vLabelSet)
Method addLabelSet
|
Enumeration |
enumerateAlternativeNames()
Method enumerateAlternativeNames
|
Enumeration |
enumerateDepends()
Method enumerateDepends
|
Enumeration |
enumerateLabelSet()
Method enumerateLabelSet
|
AlternativeNames[] |
getAlternativeNames()
Method getDepends
|
AlternativeNames |
getAlternativeNames(int index)
Method getAlternativeNames
|
int |
getAlternativeNamesCount()
Method getAlternativeNamesCount
|
Depends[] |
getDepends()
Method getDepends
|
Depends |
getDepends(int index)
Method getDepends
|
int |
getDependsCount()
Method getDependsCount
|
Extensions |
getExtensions()
s
Returns the value of field 'extensions'.
|
Icon |
getIcon()
Returns the value of field 'icon'.
|
LabelSet[] |
getLabelSet()
Method getLabelSet
|
LabelSet |
getLabelSet(int index)
Method getLabelSet
|
int |
getLabelSetCount()
Method getLabelSetCount
|
Libraries |
getLibraries()
Returns the value of field 'libraries'.
|
File |
getPluginFolder() |
String |
getPluginName() |
PopupMenus |
getPopupMenus()
Returns the value of field 'popupMenus'.
|
ResourceBundle |
getResourceBundle()
Returns the value of field 'resourceBundle'.
|
String |
getUpdateUrl()
Returns the value of field 'updateUrl'.
|
boolean |
isValid()
Method isValid
|
void |
marshal(ContentHandler handler)
Method marshal
|
void |
marshal(Writer out)
Method marshal
|
void |
removeAllAlternativeNames()
Method removeAllAlternativeNames
|
void |
removeAllDepends()
Method removeAllDepends
|
void |
removeAllLabelSet()
Method removeAllLabelSet
|
AlternativeNames |
removeAlternativeNames(int index)
Method removeAlternativeNames
|
Depends |
removeDepends(int index)
Method removeDepends
|
LabelSet |
removeLabelSet(int index)
Method removeLabelSet
|
void |
setAlternativeNames(AlternativeNames[] alternativeNamesArray)
Method setAlternativeNames
|
void |
setAlternativeNames(int index,
AlternativeNames vAlternativeNames)
Method setAlternativeNames
|
void |
setDepends(Depends[] dependsArray)
Method setDepends
|
void |
setDepends(int index,
Depends vDepends)
Method setDepends
|
void |
setExtensions(Extensions extensions)
Sets the value of field 'extensions'.
|
void |
setIcon(Icon icon)
Sets the value of field 'icon'.
|
void |
setLabelSet(int index,
LabelSet vLabelSet)
Method setLabelSet
|
void |
setLabelSet(LabelSet[] labelSetArray)
Method setLabelSet
|
void |
setLibraries(Libraries libraries)
Sets the value of field 'libraries'.
|
void |
setPluginFolder(File folder) |
void |
setPluginName(String name) |
void |
setPopupMenus(PopupMenus popupMenus)
Sets the value of field 'popupMenus'.
|
void |
setResourceBundle(ResourceBundle resourceBundle)
Sets the value of field 'resourceBundle'.
|
void |
setUpdateUrl(String updateUrl)
Sets the value of field 'updateUrl'.
|
static Object |
unmarshal(Reader reader)
Method unmarshal
|
void |
validate()
Method validate
|
public void addDepends(Depends vDepends) throws IndexOutOfBoundsException
vDepends
- IndexOutOfBoundsException
public void addDepends(int index, Depends vDepends) throws IndexOutOfBoundsException
index
- vDepends
- IndexOutOfBoundsException
public void addAlternativeNames(AlternativeNames vAlternativeName) throws IndexOutOfBoundsException
vAlternativeName
- IndexOutOfBoundsException
public void addAlternativeNames(int index, AlternativeNames vAlternativeName) throws IndexOutOfBoundsException
index
- vAlternativeName
- IndexOutOfBoundsException
public void addLabelSet(LabelSet vLabelSet) throws IndexOutOfBoundsException
vLabelSet
- IndexOutOfBoundsException
public void addLabelSet(int index, LabelSet vLabelSet) throws IndexOutOfBoundsException
index
- vLabelSet
- IndexOutOfBoundsException
public Enumeration enumerateDepends()
public Enumeration enumerateAlternativeNames()
public Enumeration enumerateLabelSet()
public Depends getDepends(int index) throws IndexOutOfBoundsException
index
- IndexOutOfBoundsException
public Depends[] getDepends()
public int getDependsCount()
public AlternativeNames getAlternativeNames(int index) throws IndexOutOfBoundsException
index
- IndexOutOfBoundsException
public AlternativeNames[] getAlternativeNames()
public int getAlternativeNamesCount()
public Extensions getExtensions()
public Icon getIcon()
public LabelSet getLabelSet(int index) throws IndexOutOfBoundsException
index
- IndexOutOfBoundsException
public LabelSet[] getLabelSet()
public int getLabelSetCount()
public Libraries getLibraries()
public PopupMenus getPopupMenus()
public ResourceBundle getResourceBundle()
public String getUpdateUrl()
public boolean isValid()
public void marshal(Writer out) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
out
- org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void marshal(ContentHandler handler) throws IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
handler
- IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void removeAllDepends()
public void removeAllAlternativeNames()
public void removeAllLabelSet()
public Depends removeDepends(int index)
index
- public AlternativeNames removeAlternativeNames(int index)
index
- public LabelSet removeLabelSet(int index)
index
- public void setDepends(int index, Depends vDepends) throws IndexOutOfBoundsException
index
- vDepends
- IndexOutOfBoundsException
public void setDepends(Depends[] dependsArray)
dependsArray
- public void setAlternativeNames(int index, AlternativeNames vAlternativeNames) throws IndexOutOfBoundsException
index
- vAlternativeNames
- IndexOutOfBoundsException
public void setAlternativeNames(AlternativeNames[] alternativeNamesArray)
AlternativeNamesArray
- public void setExtensions(Extensions extensions)
extensions
- the value of field 'extensions'.public void setIcon(Icon icon)
icon
- the value of field 'icon'.public void setLabelSet(int index, LabelSet vLabelSet) throws IndexOutOfBoundsException
index
- vLabelSet
- IndexOutOfBoundsException
public void setLabelSet(LabelSet[] labelSetArray)
labelSetArray
- public void setLibraries(Libraries libraries)
libraries
- the value of field 'libraries'.public void setPopupMenus(PopupMenus popupMenus)
popupMenus
- the value of field 'popupMenus'.public void setResourceBundle(ResourceBundle resourceBundle)
resourceBundle
- the value of field 'resourceBundle'.public void setUpdateUrl(String updateUrl)
updateUrl
- the value of field 'updateUrl'.public static Object unmarshal(Reader reader) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
reader
- org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void validate() throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException
public String getPluginName()
public void setPluginName(String name)
public File getPluginFolder()
public void setPluginFolder(File folder)