Esempio 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;
 }
Esempio n. 2
0
 private Predicate pCompoundPredicate(HashMap<String, String> attrs) {
   expect(">");
   CompoundPredicate cp =
       CompoundPredicate.make(BooleanOperators.valueOf(attrs.get("booleanOperator")));
   cp._l = skipWS().expect('<').pPredicate();
   cp._r = skipWS().expect('<').pPredicate();
   skipWS().expect("</CompoundPredicate>");
   return cp;
 }