Java Code Examples for org.fourthline.cling.model.meta.ActionArgument#isNameOrAlias()
The following examples show how to use
org.fourthline.cling.model.meta.ActionArgument#isNameOrAlias() .
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: SOAPActionProcessorImpl.java From TVRemoteIME with GNU General Public License v2.0 | 5 votes |
/** * Returns the node with the same unprefixed name as the action argument * name/alias or <code>null</code>. */ protected Node findActionArgumentNode(List<Node> nodes, ActionArgument arg) { for(Node node : nodes) { if(arg.isNameOrAlias(getUnprefixedNodeName(node))) return node; } return null; }
Example 2
Source File: SOAPActionProcessorImpl.java From DroidDLNA with GNU General Public License v3.0 | 5 votes |
/** * Returns the node with the same unprefixed name as the action argument * name/alias or <code>null</code>. */ protected Node findActionArgumentNode(List<Node> nodes, ActionArgument arg) { for(Node node : nodes) { if(arg.isNameOrAlias(getUnprefixedNodeName(node))) return node; } return null; }
Example 3
Source File: PullSOAPActionProcessorImpl.java From TVRemoteIME with GNU General Public License v2.0 | 4 votes |
protected String findActionArgumentValue(Map<String, String> entries, ActionArgument arg) { for (Map.Entry<String, String> entry : entries.entrySet()) { if (arg.isNameOrAlias(entry.getKey())) return entry.getValue(); } return null; }
Example 4
Source File: PullSOAPActionProcessorImpl.java From DroidDLNA with GNU General Public License v3.0 | 4 votes |
protected String findActionArgumentValue(Map<String, String> entries, ActionArgument arg) { for (Map.Entry<String, String> entry : entries.entrySet()) { if (arg.isNameOrAlias(entry.getKey())) return entry.getValue(); } return null; }