package org.basex.util.ft;

import java.util.*;

/**
 * Full-text cases.
 *
 * @author BaseX Team 2005-23, BSD License
 * @author Christian Gruen
 */
public enum FTCase {
  /** Sensitive.   */ SENSITIVE,
  /** Insensitive. */ INSENSITIVE,
  /** Lower-case.  */ LOWER,
  /** Upper-case.  */ UPPER;

  /**
   * Returns a string representation.
   * @return string representation
   */
  @Override
  public String toString() {
    return name().toLowerCase(Locale.ENGLISH);
  }
}
