|
Oracle Role Manager Java API Reference 10g (10.1.4) E14613-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.iam.rm.server_api.model.Validator
oracle.iam.rm.server_api.model.StringPatternValidator
public class StringPatternValidator
A validator that validates against a string pattern.
Constructor Summary | |
---|---|
StringPatternValidator(java.lang.String violationMessage, java.lang.String pattern) Creates a StringPatternValidator . |
Method Summary | |
---|---|
java.lang.String |
getPattern() Gets the pattern to validate against. |
protected boolean |
isValid(java.lang.Object value) Determines whether the provided value is valid according to this validator. |
Methods inherited from class oracle.iam.rm.server_api.model.Validator |
---|
getViolationMessage, isRequired, validate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StringPatternValidator(java.lang.String violationMessage, java.lang.String pattern)
StringPatternValidator
.
violationMessage
- message to use if the validation failspattern
- String
representing the pattern against which to validate the value (using the java.util.regex.Pattern
class).Method Detail |
---|
protected boolean isValid(java.lang.Object value)
Validator
isValid
in class Validator
value
- value to validatetrue
if the value is valid, otherwise .public java.lang.String getPattern()
|
Oracle Role Manager Java API Reference 10g (10.1.4) E14613-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |