|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
Interface describing a context that transports parameters when an extension point is processed. The extension result is also a context.
| Method Summary | |
void |
addContext(IExtensionContext value)
Add all parameters of a context to this context. |
java.lang.Object |
getOptionalValue(java.lang.String id)
Retrieve the value of a parameter with id id. |
java.util.Hashtable |
getParameters()
Get all parameters the context contaoins. |
java.lang.Object |
getValue(java.lang.String id)
Retrieve the value of a parameter with id id. |
boolean |
isReference(java.lang.String id)
Check if the parameter with id id is a parameter name referencing an other parameter. |
void |
putValue(java.lang.String id,
java.lang.Object value)
Add a parameter to the context. |
void |
putValue(java.lang.String id,
java.lang.Object value,
boolean isReference)
Add a reference to a parameter to the context. |
void |
setReference(java.lang.String id,
boolean isReference)
Define if the parameter with id id is a parameter name referencing an other parameter. |
int |
size()
Return the amount of parameters the context contaoins. |
| Method Detail |
public java.lang.Object getValue(java.lang.String id)
id - Id of the parameterpublic java.lang.Object getOptionalValue(java.lang.String id)
id - Id of the parameterpublic boolean isReference(java.lang.String id)
id - Id of the parameter
public void putValue(java.lang.String id,
java.lang.Object value)
id - Id of the parametervalue - Value of the parameter
public void putValue(java.lang.String id,
java.lang.Object value,
boolean isReference)
id - Id of the parametervalue - Name of the referenced parameter
public void setReference(java.lang.String id,
boolean isReference)
id - Id of the parameterisReference - If the parameter is a referencepublic int size()
public java.util.Hashtable getParameters()
public void addContext(IExtensionContext value)
value - The other context
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||