|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface UPnPAction
This interface represents the description of a UPnP service action, parsed from the UPnP service description XML. It contains both IN and OUT argument descriptions, but does not carry any values.
| Method Summary | |
|---|---|
String[] |
getArgumentNames()
Gets the action argument names from the action description in the UPnP service description. |
String |
getName()
Gets the name of the action from the action name element in the UPnP service description. |
UPnPStateVariable |
getRelatedStateVariable(String name)
Gets the UPnP state variable associated with the specified argument name. |
UPnPService |
getService()
Gets the UPnP service that this UPnPAction
is associated with. |
boolean |
isInputArgument(String name)
Gets the direction of an argument. |
boolean |
isRetval(String name)
Determines whether the specified argument is flagged as a return value in the service description. |
| Method Detail |
|---|
String getName()
String[] getArgumentNames()
boolean isInputArgument(String name)
name - Name of the argument.
IllegalArgumentException - if the name does not represent a
valid argument name for the action.boolean isRetval(String name)
name - Name of the argument.
IllegalArgumentException - if the name does not represent a
valid argument name for the action.UPnPService getService()
UPnPAction
is associated with.
The returned UPnPService object may be cast to a
UPnPManagedService
by server applications, or to a
UPnPClientService
by client applications.
UPnPStateVariable getRelatedStateVariable(String name)
UPnPStateVariable object may be cast to a
UPnPManagedStateVariable
by server applications, or to a
UPnPClientStateVariable
by client applications.
name - Name of the argument.
IllegalArgumentException - if the name does not represent a
valid argument name for the action.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||