|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.tireme.shared.param.Configuration
public class Configuration
Responsible of configuration of external parameters.
| Constructor Summary | |
|---|---|
Configuration(org.w3c.dom.Element elem,
Parameters param)
Constructor for Configuration from an element conforming to the parameter DTD The configuration created will become thez current one. |
|
Configuration(java.lang.String newConfName,
Parameters param)
Constructor for Configuration from a sole configuration name. |
|
Configuration(java.lang.String newConfName,
Parameters param,
boolean selected)
Constructor for Configuration from a sole configuration name. |
|
| Method Summary | |
|---|---|
Configuration |
cloneConf(java.lang.String newName)
Description of the Method |
boolean |
getBoolEntry(java.lang.String section,
java.lang.String param)
Gets the boolEntry attribute of the Parameters object |
java.lang.String |
getEntry(java.lang.String section,
java.lang.String param)
Gets the entry attribute of the Parameters object |
java.lang.String |
getName()
Gets the name attribute of the Configuration object |
boolean |
isSelected()
Gets the selected attribute of the Configuration object |
void |
setEntry(java.lang.String section,
java.lang.String parameter,
boolean value)
Sets the entry attribute of the Parameters object |
void |
setEntry(java.lang.String section,
java.lang.String parameter,
java.lang.String value)
Sets an entry value for a section |
void |
setName(java.lang.String newName)
Set the name attribute of the Configuration object |
void |
setSelected()
Sets the selected attribute of the Configuration object |
void |
setSelected(boolean sel)
Sets the selected attribute of the Configuration object |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Configuration(org.w3c.dom.Element elem,
Parameters param)
throws ParamException
elem - element from which the configuration will be buildparam - Parameter object to which the new configuration becomes
ParamException - Error in parameter
public Configuration(java.lang.String newConfName,
Parameters param)
newConfName - Configuration nameparam - Parameter object to which the new configuration becomes
public Configuration(java.lang.String newConfName,
Parameters param,
boolean selected)
newConfName - Configuration nameparam - Parameter object to which the new configuration becomesselected - Description of Parameter| Method Detail |
|---|
public Configuration cloneConf(java.lang.String newName)
throws ParamException
newName - Description of Parameter
ParamException - Description of Exception
public boolean getBoolEntry(java.lang.String section,
java.lang.String param)
throws ParamDoesNotExistsException
section - Description of the Parameterparam - Description of the Parameter
ParamDoesNotExistsException - Description of Exception
public java.lang.String getEntry(java.lang.String section,
java.lang.String param)
throws ParamDoesNotExistsException
section - Description of Parameterparam - Description of Parameter
ParamDoesNotExistsException - Description of Exceptionpublic java.lang.String getName()
public boolean isSelected()
public void setEntry(java.lang.String section,
java.lang.String parameter,
boolean value)
throws ParamDoesNotExistsException
section - section nameparameter - parameter namevalue - value of the parameter
ParamDoesNotExistsException - Description of Exception
public void setEntry(java.lang.String section,
java.lang.String parameter,
java.lang.String value)
throws ParamDoesNotExistsException
section - section nameparameter - parameter namevalue - value of the parameter
ParamDoesNotExistsException - Description of Exceptionpublic void setName(java.lang.String newName)
newName - The new name valuepublic void setSelected()
public void setSelected(boolean sel)
sel - The new selected value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||