org.jwall.web.audit.rules.operators
Class ConditionSX
java.lang.Object
org.jwall.web.audit.rules.operators.AbstractCondition
org.jwall.web.audit.rules.operators.ConditionSX
- All Implemented Interfaces:
- Serializable, Condition
- Direct Known Subclasses:
- ConditionIN
public class ConditionSX
- extends AbstractCondition
- implements Condition
Instances of this class match all values for the given variable against
the specified simple expression. A simple expression is a match containing
two special wildcards: * and ?.
- Author:
- Christian Bockermann <chris@jwall.org>
- See Also:
- Serialized Form
| Methods inherited from class org.jwall.web.audit.rules.operators.AbstractCondition |
createCondition, extractValues, getPureValue, getValue, getVariable, isNegated, isNumeric, matches, matches, matches, setValue, setVariable, toString |
ConditionSX
public ConditionSX(String var,
String exp)
throws SyntaxException
- Throws:
SyntaxException
getOperator
public String getOperator()
- Description copied from interface:
Condition
- This returns a textual representation of the operator of this condition.
- Specified by:
getOperator in interface Condition- Specified by:
getOperator in class AbstractCondition
- Returns:
- See Also:
AbstractCondition.getOperator()
matches
public boolean matches(String pattern,
String input)
- Specified by:
matches in interface Condition
- Returns:
- See Also:
Condition.matches(java.lang.String, java.lang.String)
Copyright © 2012 jwall.org. All Rights Reserved.