Class PhoneValidator

  • All Implemented Interfaces:
    java.util.EventListener, javax.faces.validator.Validator

    public class PhoneValidator
    extends java.lang.Object
    implements javax.faces.validator.Validator
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int EIGTH  
      static int NINE  
      • Fields inherited from interface javax.faces.validator.Validator

        NOT_IN_RANGE_MESSAGE_ID
    • Constructor Summary

      Constructors 
      Constructor Description
      PhoneValidator()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void validate​(javax.faces.context.FacesContext arg0, javax.faces.component.UIComponent arg1, java.lang.Object value)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PhoneValidator

        public PhoneValidator()
    • Method Detail

      • validate

        public void validate​(javax.faces.context.FacesContext arg0,
                             javax.faces.component.UIComponent arg1,
                             java.lang.Object value)
        Specified by:
        validate in interface javax.faces.validator.Validator