- All Implemented Interfaces:
Serializable, Cloneable, Iterable<Argument>, Collection<Argument>, List<Argument>, RandomAccess, SequencedCollection<Argument>
A collection of UPnP action arguments.
This class extends Vector to manage multiple Argument objects that represent parameters for UPnP service actions. It provides type-safe collection management for action argument definitions.
Key features:
- Type-safe argument collection
- XML element name constant
- Vector-based implementation for efficiency
- Service description integration
- Action parameter management
This class is used by UPnP services to manage collections of action arguments, enabling proper XML description generation and action invocation parameter handling.
- See Also:
Field Summary
FieldsFields inherited from class Vector
capacityIncrement, elementCount, elementDataFields inherited from class AbstractList
modCountConstructor Summary
ConstructorsMethod Summary
All MethodsModifier and TypeMethodDescriptiongetArgument(int n) Get an argument by index.getArgument(String name) Get an argument by name.voidsetReqArgs(ArgumentList inArgList) Set all the Argument which are Input Argument to the given value in the argument listvoidsetResArgs(ArgumentList outArgList) Set all the Argument which are Output Argument to the given value in the argument listMethods inherited from class Vector
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, forEach, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, iterator, lastElement, lastIndexOf, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeIf, removeRange, replaceAll, retainAll, set, setElementAt, setSize, size, sort, spliterator, subList, toArray, toArray, toString, trimToSizeMethods inherited from interface Collection
parallelStream, stream, toArrayMethods inherited from interface List
addFirst, addLast, getFirst, getLast, removeFirst, removeLast, reversed
Field Details
ELEM_NAME
/////////////////////////////////////////////- See Also:
Constructor Details
ArgumentList
public ArgumentList()/////////////////////////////////////////////
Method Details
getArgument
Get an argument by index.- Parameters:
n- the zero-based position in the list- Returns:
- the argument at that index
getArgument
setReqArgs
Set all the Argument which are Input Argument to the given value in the argument list- Parameters:
inArgList- the argument list containing input values
setResArgs
Set all the Argument which are Output Argument to the given value in the argument list- Parameters:
outArgList- the argument list containing output values