public class ByteLengthTag extends HttpValidatorTagSupport
Modifier and Type | Field and Description |
---|---|
protected static org.apache.log4j.Category |
_log |
protected int |
_maxLength |
protected int |
_minLength |
_label, _listener, _response
Constructor and Description |
---|
ByteLengthTag() |
Modifier and Type | Method and Description |
---|---|
Validator |
getValidator() |
void |
setMax(int maxLength)
Setter for maximum byte length.
|
void |
setMin(int minLength)
Setter for minimum byte length.
|
doTag, getResponse, init, setLabel, validate
findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isEscapeText, isTrim, setBody, setContext, setEscapeText, setParent, setTrim, trimBody
protected int _minLength
protected int _maxLength
protected static final org.apache.log4j.Category _log
public Validator getValidator()
getValidator
in class HttpValidatorTagSupport
public void setMin(int minLength)
minLength
- minimum byte lengthpublic void setMax(int maxLength)
maxLength
- max byte lengthCopyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.