|
| static final String | ELEM_NAME = "argumentList" |
| |
A list of Argument objects.
This class extends Vector to provide type-safe access to UPnP action arguments. It includes methods for retrieving arguments by name or index, and for setting input/output argument values.
- See also
- Argument
-
Action
◆ ArgumentList()
| org.cybergarage.upnp.ArgumentList.ArgumentList |
( |
| ) |
|
|
inline |
Constructs an empty argument list.
◆ getArgument() [1/2]
| Argument org.cybergarage.upnp.ArgumentList.getArgument |
( |
int | n | ) |
|
|
inline |
Returns the argument at the specified index.
- Parameters
-
| n | the index of the argument to retrieve |
- Returns
- the argument at the specified index
- Exceptions
-
| ArrayIndexOutOfBoundsException | if the index is out of range |
◆ getArgument() [2/2]
| Argument org.cybergarage.upnp.ArgumentList.getArgument |
( |
String | name | ) |
|
|
inline |
Returns the argument with the specified name.
- Parameters
-
| name | the name of the argument to retrieve |
- Returns
- the argument with the specified name, or
null if not found
◆ set()
| void org.cybergarage.upnp.ArgumentList.set |
( |
ArgumentList | inArgList | ) |
|
|
inline |
◆ setReqArgs()
| void org.cybergarage.upnp.ArgumentList.setReqArgs |
( |
ArgumentList | inArgList | ) |
|
|
inline |
Sets values for all input arguments from the provided list.
Updates only arguments with direction "in" by matching names from the provided argument list.
- Parameters
-
| inArgList | the argument list containing input values |
- Exceptions
-
| IllegalArgumentException | if a required input argument is missing from the provided list |
◆ setResArgs()
| void org.cybergarage.upnp.ArgumentList.setResArgs |
( |
ArgumentList | outArgList | ) |
|
|
inline |
Sets values for all output arguments from the provided list.
Updates only arguments with direction "out" by matching names from the provided argument list.
- Parameters
-
| outArgList | the argument list containing output values |
- Exceptions
-
| IllegalArgumentException | if a required output argument is missing from the provided list |
◆ ELEM_NAME
| final String org.cybergarage.upnp.ArgumentList.ELEM_NAME = "argumentList" |
|
static |
The XML element name for argument list nodes in SCPD documents.
The documentation for this class was generated from the following file: