Class FSStringConstraintImpl

java.lang.Object
org.apache.uima.cas.impl.FSStringConstraintImpl
All Implemented Interfaces:
Serializable, FSConstraint, FSStringConstraint

class FSStringConstraintImpl extends Object implements FSStringConstraint
Implement the FSStringConstraint interface. Package private.
Version:
$Revision: 1.1 $
  • Field Details

  • Constructor Details

    • FSStringConstraintImpl

      FSStringConstraintImpl()
      Constructor is package private.
  • Method Details

    • equals

      public void equals(String s)
      Description copied from interface: FSStringConstraint
      String value of matched FS must match input String.
      Specified by:
      equals in interface FSStringConstraint
      Parameters:
      s - The string that the matched FS must equal.
    • match

      public boolean match(String s)
      Description copied from interface: FSStringConstraint
      Check if String matches defined constraints.
      Specified by:
      match in interface FSStringConstraint
      Parameters:
      s - The String to be checked.
      Returns:
      true iff the String satisfies the constraints.
    • toString

      public String toString()
      Overrides:
      toString in class Object