// Taxonomy stuff
} else if (TAXONOMY.equals(criteria)) {
if (fieldOperator != FieldOperator.EQUAL) {
throw new ParserException("Illegal FieldOperator " + fieldOperator + " for criteria " + criteria);
}
return new TaxonomyCriteria(value);
} else if (TAXONOMY_USED_FOR_IDENTIFICATION.equals(criteria)) {
if (fieldOperator != FieldOperator.EQUAL) {
throw new ParserException("Illegal FieldOperator " + fieldOperator + " for criteria " + criteria);
}
return new TaxonomyUsedForIdentificationCriteria(Boolean.parseBoolean(value));