Java Code Examples for org.fourthline.cling.model.meta.Service#getStateVariables()
The following examples show how to use
org.fourthline.cling.model.meta.Service#getStateVariables() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: UDA10ServiceDescriptorBinderImpl.java From TVRemoteIME with GNU General Public License v2.0 | 5 votes |
private void generateServiceStateTable(Service serviceModel, Document descriptor, Element scpdElement) { Element serviceStateTableElement = appendNewElement(descriptor, scpdElement, ELEMENT.serviceStateTable); for (StateVariable stateVariable : serviceModel.getStateVariables()) { generateStateVariable(stateVariable, descriptor, serviceStateTableElement); } }
Example 2
Source File: UDA10ServiceDescriptorBinderImpl.java From DroidDLNA with GNU General Public License v3.0 | 5 votes |
private void generateServiceStateTable(Service serviceModel, Document descriptor, Element scpdElement) { Element serviceStateTableElement = appendNewElement(descriptor, scpdElement, ELEMENT.serviceStateTable); for (StateVariable stateVariable : serviceModel.getStateVariables()) { generateStateVariable(stateVariable, descriptor, serviceStateTableElement); } }