Class ByteCellEditorValidator

java.lang.Object
org.apache.uima.caseditor.editor.editview.validator.ByteCellEditorValidator
All Implemented Interfaces:
org.eclipse.jface.viewers.ICellEditorValidator

public class ByteCellEditorValidator extends Object implements org.eclipse.jface.viewers.ICellEditorValidator
This ICellEditorValidator validates String values which represents a Byte. For validation Byte.parseByte(String) is used.
  • Constructor Details

    • ByteCellEditorValidator

      public ByteCellEditorValidator()
  • Method Details

    • isValid

      public String isValid(Object value)
      Checks if the given value is a valid Byte.
      Specified by:
      isValid in interface org.eclipse.jface.viewers.ICellEditorValidator
      Parameters:
      value - the value
      Returns:
      null if valid otherwise an error message