Exemplo n.º 1
0
 private Object getLimit(String str, ValidationContext context) throws DatatypeException {
   if (base.getOrderRelation() == null) error("not_ordered");
   Object value = base.createValue(str, context);
   if (value == null) error("invalid_limit", str);
   return value;
 }