Class MethodExpressionValueChangeListener

    • Constructor Detail

      • MethodExpressionValueChangeListener

        public MethodExpressionValueChangeListener​()
      • MethodExpressionValueChangeListener

        public MethodExpressionValueChangeListener​(MethodExpression methodExpressionOneArg)

        Construct a ValueChangeListener that contains a MethodExpression.To accomodate method expression targets that take no arguments instead of taking a ValueChangeEvent argument, the implementation of this class must take the argument methodExpressionOneArg, extract its expression string, and create another MethodExpression whose expected param types match those of a zero argument method. The usage requirements for both of these MethodExpression instances are described in processValueChange(javax.faces.event.ValueChangeEvent).

        Parameters:
        methodExpressionOneArg - a MethodExpression that points to a method that returns void and takes a single argument of type ValueChangeEvent.
    • Method Detail

      • isTransient

        public boolean isTransient​()
        Description copied from interface: StateHolder

        If true, the Object implementing this interface must not participate in state saving or restoring.

        Specified by:
        isTransient in interface StateHolder
      • setTransient

        public void setTransient​(boolean newTransientValue)
        Description copied from interface: StateHolder

        Denotes whether or not the Object implementing this interface must or must not participate in state saving or restoring.

        Specified by:
        setTransient in interface StateHolder
        Parameters:
        newTransientValue - boolean pass true if this Object will not participate in state saving or restoring, otherwise pass false.