META-INF/
META-INF/MANIFEST.MF
org/
org/apache/
org/apache/commons/
org/apache/commons/validator/
org/apache/commons/validator/util/
org/apache/commons/validator/resources/
org/apache/commons/validator/javascript/
org/apache/commons/validator/util/ValidatorUtils.classValidatorUtils.java
package org.apache.commons.validator.util
public org.apache.commons.validator.util.ValidatorUtils extends java.lang.Object {
private static final org.apache.commons.logging.Log log
static Class class$org$apache$commons$validator$util$ValidatorUtils
public void ()
public static java.lang.String replace (java.lang.String, java.lang.String, java.lang.String)
String value
String key
String replaceValue
int pos
int length
int start
int end
public static java.lang.String getValueAsString (java.lang.Object, java.lang.String)
Object bean
String property
Object value
IllegalAccessException e
java.lang.reflect.InvocationTargetException e
NoSuchMethodException e
public static org.apache.commons.collections.FastHashMap copyFastHashMap (org.apache.commons.collections.FastHashMap)
org.apache.commons.collections.FastHashMap map
org.apache.commons.collections.FastHashMap results
java.util.Iterator i
String key
Object value
public static java.util.Map copyMap (java.util.Map)
java.util.Map map
java.util.Map results
java.util.Iterator iter
String key
Object value
static java.lang.Class class$ (java.lang.String)
String x0
ClassNotFoundException x1
static void ()
}
org/apache/commons/validator/util/Flags.classFlags.java
package org.apache.commons.validator.util
public org.apache.commons.validator.util.Flags extends java.lang.Object implements java.io.Serializable {
private long flags
public void ()
public void (long)
long flags
public long getFlags ()
public boolean isOn (long)
long flag
public boolean isOff (long)
long flag
public void turnOn (long)
long flag
public void turnOff (long)
long flag
public void turnOffAll ()
public void clear ()
public void turnOnAll ()
public java.lang.Object clone ()
CloneNotSupportedException e
public boolean equals (java.lang.Object)
Object obj
org.apache.commons.validator.util.Flags f
public int hashCode ()
public java.lang.String toString ()
StringBuffer bin
int i
}
org/apache/commons/validator/ISBNValidator.classISBNValidator.java
package org.apache.commons.validator
public org.apache.commons.validator.ISBNValidator extends java.lang.Object {
private static final String SEP
private static final String GROUP
private static final String PUBLISHER
private static final String TITLE
private static final String CHECK
private static final String ISBN_PATTERN
public void ()
public boolean isValid (java.lang.String)
String isbn
private int sum (java.lang.String)
String isbn
int total
int i
int weight
private java.lang.String clean (java.lang.String)
String isbn
StringBuffer buf
int i
char digit
private int toInt (char)
char ch
private boolean isFormatted (java.lang.String)
String isbn
private boolean isValidPattern (java.lang.String)
String isbn
}
org/apache/commons/validator/Form.classForm.java
package org.apache.commons.validator
public org.apache.commons.validator.Form extends java.lang.Object implements java.io.Serializable {
protected String name
protected java.util.List lFields
protected org.apache.commons.collections.FastHashMap hFields
protected String inherit
private boolean processed
public void ()
public java.lang.String getName ()
public void setName (java.lang.String)
String name
public void addField (org.apache.commons.validator.Field)
org.apache.commons.validator.Field f
public java.util.List getFields ()
public org.apache.commons.validator.Field getField (java.lang.String)
String fieldName
public boolean containsField (java.lang.String)
String fieldName
protected void merge (org.apache.commons.validator.Form)
org.apache.commons.validator.Form depends
java.util.List templFields
java.util.Map temphFields
java.util.Iterator dependsIt
org.apache.commons.validator.Field defaultField
String fieldKey
org.apache.commons.validator.Field old
protected void process (java.util.Map, java.util.Map, java.util.Map)
java.util.Map globalConstants
java.util.Map constants
java.util.Map forms
int n
org.apache.commons.validator.Form parent
java.util.Iterator i
org.apache.commons.validator.Field f
java.util.Iterator i
org.apache.commons.validator.Field f
public java.lang.String toString ()
StringBuffer results
java.util.Iterator i
org.apache.commons.validator.ValidatorResults validate (java.util.Map, java.util.Map, int) throws org.apache.commons.validator.ValidatorException
java.util.Map params
java.util.Map actions
int page
org.apache.commons.validator.ValidatorResults validate (java.util.Map, java.util.Map, int, java.lang.String) throws org.apache.commons.validator.ValidatorException
java.util.Map params
java.util.Map actions
int page
String fieldName
org.apache.commons.validator.ValidatorResults results
org.apache.commons.validator.Field field
java.util.Iterator fields
org.apache.commons.validator.Field field
public boolean isProcessed ()
public java.lang.String getExtends ()
public void setExtends (java.lang.String)
String inherit
public boolean isExtending ()
protected java.util.Map getFieldMap ()
}
org/apache/commons/validator/Field.classField.java
package org.apache.commons.validator
public org.apache.commons.validator.Field extends java.lang.Object implements java.lang.Cloneable java.io.Serializable {
private static final String DEFAULT_ARG
public static final String TOKEN_INDEXED
protected static final String TOKEN_START
protected static final String TOKEN_END
protected static final String TOKEN_VAR
protected String property
protected String indexedProperty
protected String indexedListProperty
protected String key
protected String depends
protected int page
protected int fieldOrder
private java.util.List dependencyList
protected org.apache.commons.collections.FastHashMap hVars
protected org.apache.commons.collections.FastHashMap hMsgs
protected java.util.Map[] args
public void ()
public int getPage ()
public void setPage (int)
int page
public int getFieldOrder ()
public void setFieldOrder (int)
int fieldOrder
public java.lang.String getProperty ()
public void setProperty (java.lang.String)
String property
public java.lang.String getIndexedProperty ()
public void setIndexedProperty (java.lang.String)
String indexedProperty
public java.lang.String getIndexedListProperty ()
public void setIndexedListProperty (java.lang.String)
String indexedListProperty
public java.lang.String getDepends ()
public void setDepends (java.lang.String)
String depends
java.util.StringTokenizer st
String depend
public void addMsg (org.apache.commons.validator.Msg)
org.apache.commons.validator.Msg msg
public java.lang.String getMsg (java.lang.String)
String key
org.apache.commons.validator.Msg msg
public org.apache.commons.validator.Msg getMessage (java.lang.String)
String key
public java.util.Map getMessages ()
public void addArg (org.apache.commons.validator.Arg)
org.apache.commons.validator.Arg arg
java.util.Map argMap
private void determineArgPosition (org.apache.commons.validator.Arg)
org.apache.commons.validator.Arg arg
int position
String key
int lastPosition
int lastDefault
int i
private void ensureArgsCapacity (org.apache.commons.validator.Arg)
org.apache.commons.validator.Arg arg
java.util.Map[] newArgs
public org.apache.commons.validator.Arg getArg (int)
int position
public org.apache.commons.validator.Arg getArg (java.lang.String, int)
String key
int position
org.apache.commons.validator.Arg arg
public org.apache.commons.validator.Arg[] getArgs (java.lang.String)
String key
org.apache.commons.validator.Arg[] args
int i
public void addVar (org.apache.commons.validator.Var)
org.apache.commons.validator.Var v
public void addVar (java.lang.String, java.lang.String, java.lang.String)
String name
String value
String jsType
public org.apache.commons.validator.Var getVar (java.lang.String)
String mainKey
public java.lang.String getVarValue (java.lang.String)
String mainKey
String value
Object o
org.apache.commons.validator.Var v
public java.util.Map getVars ()
public java.lang.String getKey ()
public void setKey (java.lang.String)
String key
public boolean isIndexed ()
public void generateKey ()
void process (java.util.Map, java.util.Map)
java.util.Map globalConstants
java.util.Map constants
java.util.Iterator i
String key
String key2
String replaceValue
java.util.Iterator i
String key
String key2
String replaceValue
java.util.Iterator i
String key
String key2
org.apache.commons.validator.Var var
String replaceValue
private void processVars (java.lang.String, java.lang.String)
String key
String replaceValue
java.util.Iterator i
String varKey
org.apache.commons.validator.Var var
private void processMessageComponents (java.lang.String, java.lang.String)
String key
String replaceValue
String varKey
java.util.Iterator i
org.apache.commons.validator.Msg msg
private void processArg (java.lang.String, java.lang.String)
String key
String replaceValue
int i
java.util.Map argMap
java.util.Iterator iter
org.apache.commons.validator.Arg arg
public boolean isDependency (java.lang.String)
String validatorName
public java.util.List getDependencyList ()
public java.lang.Object clone ()
org.apache.commons.validator.Field field
CloneNotSupportedException e
int i
java.util.Map argMap
java.util.Iterator iter
String validatorName
org.apache.commons.validator.Arg arg
public java.lang.String toString ()
StringBuffer results
java.util.Iterator i
Object key
java.lang.Object[] getIndexedProperty (java.lang.Object) throws org.apache.commons.validator.ValidatorException
Object bean
Object indexedProperty
IllegalAccessException e
java.lang.reflect.InvocationTargetException e
NoSuchMethodException e
private boolean validateForRule (org.apache.commons.validator.ValidatorAction, org.apache.commons.validator.ValidatorResults, java.util.Map, java.util.Map, int) throws org.apache.commons.validator.ValidatorException
org.apache.commons.validator.ValidatorAction va
org.apache.commons.validator.ValidatorResults results
java.util.Map actions
java.util.Map params
int pos
org.apache.commons.validator.ValidatorResult result
private boolean runDependentValidators (org.apache.commons.validator.ValidatorAction, org.apache.commons.validator.ValidatorResults, java.util.Map, java.util.Map, int) throws org.apache.commons.validator.ValidatorException
org.apache.commons.validator.ValidatorAction va
org.apache.commons.validator.ValidatorResults results
java.util.Map actions
java.util.Map params
int pos
java.util.List dependentValidators
java.util.Iterator iter
String depend
org.apache.commons.validator.ValidatorAction action
public org.apache.commons.validator.ValidatorResults validate (java.util.Map, java.util.Map) throws org.apache.commons.validator.ValidatorException
java.util.Map params
java.util.Map actions
org.apache.commons.validator.ValidatorResults allResults
Object bean
int numberOfFieldsToValidate
int fieldNumber
java.util.Iterator dependencies
String depend
org.apache.commons.validator.ValidatorAction action
org.apache.commons.validator.ValidatorResults results
boolean good
private void handleMissingAction (java.lang.String) throws org.apache.commons.validator.ValidatorException
String name
protected java.util.Map getMsgMap ()
protected java.util.Map getVarMap ()
}
org/apache/commons/validator/ValidatorResults.classValidatorResults.java
package org.apache.commons.validator
public org.apache.commons.validator.ValidatorResults extends java.lang.Object implements java.io.Serializable {
protected java.util.Map hResults
public void ()
public void merge (org.apache.commons.validator.ValidatorResults)
org.apache.commons.validator.ValidatorResults results
public void add (org.apache.commons.validator.Field, java.lang.String, boolean)
org.apache.commons.validator.Field field
String validatorName
boolean result
public void add (org.apache.commons.validator.Field, java.lang.String, boolean, java.lang.Object)
org.apache.commons.validator.Field field
String validatorName
boolean result
Object value
org.apache.commons.validator.ValidatorResult validatorResult
public void clear ()
public boolean isEmpty ()
public org.apache.commons.validator.ValidatorResult getValidatorResult (java.lang.String)
String key
public java.util.Set getPropertyNames ()
public java.util.Map getResultValueMap ()
java.util.Map results
java.util.Iterator i
String propertyKey
org.apache.commons.validator.ValidatorResult vr
java.util.Map actions
java.util.Iterator x
String actionKey
org.apache.commons.validator.ValidatorResult$ResultStatus rs
Object result
}
org/apache/commons/validator/ValidatorException.classValidatorException.java
package org.apache.commons.validator
public org.apache.commons.validator.ValidatorException extends java.lang.Exception {
public void ()
public void (java.lang.String)
String message
}
org/apache/commons/validator/Msg.classMsg.java
package org.apache.commons.validator
public org.apache.commons.validator.Msg extends java.lang.Object implements java.lang.Cloneable java.io.Serializable {
protected String bundle
protected String key
protected String name
protected boolean resource
public void ()
public java.lang.String getBundle ()
public void setBundle (java.lang.String)
String bundle
public java.lang.String getName ()
public void setName (java.lang.String)
String name
public java.lang.String getKey ()
public void setKey (java.lang.String)
String key
public boolean isResource ()
public void setResource (boolean)
boolean resource
public java.lang.Object clone ()
CloneNotSupportedException e
public java.lang.String toString ()
StringBuffer results
}
org/apache/commons/validator/Arg.classArg.java
package org.apache.commons.validator
public org.apache.commons.validator.Arg extends java.lang.Object implements java.lang.Cloneable java.io.Serializable {
protected String bundle
protected String key
protected String name
protected int position
protected boolean resource
public void ()
public java.lang.Object clone ()
CloneNotSupportedException e
public java.lang.String getBundle ()
public java.lang.String getKey ()
public java.lang.String getName ()
public int getPosition ()
public boolean isResource ()
public void setBundle (java.lang.String)
String bundle
public void setKey (java.lang.String)
String key
public void setName (java.lang.String)
String name
public void setPosition (int)
int position
public void setResource (boolean)
boolean resource
public java.lang.String toString ()
StringBuffer results
}
org/apache/commons/validator/Var.classVar.java
package org.apache.commons.validator
public org.apache.commons.validator.Var extends java.lang.Object implements java.lang.Cloneable java.io.Serializable {
public static final String JSTYPE_INT
public static final String JSTYPE_STRING
public static final String JSTYPE_REGEXP
private String name
private String value
private String jsType
private boolean resource
private String bundle
public void ()
public void (java.lang.String, java.lang.String, java.lang.String)
String name
String value
String jsType
public java.lang.String getName ()
public void setName (java.lang.String)
String name
public java.lang.String getValue ()
public void setValue (java.lang.String)
String value
public boolean isResource ()
public void setResource (boolean)
boolean resource
public java.lang.String getBundle ()
public void setBundle (java.lang.String)
String bundle
public java.lang.String getJsType ()
public void setJsType (java.lang.String)
String jsType
public java.lang.Object clone ()
CloneNotSupportedException e
public java.lang.String toString ()
StringBuffer results
}
org/apache/commons/validator/ValidatorAction.classValidatorAction.java
package org.apache.commons.validator
public org.apache.commons.validator.ValidatorAction extends java.lang.Object implements java.io.Serializable {
private static final org.apache.commons.logging.Log log
private String name
private String classname
private Class validationClass
private String method
private java.lang.reflect.Method validationMethod
private String methodParams
private Class[] parameterClasses
private String depends
private String msg
private String jsFunctionName
private String jsFunction
private String javascript
private Object instance
private java.util.List dependencyList
private java.util.List methodParameterList
static Class class$org$apache$commons$validator$ValidatorAction
public void ()
public java.lang.String getName ()
public void setName (java.lang.String)
String name
public java.lang.String getClassname ()
public void setClassname (java.lang.String)
String classname
public java.lang.String getMethod ()
public void setMethod (java.lang.String)
String method
public java.lang.String getMethodParams ()
public void setMethodParams (java.lang.String)
String methodParams
java.util.StringTokenizer st
String value
public java.lang.String getDepends ()
public void setDepends (java.lang.String)
String depends
java.util.StringTokenizer st
String depend
public java.lang.String getMsg ()
public void setMsg (java.lang.String)
String msg
public java.lang.String getJsFunctionName ()
public void setJsFunctionName (java.lang.String)
String jsFunctionName
public void setJsFunction (java.lang.String)
String jsFunction
public java.lang.String getJavascript ()
public void setJavascript (java.lang.String)
String javascript
protected void init ()
protected synchronized void loadJavascriptFunction ()
String javascriptFileName
private java.lang.String readJavascriptFile (java.lang.String)
String javascriptFileName
ClassLoader classLoader
java.io.InputStream is
StringBuffer buffer
java.io.BufferedReader reader
String line
java.io.IOException e
java.io.IOException e
String function
private java.lang.String formatJavascriptFileName ()
String name
private boolean javascriptAlreadyLoaded ()
private java.lang.String generateJsFunction ()
StringBuffer jsName
public boolean isDependency (java.lang.String)
String validatorName
public java.util.List getDependencyList ()
public java.lang.String toString ()
StringBuffer results
boolean executeValidationMethod (org.apache.commons.validator.Field, java.util.Map, org.apache.commons.validator.ValidatorResults, int) throws org.apache.commons.validator.ValidatorException
org.apache.commons.validator.Field field
java.util.Map params
org.apache.commons.validator.ValidatorResults results
int pos
ClassLoader loader
Object[] paramValues
Object result
IllegalArgumentException e
IllegalAccessException e
java.lang.reflect.InvocationTargetException e
boolean valid
Exception e
private void loadValidationMethod () throws org.apache.commons.validator.ValidatorException
NoSuchMethodException e
private void loadValidationClass (java.lang.ClassLoader) throws org.apache.commons.validator.ValidatorException
ClassLoader loader
ClassNotFoundException e
private void loadParameterClasses (java.lang.ClassLoader) throws org.apache.commons.validator.ValidatorException
ClassLoader loader
int i
String paramClassName
ClassNotFoundException e
private java.lang.Object[] getParameterValues (java.util.Map)
java.util.Map params
Object[] paramValue
int i
String paramClassName
private java.lang.Object getValidationClassInstance () throws org.apache.commons.validator.ValidatorException
InstantiationException e
String msg
IllegalAccessException e
String msg
private void handleIndexedField (org.apache.commons.validator.Field, int, java.lang.Object[]) throws org.apache.commons.validator.ValidatorException
org.apache.commons.validator.Field field
int pos
Object[] paramValues
int beanIndex
int fieldIndex
Object[] indexedList
org.apache.commons.validator.Field indexedField
private boolean isValid (java.lang.Object)
Object result
Boolean valid
private java.lang.ClassLoader getClassLoader (java.util.Map)
java.util.Map params
org.apache.commons.validator.Validator v
private boolean onlyReturnErrors (java.util.Map)
java.util.Map params
org.apache.commons.validator.Validator v
static java.lang.Class class$ (java.lang.String)
String x0
ClassNotFoundException x1
static void ()
}
org/apache/commons/validator/ValidatorResult$ResultStatus.classValidatorResult.java
package org.apache.commons.validator
public org.apache.commons.validator.ValidatorResult$ResultStatus extends java.lang.Object implements java.io.Serializable {
private boolean valid
private Object result
private final org.apache.commons.validator.ValidatorResult this$0
public void (org.apache.commons.validator.ValidatorResult, boolean, java.lang.Object)
org.apache.commons.validator.ValidatorResult this$0
boolean valid
Object result
public boolean isValid ()
public void setValid (boolean)
boolean valid
public java.lang.Object getResult ()
public void setResult (java.lang.Object)
Object result
}
org/apache/commons/validator/ValidatorResult.classValidatorResult.java
package org.apache.commons.validator
public org.apache.commons.validator.ValidatorResult extends java.lang.Object implements java.io.Serializable {
protected java.util.Map hAction
protected org.apache.commons.validator.Field field
public void (org.apache.commons.validator.Field)
org.apache.commons.validator.Field field
public void add (java.lang.String, boolean)
String validatorName
boolean result
public void add (java.lang.String, boolean, java.lang.Object)
String validatorName
boolean result
Object value
public boolean containsAction (java.lang.String)
String validatorName
public boolean isValid (java.lang.String)
String validatorName
org.apache.commons.validator.ValidatorResult$ResultStatus status
public java.lang.Object getResult (java.lang.String)
String validatorName
org.apache.commons.validator.ValidatorResult$ResultStatus status
public java.util.Map getActionMap ()
public org.apache.commons.validator.Field getField ()
}
org/apache/commons/validator/FormSetFactory.classFormSetFactory.java
package org.apache.commons.validator
public org.apache.commons.validator.FormSetFactory extends org.apache.commons.digester.AbstractObjectCreationFactory {
private static final org.apache.commons.logging.Log log
static Class class$org$apache$commons$validator$ValidatorResources
public void ()
public java.lang.Object createObject (org.xml.sax.Attributes) throws java.lang.Exception
org.xml.sax.Attributes attributes
org.apache.commons.validator.ValidatorResources resources
String language
String country
String variant
private org.apache.commons.validator.FormSet createFormSet (org.apache.commons.validator.ValidatorResources, java.lang.String, java.lang.String, java.lang.String) throws java.lang.Exception
org.apache.commons.validator.ValidatorResources resources
String language
String country
String variant
org.apache.commons.validator.FormSet formSet
static java.lang.Class class$ (java.lang.String)
String x0
ClassNotFoundException x1
static void ()
}
org/apache/commons/validator/ValidatorResources$1.classValidatorResources.java
package org.apache.commons.validator
org.apache.commons.validator.ValidatorResources$1 extends org.apache.commons.digester.Rule {
private final org.apache.commons.validator.ValidatorResources this$0
void (org.apache.commons.validator.ValidatorResources)
org.apache.commons.validator.ValidatorResources this$0
public void begin (java.lang.String, java.lang.String, org.xml.sax.Attributes) throws java.lang.Exception
String namespace
String name
org.xml.sax.Attributes attributes
org.apache.commons.validator.Arg arg
Exception ex
}
org/apache/commons/validator/ValidatorResources.classValidatorResources.java
package org.apache.commons.validator
public org.apache.commons.validator.ValidatorResources extends java.lang.Object implements java.io.Serializable {
private static final String[] registrations
private static final org.apache.commons.logging.Log log
protected org.apache.commons.collections.FastHashMap hFormSets
protected org.apache.commons.collections.FastHashMap hConstants
protected org.apache.commons.collections.FastHashMap hActions
protected static java.util.Locale defaultLocale
protected org.apache.commons.validator.FormSet defaultFormSet
private static final String argsPattern
static Class class$org$apache$commons$validator$ValidatorResources
public void ()
public void (java.io.InputStream) throws java.io.IOException org.xml.sax.SAXException
java.io.InputStream in
public void (java.io.InputStream[]) throws java.io.IOException org.xml.sax.SAXException
java.io.InputStream[] streams
org.apache.commons.digester.Digester digester
int i
public void (java.lang.String) throws java.io.IOException org.xml.sax.SAXException
String uri
public void (java.lang.String[]) throws java.io.IOException org.xml.sax.SAXException
String[] uris
org.apache.commons.digester.Digester digester
int i
private org.apache.commons.digester.Digester initDigester ()
java.net.URL rulesUrl
org.apache.commons.digester.Digester digester
int i
java.net.URL url
private void addOldArgRules (org.apache.commons.digester.Digester)
org.apache.commons.digester.Digester digester
org.apache.commons.digester.Rule rule
public void addFormSet (org.apache.commons.validator.FormSet)
org.apache.commons.validator.FormSet fs
String key
org.apache.commons.validator.FormSet formset
public void addConstant (java.lang.String, java.lang.String)
String name
String value
public void addValidatorAction (org.apache.commons.validator.ValidatorAction)
org.apache.commons.validator.ValidatorAction va
public org.apache.commons.validator.ValidatorAction getValidatorAction (java.lang.String)
String key
public java.util.Map getValidatorActions ()
protected java.lang.String buildKey (org.apache.commons.validator.FormSet)
org.apache.commons.validator.FormSet fs
private java.lang.String buildLocale (java.lang.String, java.lang.String, java.lang.String)
String lang
String country
String variant
String key
public org.apache.commons.validator.Form getForm (java.util.Locale, java.lang.String)
java.util.Locale locale
String formKey
public org.apache.commons.validator.Form getForm (java.lang.String, java.lang.String, java.lang.String, java.lang.String)
String language
String country
String variant
String formKey
org.apache.commons.validator.Form form
String key
org.apache.commons.validator.FormSet formSet
String localeKey
org.apache.commons.validator.FormSet formSet
org.apache.commons.validator.FormSet formSet
public void process ()
private void processForms ()
java.util.Iterator i
String key
org.apache.commons.validator.FormSet fs
java.util.Iterator i
org.apache.commons.validator.FormSet fs
private org.apache.commons.validator.FormSet getParent (org.apache.commons.validator.FormSet)
org.apache.commons.validator.FormSet fs
org.apache.commons.validator.FormSet parent
org.apache.commons.validator.FormSet getFormSet (java.lang.String, java.lang.String, java.lang.String)
String language
String country
String variant
String key
protected java.util.Map getFormSets ()
protected java.util.Map getConstants ()
protected java.util.Map getActions ()
static java.lang.Class class$ (java.lang.String)
String x0
ClassNotFoundException x1
static org.apache.commons.logging.Log access$000 ()
static void ()
}
org/apache/commons/validator/FormSet.classFormSet.java
package org.apache.commons.validator
public org.apache.commons.validator.FormSet extends java.lang.Object implements java.io.Serializable {
private static final org.apache.commons.logging.Log log
private boolean processed
private String language
private String country
private String variant
private java.util.Map forms
private java.util.Map constants
protected static final int GLOBAL_FORMSET
protected static final int LANGUAGE_FORMSET
protected static final int COUNTRY_FORMSET
protected static final int VARIANT_FORMSET
private boolean merged
static Class class$org$apache$commons$validator$FormSet
public void ()
protected boolean isMerged ()
protected int getType ()
protected void merge (org.apache.commons.validator.FormSet)
org.apache.commons.validator.FormSet depends
java.util.Map pForms
java.util.Map dForms
java.util.Iterator it
Object key
org.apache.commons.validator.Form pForm
public boolean isProcessed ()
public java.lang.String getLanguage ()
public void setLanguage (java.lang.String)
String language
public java.lang.String getCountry ()
public void setCountry (java.lang.String)
String country
public java.lang.String getVariant ()
public void setVariant (java.lang.String)
String variant
public void addConstant (java.lang.String, java.lang.String)
String name
String value
public void addForm (org.apache.commons.validator.Form)
org.apache.commons.validator.Form f
String formName
public org.apache.commons.validator.Form getForm (java.lang.String)
String formName
public java.util.Map getForms ()
synchronized void process (java.util.Map)
java.util.Map globalConstants
java.util.Iterator i
org.apache.commons.validator.Form f
public java.lang.String displayKey ()
StringBuffer results
public java.lang.String toString ()
StringBuffer results
java.util.Iterator i
static java.lang.Class class$ (java.lang.String)
String x0
ClassNotFoundException x1
static void ()
}
org/apache/commons/validator/UrlValidator.classUrlValidator.java
package org.apache.commons.validator
public org.apache.commons.validator.UrlValidator extends java.lang.Object implements java.io.Serializable {
public static final int ALLOW_ALL_SCHEMES
public static final int ALLOW_2_SLASHES
public static final int NO_FRAGMENTS
private static final String ALPHA_CHARS
private static final String ALPHA_NUMERIC_CHARS
private static final String SPECIAL_CHARS
private static final String VALID_CHARS
private static final String SCHEME_CHARS
private static final String AUTHORITY_CHARS
private static final String ATOM
private static final String URL_PATTERN
private static final int PARSE_URL_SCHEME
private static final int PARSE_URL_AUTHORITY
private static final int PARSE_URL_PATH
private static final int PARSE_URL_QUERY
private static final int PARSE_URL_FRAGMENT
private static final String SCHEME_PATTERN
private static final String AUTHORITY_PATTERN
private static final int PARSE_AUTHORITY_HOST_IP
private static final int PARSE_AUTHORITY_PORT
private static final int PARSE_AUTHORITY_EXTRA
private static final String PATH_PATTERN
private static final String QUERY_PATTERN
private static final String LEGAL_ASCII_PATTERN
private static final String IP_V4_DOMAIN_PATTERN
private static final String DOMAIN_PATTERN
private static final String PORT_PATTERN
private static final String ATOM_PATTERN
private static final String ALPHA_PATTERN
private org.apache.commons.validator.util.Flags options
private java.util.Set allowedSchemes
protected String[] defaultSchemes
public void ()
public void (java.lang.String[])
String[] schemes
public void (int)
int options
public void (java.lang.String[], int)
String[] schemes
int options
public boolean isValid (java.lang.String)
String value
org.apache.oro.text.perl.Perl5Util matchUrlPat
org.apache.oro.text.perl.Perl5Util matchAsciiPat
protected boolean isValidScheme (java.lang.String)
String scheme
org.apache.oro.text.perl.Perl5Util schemeMatcher
protected boolean isValidAuthority (java.lang.String)
String authority
org.apache.oro.text.perl.Perl5Util authorityMatcher
org.apache.oro.text.perl.Perl5Util matchIPV4Pat
boolean ipV4Address
boolean hostname
String hostIP
int i
String ipSegment
NumberFormatException e
org.apache.oro.text.perl.Perl5Util domainMatcher
String[] domainSegment
boolean match
int segmentCount
int segmentLength
org.apache.oro.text.perl.Perl5Util atomMatcher
String topLevel
org.apache.oro.text.perl.Perl5Util alphaMatcher
String port
org.apache.oro.text.perl.Perl5Util portMatcher
String extra
protected boolean isValidPath (java.lang.String)
String path
org.apache.oro.text.perl.Perl5Util pathMatcher
int slash2Count
int slashCount
int dot2Count
protected boolean isValidQuery (java.lang.String)
String query
org.apache.oro.text.perl.Perl5Util queryMatcher
protected boolean isValidFragment (java.lang.String)
String fragment
protected int countToken (java.lang.String, java.lang.String)
String token
String target
int tokenIndex
int count
}
org/apache/commons/validator/CreditCardValidator$CreditCardType.classCreditCardValidator.java
package org.apache.commons.validator
public abstract org.apache.commons.validator.CreditCardValidator$CreditCardType extends java.lang.Object {
public abstract boolean matches (java.lang.String)
}
org/apache/commons/validator/CreditCardValidator$Visa.classCreditCardValidator.java
package org.apache.commons.validator
org.apache.commons.validator.CreditCardValidator$Visa extends java.lang.Object implements org.apache.commons.validator.CreditCardValidator$CreditCardType {
private static final String PREFIX
private final org.apache.commons.validator.CreditCardValidator this$0
private void (org.apache.commons.validator.CreditCardValidator)
org.apache.commons.validator.CreditCardValidator this$0
public boolean matches (java.lang.String)
String card
String prefix2
void (org.apache.commons.validator.CreditCardValidator, org.apache.commons.validator.CreditCardValidator$1)
org.apache.commons.validator.CreditCardValidator x0
org.apache.commons.validator.CreditCardValidator$1 x1
}
org/apache/commons/validator/CreditCardValidator$Amex.classCreditCardValidator.java
package org.apache.commons.validator
org.apache.commons.validator.CreditCardValidator$Amex extends java.lang.Object implements org.apache.commons.validator.CreditCardValidator$CreditCardType {
private static final String PREFIX
private final org.apache.commons.validator.CreditCardValidator this$0
private void (org.apache.commons.validator.CreditCardValidator)
org.apache.commons.validator.CreditCardValidator this$0
public boolean matches (java.lang.String)
String card
String prefix2
void (org.apache.commons.validator.CreditCardValidator, org.apache.commons.validator.CreditCardValidator$1)
org.apache.commons.validator.CreditCardValidator x0
org.apache.commons.validator.CreditCardValidator$1 x1
}
org/apache/commons/validator/CreditCardValidator$Discover.classCreditCardValidator.java
package org.apache.commons.validator
org.apache.commons.validator.CreditCardValidator$Discover extends java.lang.Object implements org.apache.commons.validator.CreditCardValidator$CreditCardType {
private static final String PREFIX
private final org.apache.commons.validator.CreditCardValidator this$0
private void (org.apache.commons.validator.CreditCardValidator)
org.apache.commons.validator.CreditCardValidator this$0
public boolean matches (java.lang.String)
String card
void (org.apache.commons.validator.CreditCardValidator, org.apache.commons.validator.CreditCardValidator$1)
org.apache.commons.validator.CreditCardValidator x0
org.apache.commons.validator.CreditCardValidator$1 x1
}
org/apache/commons/validator/CreditCardValidator$Mastercard.classCreditCardValidator.java
package org.apache.commons.validator
org.apache.commons.validator.CreditCardValidator$Mastercard extends java.lang.Object implements org.apache.commons.validator.CreditCardValidator$CreditCardType {
private static final String PREFIX
private final org.apache.commons.validator.CreditCardValidator this$0
private void (org.apache.commons.validator.CreditCardValidator)
org.apache.commons.validator.CreditCardValidator this$0
public boolean matches (java.lang.String)
String card
String prefix2
void (org.apache.commons.validator.CreditCardValidator, org.apache.commons.validator.CreditCardValidator$1)
org.apache.commons.validator.CreditCardValidator x0
org.apache.commons.validator.CreditCardValidator$1 x1
}
org/apache/commons/validator/CreditCardValidator$1.classCreditCardValidator.java
package org.apache.commons.validator
org.apache.commons.validator.CreditCardValidator$1 extends java.lang.Object {
}
org/apache/commons/validator/CreditCardValidator.classCreditCardValidator.java
package org.apache.commons.validator
public org.apache.commons.validator.CreditCardValidator extends java.lang.Object {
public static final int NONE
public static final int AMEX
public static final int VISA
public static final int MASTERCARD
public static final int DISCOVER
private java.util.Collection cardTypes
public void ()
public void (int)
int options
org.apache.commons.validator.util.Flags f
public boolean isValid (java.lang.String)
String card
java.util.Iterator types
org.apache.commons.validator.CreditCardValidator$CreditCardType type
public void addAllowedCardType (org.apache.commons.validator.CreditCardValidator$CreditCardType)
org.apache.commons.validator.CreditCardValidator$CreditCardType type
protected boolean luhnCheck (java.lang.String)
String cardNumber
int digits
int oddOrEven
long sum
int count
int digit
NumberFormatException e
}
org/apache/commons/validator/GenericValidator.classGenericValidator.java
package org.apache.commons.validator
public org.apache.commons.validator.GenericValidator extends java.lang.Object implements java.io.Serializable {
private static final org.apache.commons.validator.UrlValidator urlValidator
private static final org.apache.commons.validator.CreditCardValidator creditCardValidator
public void ()
public static boolean isBlankOrNull (java.lang.String)
String value
public static boolean matchRegexp (java.lang.String, java.lang.String)
String value
String regexp
org.apache.oro.text.perl.Perl5Util matcher
public static boolean isByte (java.lang.String)
String value
public static boolean isShort (java.lang.String)
String value
public static boolean isInt (java.lang.String)
String value
public static boolean isLong (java.lang.String)
String value
public static boolean isFloat (java.lang.String)
String value
public static boolean isDouble (java.lang.String)
String value
public static boolean isDate (java.lang.String, java.util.Locale)
String value
java.util.Locale locale
public static boolean isDate (java.lang.String, java.lang.String, boolean)
String value
String datePattern
boolean strict
public static boolean isInRange (byte, byte, byte)
byte value
byte min
byte max
public static boolean isInRange (int, int, int)
int value
int min
int max
public static boolean isInRange (float, float, float)
float value
float min
float max
public static boolean isInRange (short, short, short)
short value
short min
short max
public static boolean isInRange (long, long, long)
long value
long min
long max
public static boolean isInRange (double, double, double)
double value
double min
double max
public static boolean isCreditCard (java.lang.String)
String value
public static boolean isEmail (java.lang.String)
String value
public static boolean isUrl (java.lang.String)
String value
public static boolean maxLength (java.lang.String, int)
String value
int max
public static boolean minLength (java.lang.String, int)
String value
int min
public static boolean minValue (int, int)
int value
int min
public static boolean minValue (long, long)
long value
long min
public static boolean minValue (double, double)
double value
double min
public static boolean minValue (float, float)
float value
float min
public static boolean maxValue (int, int)
int value
int max
public static boolean maxValue (long, long)
long value
long max
public static boolean maxValue (double, double)
double value
double max
public static boolean maxValue (float, float)
float value
float max
static void ()
}
org/apache/commons/validator/DateValidator.classDateValidator.java
package org.apache.commons.validator
public org.apache.commons.validator.DateValidator extends java.lang.Object {
private static final org.apache.commons.validator.DateValidator instance
public static org.apache.commons.validator.DateValidator getInstance ()
protected void ()
public boolean isValid (java.lang.String, java.lang.String, boolean)
String value
String datePattern
boolean strict
java.text.SimpleDateFormat formatter
java.text.ParseException e
public boolean isValid (java.lang.String, java.util.Locale)
String value
java.util.Locale locale
java.text.DateFormat formatter
java.text.ParseException e
static void ()
}
org/apache/commons/validator/GenericTypeValidator.classGenericTypeValidator.java
package org.apache.commons.validator
public org.apache.commons.validator.GenericTypeValidator extends java.lang.Object implements java.io.Serializable {
private static final org.apache.commons.logging.Log log
static Class class$org$apache$commons$validator$GenericTypeValidator
public void ()
public static java.lang.Byte formatByte (java.lang.String)
String value
NumberFormatException e
public static java.lang.Byte formatByte (java.lang.String, java.util.Locale)
String value
java.util.Locale locale
Byte result
java.text.NumberFormat formatter
java.text.ParsePosition pos
Number num
public static java.lang.Short formatShort (java.lang.String)
String value
NumberFormatException e
public static java.lang.Short formatShort (java.lang.String, java.util.Locale)
String value
java.util.Locale locale
Short result
java.text.NumberFormat formatter
java.text.ParsePosition pos
Number num
public static java.lang.Integer formatInt (java.lang.String)
String value
NumberFormatException e
public static java.lang.Integer formatInt (java.lang.String, java.util.Locale)
String value
java.util.Locale locale
Integer result
java.text.NumberFormat formatter
java.text.ParsePosition pos
Number num
public static java.lang.Long formatLong (java.lang.String)
String value
NumberFormatException e
public static java.lang.Long formatLong (java.lang.String, java.util.Locale)
String value
java.util.Locale locale
Long result
java.text.NumberFormat formatter
java.text.ParsePosition pos
Number num
public static java.lang.Float formatFloat (java.lang.String)
String value
NumberFormatException e
public static java.lang.Float formatFloat (java.lang.String, java.util.Locale)
String value
java.util.Locale locale
Float result
java.text.NumberFormat formatter
java.text.ParsePosition pos
Number num
public static java.lang.Double formatDouble (java.lang.String)
String value
NumberFormatException e
public static java.lang.Double formatDouble (java.lang.String, java.util.Locale)
String value
java.util.Locale locale
Double result
java.text.NumberFormat formatter
java.text.ParsePosition pos
Number num
public static java.util.Date formatDate (java.lang.String, java.util.Locale)
String value
java.util.Locale locale
java.util.Date date
java.text.DateFormat formatter
java.text.ParseException e
public static java.util.Date formatDate (java.lang.String, java.lang.String, boolean)
String value
String datePattern
boolean strict
java.util.Date date
java.text.SimpleDateFormat formatter
java.text.ParseException e
public static java.lang.Long formatCreditCard (java.lang.String)
String value
static java.lang.Class class$ (java.lang.String)
String x0
ClassNotFoundException x1
static void ()
}
org/apache/commons/validator/Validator.classValidator.java
package org.apache.commons.validator
public org.apache.commons.validator.Validator extends java.lang.Object implements java.io.Serializable {
public static final String BEAN_PARAM
public static final String VALIDATOR_ACTION_PARAM
public static final String VALIDATOR_RESULTS_PARAM
public static final String FORM_PARAM
public static final String FIELD_PARAM
public static final String VALIDATOR_PARAM
public static final String LOCALE_PARAM
protected org.apache.commons.validator.ValidatorResources resources
protected String formName
protected String fieldName
protected java.util.Map parameters
protected int page
protected ClassLoader classLoader
protected boolean useContextClassLoader
protected boolean onlyReturnErrors
public void (org.apache.commons.validator.ValidatorResources)
org.apache.commons.validator.ValidatorResources resources
public void (org.apache.commons.validator.ValidatorResources, java.lang.String)
org.apache.commons.validator.ValidatorResources resources
String formName
public void (org.apache.commons.validator.ValidatorResources, java.lang.String, java.lang.String)
org.apache.commons.validator.ValidatorResources resources
String formName
String fieldName
public void setParameter (java.lang.String, java.lang.Object)
String parameterClassName
Object parameterValue
public java.lang.Object getParameterValue (java.lang.String)
String parameterClassName
public java.lang.String getFormName ()
public void setFormName (java.lang.String)
String formName
public void setFieldName (java.lang.String)
String fieldName
public int getPage ()
public void setPage (int)
int page
public void clear ()
public boolean getUseContextClassLoader ()
public void setUseContextClassLoader (boolean)
boolean use
public java.lang.ClassLoader getClassLoader ()
ClassLoader contextLoader
public void setClassLoader (java.lang.ClassLoader)
ClassLoader classLoader
public org.apache.commons.validator.ValidatorResults validate () throws org.apache.commons.validator.ValidatorException
java.util.Locale locale
org.apache.commons.validator.Form form
public boolean getOnlyReturnErrors ()
public void setOnlyReturnErrors (boolean)
boolean onlyReturnErrors
}
org/apache/commons/validator/EmailValidator.classEmailValidator.java
package org.apache.commons.validator
public org.apache.commons.validator.EmailValidator extends java.lang.Object {
private static final String SPECIAL_CHARS
private static final String VALID_CHARS
private static final String QUOTED_USER
private static final String ATOM
private static final String WORD
private static final String LEGAL_ASCII_PATTERN
private static final String EMAIL_PATTERN
private static final String IP_DOMAIN_PATTERN
private static final String TLD_PATTERN
private static final String USER_PATTERN
private static final String DOMAIN_PATTERN
private static final String ATOM_PATTERN
private static final org.apache.commons.validator.EmailValidator instance
public static org.apache.commons.validator.EmailValidator getInstance ()
protected void ()
public boolean isValid (java.lang.String)
String email
org.apache.oro.text.perl.Perl5Util matchAsciiPat
org.apache.oro.text.perl.Perl5Util emailMatcher
protected boolean isValidDomain (java.lang.String)
String domain
boolean symbolic
org.apache.oro.text.perl.Perl5Util ipAddressMatcher
org.apache.oro.text.perl.Perl5Util domainMatcher
protected boolean isValidUser (java.lang.String)
String user
org.apache.oro.text.perl.Perl5Util userMatcher
protected boolean isValidIpAddress (org.apache.oro.text.perl.Perl5Util)
org.apache.oro.text.perl.Perl5Util ipAddressMatcher
int i
String ipSegment
int iIpSegment
NumberFormatException e
protected boolean isValidSymbolicDomain (java.lang.String)
String domain
String[] domainSegment
boolean match
int i
org.apache.oro.text.perl.Perl5Util atomMatcher
int l
int len
String tld
org.apache.oro.text.perl.Perl5Util matchTldPat
protected java.lang.String stripComments (java.lang.String)
String emailStr
String input
String result
String commentPat
org.apache.oro.text.perl.Perl5Util commentMatcher
static void ()
}
org/apache/commons/validator/digester-rules.xml
org/apache/commons/validator/resources/validator_1_0_1.dtd
org/apache/commons/validator/resources/validator_1_2_0.dtd
org/apache/commons/validator/resources/validator_1_0.dtd
org/apache/commons/validator/resources/validator_1_1_3.dtd
org/apache/commons/validator/resources/validator_1_1.dtd
org/apache/commons/validator/javascript/validateFloat.js
org/apache/commons/validator/javascript/validateShort.js
org/apache/commons/validator/javascript/validateByte.js
org/apache/commons/validator/javascript/validateMask.js
org/apache/commons/validator/javascript/validateMaxLength.js
org/apache/commons/validator/javascript/validateIntRange.js
org/apache/commons/validator/javascript/validateCreditCard.js
org/apache/commons/validator/javascript/validateFloatRange.js
org/apache/commons/validator/javascript/validateDate.js
org/apache/commons/validator/javascript/validateUtilities.js
org/apache/commons/validator/javascript/validateEmail.js
org/apache/commons/validator/javascript/validateRequired.js
org/apache/commons/validator/javascript/validateInteger.js
org/apache/commons/validator/javascript/validateMinLength.js
META-INF/NOTICE.txt
META-INF/LICENSE.txt