Class ValidWhenResultBoolean

java.lang.Object
org.apache.struts.validator.validwhen.ValidWhenResult<Boolean>
org.apache.struts.validator.validwhen.ValidWhenResultBoolean

public class ValidWhenResultBoolean extends ValidWhenResult<Boolean>
Holds the (interim) result during processing the parsing-tree. The result has is a boolean.
Since:
Struts 1.4.1
Author:
Graff Stefan
  • Constructor Details

    • ValidWhenResultBoolean

      public ValidWhenResultBoolean(boolean value)
      Constructs this class with the type boolean.
      Parameters:
      value - the current value of the result
  • Method Details

    • toBoolean

      public boolean toBoolean()
      Description copied from class: ValidWhenResult
      Gets the Boolean-value if the current result is a boolean.
      Overrides:
      toBoolean in class ValidWhenResult<Boolean>
      Returns:
      the boolean-value if the value is a boolean otherwise false.