{
SimpleNode simpleNode = ( SimpleNode ) exprNode;
if ( simpleNode instanceof ApproximateNode )
{
AttributeValueAssertionFilter approxMatchFilter = createAttributeValueAssertionFilter( simpleNode,
LdapConstants.APPROX_MATCH_FILTER );
sharedLdapFilter = approxMatchFilter;
}
else if ( simpleNode instanceof EqualityNode )
{
AttributeValueAssertionFilter equalityMatchFilter = createAttributeValueAssertionFilter(
simpleNode, LdapConstants.EQUALITY_MATCH_FILTER );
sharedLdapFilter = equalityMatchFilter;
}
else if ( simpleNode instanceof GreaterEqNode )
{
AttributeValueAssertionFilter greaterOrEqualFilter = createAttributeValueAssertionFilter(
simpleNode, LdapConstants.GREATER_OR_EQUAL_FILTER );
sharedLdapFilter = greaterOrEqualFilter;
}
else if ( simpleNode instanceof LessEqNode )
{
AttributeValueAssertionFilter lessOrEqualFilter = createAttributeValueAssertionFilter( simpleNode,
LdapConstants.LESS_OR_EQUAL_FILTER );
sharedLdapFilter = lessOrEqualFilter;
}
}
else if ( exprNode instanceof ExtensibleNode )