|
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.WhitespaceValidator
public class WhitespaceValidator
A validator that validates against a string's whitespace.
| Constructor Summary | |
|---|---|
WhitespaceValidator(java.lang.String violationMessage, boolean allowLeadingSpaces, boolean allowTrailingSpaces)Creates a WhitespaceValidator. |
|
| Method Summary | |
|---|---|
boolean |
isAllowLeadingSpaces()Gets whether leading spaces are valid. |
boolean |
isAllowTrailingSpaces()Gets whether trailing spaces are valid. |
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 WhitespaceValidator(java.lang.String violationMessage,
boolean allowLeadingSpaces,
boolean allowTrailingSpaces)
WhitespaceValidator.
violationMessage - message to use if the validation failsallowLeadingSpaces - flag for whether leading spaces are validallowTrailingSpaces - flag for whether trailing spaces are valid| Method Detail |
|---|
protected boolean isValid(java.lang.Object value)
ValidatorisValid in class Validatorvalue - value to validatetrue if the value is valid, otherwise .public boolean isAllowLeadingSpaces()
true if leading spaces are valid, otherwise false.public boolean isAllowTrailingSpaces()
true if trailing spaces are valid, otherwise false.
|
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 | |||||||||