|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Parameters
An interface to hold a collection of parameters for use during the expansion process.
Method Summary | |
---|---|
boolean |
exists(String name)
Indicates whether the parameters for the given name has a value. |
String |
getValue(String name)
Returns the value for the specified parameter. |
String[] |
getValues(String name)
Returns the values for the specified parameter. |
boolean |
hasValue(String name)
Indicates whether the parameters for the given name has a value. |
Set<String> |
names()
Returns the set of parameter names as an unmodifiable set. |
void |
set(String name,
String value)
Set a parameter with only one value. |
void |
set(String name,
String[] values)
Set a parameter with only multiple values. |
Method Detail |
---|
String getValue(String name)
name
- The name of the parameter.
null
if not specified.String[] getValues(String name)
name
- The name of the parameter.
null
if not specified.boolean exists(String name)
name
- The name of the parameter.
true
if it has a value; false
otherwise.boolean hasValue(String name)
A parameter has a value if:
name
- The name of the parameter.
true
if it has a value;
false
otherwise.Set<String> names()
void set(String name, String value)
name
- The name of the parameter.value
- The value.void set(String name, String[] values)
name
- The name of the parameter.values
- The values.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |