@Test public void testReuseParser() throws ParseException { FilterParser.parse( "(ou~=people)" ); FilterParser.parse( "(&(ou~=people)(age>=30)) " ); FilterParser.parse( "(|(ou~=people)(age>=30)) " ); FilterParser.parse( "(!(&(ou~=people)(age>=30)))" ); FilterParser.parse( "(ou;lang-de>=\\23\\42asdl fkajsd)" ); FilterParser.parse( "(ou;lang-de;version-124>=\\23\\42asdl fkajsd)" ); FilterParser.parse( "(1.3.4.2;lang-de;version-124>=\\23\\42asdl fkajsd)" ); FilterParser.parse( "(ou=*)" ); FilterParser.parse( "(1.2.3.4=*)" ); FilterParser.parse( "(ou=people)" ); FilterParser.parse( "(ou=people/in/my/company)" ); FilterParser.parse( "(ou:dn:stupidMatch:=dummyAssertion\\23\\c4\\8d)" ); FilterParser.parse( "(1.2.3.4:dn:1.3434.23.2:=dummyAssertion\\23\\c4\\8d)" ); FilterParser.parse( "(ou:stupidMatch:=dummyAssertion\\23\\c4\\8d)" ); FilterParser.parse( "(ou:=dummyAssertion\\23\\c4\\8d)" ); FilterParser.parse( "(1.2.3.4:1.3434.23.2:=dummyAssertion\\23\\c4\\8d)" ); FilterParser.parse( "(:dn:stupidMatch:=dummyAssertion\\23\\c4\\8d)" ); FilterParser.parse( "(:dn:1.3434.23.2:=dummyAssertion\\23\\c4\\8d)" ); FilterParser.parse( "(:stupidMatch:=dummyAssertion\\23\\c4\\8d)" ); FilterParser.parse( "(:1.3434.23.2:=dummyAssertion\\23\\c4\\8d)" ); }
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 );  }