All Implemented Interfaces:
Serializable, Cloneable, Iterable<Argument>, Collection<Argument>, List<Argument>, RandomAccess, SequencedCollection<Argument>

public class ArgumentListextends Vector<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 Details

  • Constructor Details

    • ArgumentList

      public ArgumentList()
      /////////////////////////////////////////////
  • Method Details

    • getArgument

      public Argument getArgument(int n)
      Get an argument by index.
      Parameters:
      n - the zero-based position in the list
      Returns:
      the argument at that index
    • getArgument

      public Argument getArgument(String name)
      Get an argument by name.
      Parameters:
      name - the argument name
      Returns:
      the argument with that name, or null if not found
    • setReqArgs

      public void setReqArgs(ArgumentList inArgList)
      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

      public void setResArgs(ArgumentList outArgList)
      Set all the Argument which are Output Argument to the given value in the argument list
      Parameters:
      outArgList - the argument list containing output values