|
GATE Version 3.1-2270 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Resource
Models all sorts of resources.
| Method Summary | |
|---|---|
void |
cleanup()
Clears the internal data of the resource, when it gets released |
Object |
getParameterValue(String paramaterName)
Gets the value of a parameter of this resource. |
Resource |
init()
Initialise this resource, and return it. |
void |
setParameterValue(String paramaterName,
Object parameterValue)
Sets the value for a specified parameter. |
void |
setParameterValues(FeatureMap parameters)
Sets the values for more parameters in one step. |
| Methods inherited from interface gate.util.FeatureBearer |
|---|
getFeatures, setFeatures |
| Methods inherited from interface gate.util.NameBearer |
|---|
getName, setName |
| Method Detail |
|---|
Resource init()
throws ResourceInstantiationException
ResourceInstantiationExceptionvoid cleanup()
Object getParameterValue(String paramaterName)
throws ResourceInstantiationException
paramaterName - the name of the parameter
ResourceInstantiationException
void setParameterValue(String paramaterName,
Object parameterValue)
throws ResourceInstantiationException
paramaterName - the name for the parameteerparameterValue - the value the parameter will receive
ResourceInstantiationException
void setParameterValues(FeatureMap parameters)
throws ResourceInstantiationException
parameters - a FeatureMap that has parameter names as keys and
parameter values as values.
ResourceInstantiationException
|
GATE Version 3.1-2270 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||