in RegularExpressionAnnotator/src/main/java/org/apache/uima/annotator/regex/impl/Feature_impl.java [183:219]
public String toString() {
StringBuffer buffer = new StringBuffer();
buffer.append("Feature: ");
buffer.append("\n Name: ");
buffer.append(this.name);
if (this.type == Feature.FLOAT_FEATURE) {
buffer.append("\n Type: float");
} else if (this.type == Feature.INTEGER_FEATURE) {
buffer.append("\n Type: integer");
} else if (this.type == Feature.STRING_FEATURE) {
buffer.append("\n Type: string");
} else if (this.type == Feature.REFERENCE_FEATURE) {
buffer.append("\n Type: reference");
} else if (this.type == Feature.CONFIDENCE_FEATURE) {
buffer.append("\n Type: confidence");
} else if (this.type == Feature.RULEID_FEATURE) {
buffer.append("\n Type: ruleId");
}
buffer.append("\n Value: ");
buffer.append(this.value);
if (this.normalizationType > 0) {
if (this.normalizationType == Feature.TO_LOWER_NORMALIZATION) {
buffer.append("\n Normalization: ToLowerCase");
} else if (this.normalizationType == Feature.TO_UPPER_NORMALIZATION) {
buffer.append("\n Normalization: ToUpperCase");
} else if (this.normalizationType == Feature.TRIM_NORMALIZATION) {
buffer.append("\n Normalization: Trim");
}
if (this.normalizationType == Feature.CUSTOM_NORMALIZATION) {
buffer.append("\n Normalization: " + this.implClass);
}
}
buffer.append("\n");
return buffer.toString();
}