Class CMSTitleValidator

java.lang.Object
io.goobi.viewer.faces.validators.CMSTitleValidator
All Implemented Interfaces:
EventListener, javax.faces.validator.Validator<String>

public class CMSTitleValidator extends Object implements javax.faces.validator.Validator<String>

CMSTitleValidator class.

  • Field Summary

    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
    protected static boolean
    validate.
    void
    validate(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, String value)

    Methods inherited from class java.lang.Object

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

    • CMSTitleValidator

      public CMSTitleValidator()
  • 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
    • validate

      protected static boolean validate(String s)

      validate.

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