Class LdapSimpleExpression
java.lang.Object
com.netscape.cmscore.ldap.LdapSimpleExpression
- All Implemented Interfaces:
ILdapExpression
This class represents an expression of the form ,
, , , , .
Expressions are used as predicates for publishing rule selection.
- Version:
- $Revision$, $Date$
- Author:
- mzhao
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic org.slf4j.Loggerstatic LdapSimpleExpressionstatic final char -
Constructor Summary
ConstructorsConstructorDescriptionLdapSimpleExpression(String var, int op, String val) LdapSimpleExpression(String prefix, String var, int op, String val) -
Method Summary
Modifier and TypeMethodDescriptionbooleanEvaluate the Expression.booleanEvaluate the Expression.static ILdapExpressiontoString()Convert to a string.
-
Field Details
-
logger
public static org.slf4j.Logger logger -
WILDCARD_CHAR
public static final char WILDCARD_CHAR- See Also:
-
NULL_EXPRESSION
-
-
Constructor Details
-
LdapSimpleExpression
-
LdapSimpleExpression
-
-
Method Details
-
parse
- Throws:
ELdapException
-
evaluate
Description copied from interface:ILdapExpressionEvaluate the Expression.- Specified by:
evaluatein interfaceILdapExpression- Parameters:
sc- The SessionContext on which we are applying the condition.- Returns:
- The return value.
- Throws:
ELdapException
-
evaluate
Description copied from interface:ILdapExpressionEvaluate the Expression.- Specified by:
evaluatein interfaceILdapExpression- Parameters:
req- The PKIRequest on which we are applying the condition.- Returns:
- The return value.
- Throws:
ELdapException
-
toString
Description copied from interface:ILdapExpressionConvert to a string.- Specified by:
toStringin interfaceILdapExpression- Overrides:
toStringin classObject- Returns:
- String representation of expression.
-