Package jakarta.faces.component.behavior
Class ClientBehaviorContext.Parameter
- java.lang.Object
-
- jakarta.faces.component.behavior.ClientBehaviorContext.Parameter
-
- Enclosing class:
- ClientBehaviorContext
public static class ClientBehaviorContext.Parameter extends Object
Parameter instances represent name/value pairs that "submitting" ClientBehavior implementations should include when posting back into the Faces lifecycle. ClientBehavior implementations can determine which Parameters to include by calling ClientBehaviorContext.getParameters().
- Since:
- 2.0
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
Returns the Parameter's name.Object
getValue()
Returns the Parameter's value.
-
-
-
Constructor Detail
-
Parameter
public Parameter(String name, Object value)
Creates a Parameter instance.
- Parameters:
name
- the name of the parametervalue
- the value of the parameter- Throws:
NullPointerException
- ifname
is null.- Since:
- 2.0
-
-