Class PIValidator

java.lang.Object
io.goobi.viewer.faces.validators.PIValidator
All Implemented Interfaces:
EventListener, javax.faces.validator.Validator<String>
Direct Known Subclasses:
RelatedPIValidator

public class PIValidator extends Object implements javax.faces.validator.Validator<String>
Syntax validator for passwords addresses.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected static final char[]
    Constant ILLEGAL_CHARS

    Fields inherited from interface javax.faces.validator.Validator

    NOT_IN_RANGE_MESSAGE_ID
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    validate(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, String value)
    static boolean
    validatePi.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • ILLEGAL_CHARS

      protected static final char[] ILLEGAL_CHARS
      Constant ILLEGAL_CHARS
  • Constructor Details

    • PIValidator

      public PIValidator()
  • Method Details

    • validate

      public void validate(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, String value) throws javax.faces.validator.ValidatorException
      Specified by:
      validate in interface javax.faces.validator.Validator<String>
      Throws:
      javax.faces.validator.ValidatorException
    • validatePi

      public static boolean validatePi(String pi)

      validatePi.

      Parameters:
      pi - a String object.
      Returns:
      a boolean.