|
||||||||||
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.opensymphony.xwork.validator.validators.RegexFieldValidator com.atlassian.bamboo.ww2.validators.XmppResourceValidator
public class XmppResourceValidator
XmppResourceValidator checks that a given String field, if not empty, is a valid XMPP resource id. The regular expression used to validate that the string is:
^[a-z0-9!$&'()*+,:;=-._~]+$
Field Summary | |
---|---|
static java.lang.String |
XMPP_RESOURCE_PATTERN
|
Fields inherited from class com.opensymphony.xwork.validator.validators.ValidatorSupport |
---|
defaultMessage, messageKey |
Constructor Summary | |
---|---|
XmppResourceValidator()
|
Method Summary |
---|
Methods inherited from class com.opensymphony.xwork.validator.validators.RegexFieldValidator |
---|
getExpression, isCaseSensitive, setCaseSensitive, setExpression, validate |
Methods inherited from class com.opensymphony.xwork.validator.validators.FieldValidatorSupport |
---|
getFieldName, getValidatorType, setFieldName, setValidatorType |
Methods inherited from class com.opensymphony.xwork.validator.validators.ValidatorSupport |
---|
addActionError, addFieldError, conditionalParse, getDefaultMessage, getFieldValue, getMessage, getMessageKey, getMessageParameters, getParse, getValidatorContext, isShortCircuit, setDefaultMessage, setMessageKey, setMessageParameters, setParse, 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, getMessageParameters, getValidatorContext, setDefaultMessage, setMessageKey, setMessageParameters, setValidatorContext |
Field Detail |
---|
public static final java.lang.String XMPP_RESOURCE_PATTERN
Constructor Detail |
---|
public XmppResourceValidator()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |