|
cybergarage-upnp
|
Public Member Functions | |
| Node | getAllowedValueNode () |
| AllowedValue (Node node) | |
| AllowedValue (String value) | |
| void | setValue (String value) |
| String | getValue () |
Static Public Member Functions | |
| static boolean | isAllowedValueNode (Node node) |
Static Public Attributes | |
| static final String | ELEM_NAME = "allowedValue" |
Private Attributes | |
| Node | allowedValueNode |
Represents a single allowed value for a UPnP state variable.
State variables can define a list of allowed values that constrain the possible values the variable can take. This class represents one such allowed value as defined in the service's SCPD document.
|
inline |
Constructs an allowed value from an existing XML node.
| node | the XML node representing the allowed value |
|
inline |
Constructs an allowed value with the specified value string.
Creates a new XML node structure for the allowed value.
| value | the value string to associate with this object |
|
inline |
Returns the underlying XML node representing this allowed value.
|
inline |
Returns the value string of this allowed value.
|
inlinestatic |
Checks if the given XML node represents an allowed value element.
| node | the XML node to check |
true if the node's name matches the allowed value element name, false otherwise
|
inline |
Sets the value string for this allowed value.
| value | the value to set |
|
private |
|
static |
The XML element name for allowed value nodes in SCPD documents.