toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case TextTransformation.none:
      return 'NONE';
    case TextTransformation.compressWhiteSpace:
      return 'COMPRESS_WHITE_SPACE';
    case TextTransformation.htmlEntityDecode:
      return 'HTML_ENTITY_DECODE';
    case TextTransformation.lowercase:
      return 'LOWERCASE';
    case TextTransformation.cmdLine:
      return 'CMD_LINE';
    case TextTransformation.urlDecode:
      return 'URL_DECODE';
  }
}