java.lang.Object
java.util.AbstractCollection
java.util.AbstractList
java.util.Vector
org.cybergarage.upnp.ActionList
- All Implemented Interfaces:
Serializable,Cloneable,Iterable,Collection,List,RandomAccess,SequencedCollection
A list of
Action objects.
This class extends Vector to provide type-safe access to UPnP actions within a
service.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe XML element name for action list nodes in service descriptions.Fields inherited from class java.util.Vector
capacityIncrement, elementCount, elementDataFields inherited from class java.util.AbstractList
modCount -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.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 class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, stream, toArrayMethods inherited from interface java.util.List
addFirst, addLast, getFirst, getLast, removeFirst, removeLast, reversed
-
Field Details
-
ELEM_NAME
The XML element name for action list nodes in service descriptions.- See Also:
-
-
Constructor Details
-
ActionList
public ActionList()Constructs an empty action list.
-
-
Method Details
-
getAction
Returns the action at the specified index.- Parameters:
n- the index of the action to retrieve- Returns:
- the action at the specified index
- Throws:
ArrayIndexOutOfBoundsException- if the index is out of range
-