|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.opensymphony.xwork.validator.validators.ValidatorSupport com.opensymphony.xwork.validator.validators.FieldValidatorSupport com.atlassian.confluence.util.misc.CssColourValidator
public class CssColourValidator
The following are valid values for a CSS colour declaration:
Field Summary |
---|
Fields inherited from class com.opensymphony.xwork.validator.validators.ValidatorSupport |
---|
defaultMessage, log, messageKey |
Constructor Summary | |
---|---|
CssColourValidator()
|
Method Summary | |
---|---|
static boolean |
check(java.lang.String thingToCheck)
Separated for testability |
void |
validate(java.lang.Object object)
|
Methods inherited from class com.opensymphony.xwork.validator.validators.FieldValidatorSupport |
---|
getFieldName, setFieldName |
Methods inherited from class com.opensymphony.xwork.validator.validators.ValidatorSupport |
---|
addActionError, addFieldError, getDefaultMessage, getFieldValue, getMessage, getMessageKey, getValidatorContext, isShortCircuit, setDefaultMessage, setMessageKey, setShortCircuit, setValidatorContext |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.opensymphony.xwork.validator.Validator |
---|
getDefaultMessage, getMessage, getMessageKey, getValidatorContext, setDefaultMessage, setMessageKey, setValidatorContext |
Constructor Detail |
---|
public CssColourValidator()
Method Detail |
---|
public void validate(java.lang.Object object) throws com.opensymphony.xwork.validator.ValidationException
com.opensymphony.xwork.validator.ValidationException
public static boolean check(java.lang.String thingToCheck)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |