|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.xml.ws.metro.api.config.management.NamedParameters
public class NamedParameters
Provides type-safe named parameters.
| Constructor Summary | |
|---|---|
NamedParameters()
|
|
| Method Summary | ||
|---|---|---|
|
get(String name)
Get parameter with the given name and type. |
|
|
put(String name,
T parameter)
Add parameter with the given name. |
|
|
putAll(Map<? extends String,? extends T> mappings)
Add all parameters from the given map. |
|
String |
toString()
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public NamedParameters()
| Method Detail |
|---|
public <T> NamedParameters put(String name,
T parameter)
T - The type of the parameter.name - The name of the parameter.parameter - The parameter.
public <T> NamedParameters putAll(Map<? extends String,? extends T> mappings)
T - The type of the parameters.mappings - Maps the name of the parameters to the actual parameter.
public <T> T get(String name)
T - The type of the parametername - The name of the parameter
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||