@Test public void testNotFilter() throws ParseException { String str = "(!(&(ou~= people)(age>=30)))"; BranchNode node = ( BranchNode ) FilterParser.parse( str ); assertEquals( 1, node.getChildren().size() ); assertTrue( node instanceof NotNode ); String str2 = node.toString(); assertEquals( str, str2 ); }
public static ExprNode parse( String filter ) throws ParseException { return parse( null, filter, false ); }
FilterParser { public static ExprNode parse( String filter ) throws ParseException { return parse( null, filter, false ); } }
FilterParser { public static ExprNode parse( String filter ) throws ParseException { return parse( null, filter, false ); } private  FilterParser(); }
FilterParser { public static ExprNode parse( String filter ) throws ParseException { return parse( null, filter, false ); } private  FilterParser(); static ExprNode parse( String filter ); static ExprNode parse( String filter, boolean relaxed ); static ExprNode parse( SchemaManager schemaManager, String filter ); static ExprNode parse( SchemaManager schemaManager, String filter, boolean relaxed ); }
FilterParser { public static ExprNode parse( String filter ) throws ParseException { return parse( null, filter, false ); } private  FilterParser(); static ExprNode parse( String filter ); static ExprNode parse( String filter, boolean relaxed ); static ExprNode parse( SchemaManager schemaManager, String filter ); static ExprNode parse( SchemaManager schemaManager, String filter, boolean relaxed );  }