Package com.netscape.cmscore.ldap
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.Logger
static LdapSimpleExpression
static final char
-
Constructor Summary
ConstructorsConstructorDescriptionLdapSimpleExpression
(String var, int op, String val) LdapSimpleExpression
(String prefix, String var, int op, String val) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Evaluate the Expression.boolean
Evaluate the Expression.static ILdapExpression
toString()
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:ILdapExpression
Evaluate the Expression.- Specified by:
evaluate
in interfaceILdapExpression
- Parameters:
sc
- The SessionContext on which we are applying the condition.- Returns:
- The return value.
- Throws:
ELdapException
-
evaluate
Description copied from interface:ILdapExpression
Evaluate the Expression.- Specified by:
evaluate
in interfaceILdapExpression
- Parameters:
req
- The Request on which we are applying the condition.- Returns:
- The return value.
- Throws:
ELdapException
-
toString
Description copied from interface:ILdapExpression
Convert to a string.- Specified by:
toString
in interfaceILdapExpression
- Overrides:
toString
in classObject
- Returns:
- String representation of expression.
-