Class Holder<T>

java.lang.Object
jakarta.xml.ws.Holder<T>
Type Parameters:
T - Type of the value in the holder.
All Implemented Interfaces:
Serializable

public final class Holder<T> extends Object implements Serializable
Holds a value of type T.
Since:
1.6, JAX-WS 2.0
See Also:
  • Field Details

    • value

      public T value
      The value contained in the holder.
  • Constructor Details

    • Holder

      public Holder()
      Creates a new holder with a null value.
    • Holder

      public Holder(T value)
      Create a new holder with the specified value.
      Parameters:
      value - The value to be stored in the holder.