public interface XmlCriteriaShorthand
AdvancedCriteria
is supported for
simple criteria
where the outer criterion is assumed to be an "and" operator:
<!-- Simple format --> <criteria fieldName="restrictAge" operator="equals" value="true"/>This is equivalent to:
<!-- Normal format --> <criteria _constructor="AdvancedCriteria operator="and"> <criteria> <criterion fieldName="restrictAge" operator="equals" value="true"/> </criteria> </criteria>