Ejemplo n.º 1
0
 private Predicate pSimpleSetPredicate(HashMap<String, String> attrs) {
   expect('>');
   IsIn in = IsIn.make(attrs.get("field"), BooleanOperators.valueOf(attrs.get("booleanOperator")));
   in._values = skipWS().expect('<').pArray();
   skipWS().expect("</SimpleSetPredicate>");
   return in;
 }
Ejemplo n.º 2
0
 @Override
 public StringBuilder toJavaStr(StringBuilder sb, String jname) {
   sb.append("!(");
   super.toJavaStr(sb, jname);
   return sb.append(")");
 }