|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.softwareag.centrasite.appl.framework.validation.impl.AbstractCondition com.softwareag.centrasite.appl.framework.validation.impl.ReCondition
public class ReCondition
This condition checks, whether the property value is matching a regular expression.
Constructor Summary | |
---|---|
ReCondition(ErrorCode pCode,
java.util.regex.Pattern pPattern)
Creates a new instance. |
|
ReCondition(ErrorCode pCode,
java.lang.String pPattern)
Creates a new instance. |
|
ReCondition(ErrorCode pCode,
java.lang.String pPattern,
java.lang.String pFlags)
Creates a new instance. |
Method Summary | |
---|---|
void |
check(java.lang.Object pSource,
Constraint.Context pContext,
Constraint.Listener pListener)
Called to decide on the conditions state. |
Methods inherited from class com.softwareag.centrasite.appl.framework.validation.impl.AbstractCondition |
---|
error, error, getErrorCode, getName, getValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ReCondition(ErrorCode pCode, java.util.regex.Pattern pPattern)
pCode
- The error code to throw, if the condition is violated.pPattern
- The compiled pattern, which the property value must match.public ReCondition(ErrorCode pCode, java.lang.String pPattern)
pCode
- The error code to throw, if the condition is violated.pPattern
- The pattern, which the property value must match.public ReCondition(ErrorCode pCode, java.lang.String pPattern, java.lang.String pFlags)
pCode
- The error code to throw, if the condition is violated.pPattern
- The pattern, which the property value must match.pFlags
- The flags to useMethod Detail |
---|
public void check(java.lang.Object pSource, Constraint.Context pContext, Constraint.Listener pListener) throws com.softwareag.centrasite.appl.framework.CSAppFrameworkException
Condition
Condition
must invoke the Constraint.Listener
, if it thinks that
the constraint is violated.
com.softwareag.centrasite.appl.framework.CSAppFrameworkException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |