return new PageTemplateCriteria(Integer.parseInt(value));
} else if (PAGE_URL.equals(criteria)) {
if (fieldOperator != FieldOperator.EQUAL) {
throw new ParserException("Illegal FieldOperator " + fieldOperator + " for criteria " + criteria);
}
return new PageURLCriteria(value);
} else if (PUBLICATION.equals(criteria)) {
if (fieldOperator != FieldOperator.EQUAL) {
throw new ParserException("Illegal FieldOperator " + fieldOperator + " for criteria " + criteria);
}
return new PublicationCriteria(Integer.parseInt(value));