A B C D E F G H I K L M N O P R S T V W X

A

addFailure(ValidationFailure) - Method in exception org.iscreen.ValidationException
Add a failure to this exception.
addMapping(String, String) - Method in class org.iscreen.impl.ConfiguredValidator
Adds a mapping for mapping the object being validated to the beanToValidate object (that the Validator created).
addMessage(String, String) - Method in class org.iscreen.impl.ConfiguredResource
Adds an individual message as a resource, available via its key.
addRawFailures(List) - Method in class org.iscreen.impl.DefaultValidatorContext
Adds "raw" failures (which is a List of ValidationFailure objects) to the existing set of failures.
addRawWarnings(List) - Method in class org.iscreen.impl.DefaultValidatorContext
Adds "raw" warnings (which is a List of ValidationFailure objects) to the existing set of warnings.
addResourceFile(String) - Method in class org.iscreen.impl.ConfiguredResource
Adds a resource bundle based upon its classpath location.
addResourceFiles(Set) - Method in class org.iscreen.impl.ConfiguredResource
Adds a Set of resource bundle locations (Set of String objects).
addService(String, Object) - Method in class org.iscreen.ValidationFactoryConfig
Adds a service to those already defined for the factory.
addStaticProperty(String, Object) - Method in class org.iscreen.impl.ConfiguredValidator
Adds a "static" property to set on the underlying Validator.
addValidationSetToSet(String, String, boolean, String, String, String) - Method in class org.iscreen.impl.xml.XmlServiceFactory
Adds a validation set reference call to a validation set.
addValidatorToSet(String, String, String, String, boolean, XmlConfigLabel, Set, Set, Set) - Method in class org.iscreen.impl.xml.XmlServiceFactory
Adds a 'use-validator' to a Validation Set.
addValidatorWrapper(ValidatorWrapper) - Method in class org.iscreen.impl.DefaultValidationService
Adds a validator wrapper, which is used to call the contained validator.
addWarning(ValidationFailure) - Method in exception org.iscreen.ValidationException
Add a warning to this exception.
allowNull - Variable in class org.iscreen.validators.RegularExpressionValidator
 

B

BaseValidationService - Class in org.iscreen.impl
This is the base class implementation of the ValidationService interface.
BaseValidationService(String, Locale) - Constructor for class org.iscreen.impl.BaseValidationService
Constructor taking unique id.
BaseValidator - Class in org.iscreen
This abstract class acts as a base class for custom validators.
BaseValidator() - Constructor for class org.iscreen.BaseValidator
 
bean - Variable in class org.iscreen.impl.OgnlRoot
 
buildFactory(String, String, Locale, Map) - Static method in class org.iscreen.ValidationFactory
Builds a registered factory.
buildFactory(String, String, Map) - Static method in class org.iscreen.ValidationFactory
Builds a registered factory.

C

configLocation - Variable in class org.iscreen.ValidationFactory
 
configLocation - Variable in class org.iscreen.ValidationFactoryConfig
 
ConfigurationException - Exception in org.iscreen
This is an unchecked, runtime exception that is thrown when a programmer's error is detected (such as invalid configuration), etc.
ConfigurationException() - Constructor for exception org.iscreen.ConfigurationException
Default constructor.
ConfigurationException(String) - Constructor for exception org.iscreen.ConfigurationException
 
ConfigurationException(String, Throwable) - Constructor for exception org.iscreen.ConfigurationException
 
ConfiguredResource - Class in org.iscreen.impl
Represents a Resource that includes its configuration.
ConfiguredResource() - Constructor for class org.iscreen.impl.ConfiguredResource
Default constructor.
ConfiguredValidator - Class in org.iscreen.impl
A special validator wrapper that wraps a Validator and the configuration associated with it.
ConfiguredValidator() - Constructor for class org.iscreen.impl.ConfiguredValidator
Default constructor.
configureValidator(ConfiguredValidator, String, String, XmlConfigLabel, Set, Set, Set) - Method in class org.iscreen.impl.xml.XmlServiceFactory
Handles the actual configuration of a Validator, whether via registration or by adding one to a Validation Set.
constructBeanToValidate() - Method in class org.iscreen.BaseValidator
 
constructBeanToValidate() - Method in interface org.iscreen.Validator
This is called prior to calling the validate() method.
constructBeanToValidate() - Method in class org.iscreen.validators.DateRangeValidator
 
constructContext(OgnlRoot, Locale) - Method in class org.iscreen.impl.BaseValidationService
This can be over-written by sub-classes, but it's not really necessary, since this service requires a particular implementation of the ValidatorContext.
constructMessage(String, Object) - Method in class org.iscreen.impl.OgnlMessage
Searches through the template and replaces all ${} with the evaluation of their OGNL expressions.
constructRoot(Object) - Method in class org.iscreen.impl.BaseValidationService
This can be over-written by sub-classes, but it's not really necessary, since this service requires an OGNL root object.
containingService - Variable in class org.iscreen.impl.ConfiguredValidator
 
currentIterator - Variable in class org.iscreen.impl.DefaultValidationService
 

D

DateFormatValidator - Class in org.iscreen.validators
This validator checks the format of the input String to verify that it conforms to the proper format.
DateFormatValidator() - Constructor for class org.iscreen.validators.DateFormatValidator
Default constructor.
DateRangeValidator - Class in org.iscreen.validators
The date range validator checks a "from" date to a "to" date to ensure that the "to" date is equal to or after the "from" date.
DateRangeValidator() - Constructor for class org.iscreen.validators.DateRangeValidator
Default constructor.
DateRangeValidator.BeanToValidate - Class in org.iscreen.validators
 
DateRangeValidator.BeanToValidate() - Constructor for class org.iscreen.validators.DateRangeValidator.BeanToValidate
 
DEFAULT_FROM - Static variable in class org.iscreen.impl.ConfiguredValidator
 
DEFAULT_TO - Static variable in class org.iscreen.impl.ConfiguredValidator
 
defaultFailure - Variable in class org.iscreen.BaseValidator
 
defaultLocale - Variable in class org.iscreen.impl.BaseValidationService
 
defaultLocale - Variable in class org.iscreen.ValidationFactory
 
defaultLocale - Variable in class org.iscreen.ValidationFactoryConfig
 
DefaultValidationService - Class in org.iscreen.impl
This is a "default" implementation of the ValidationService interface that can be configured to act as a full implementation of the service.
DefaultValidationService(String, Locale) - Constructor for class org.iscreen.impl.DefaultValidationService
Constructor requiring a unique id and default locale
DefaultValidatorContext - Class in org.iscreen.impl
This is the default implementation of the ValidatorContext that's passed to Validators during validation.
DefaultValidatorContext(OgnlRoot, Locale) - Constructor for class org.iscreen.impl.DefaultValidatorContext
Default constructor.
displayFormat - Variable in class org.iscreen.validators.DateFormatValidator
 

E

equals(Object) - Method in class org.iscreen.impl.OgnlObjectMapping
Equality is based upon the 'setter' OGNL expression (not the 'getter' expression).
equals(Object) - Method in class org.iscreen.impl.OgnlPropertyMapping
Implemented so that instances can be stored in sets/maps.
equals(Object) - Method in class org.iscreen.impl.xml.XmlConfigConstraint
 
equals(Object) - Method in class org.iscreen.impl.xml.XmlConfigFailure
 
equals(Object) - Method in class org.iscreen.impl.xml.XmlConfigMapping
 
equals(Object) - Method in class org.iscreen.impl.xml.XmlConfigMessage
 
executeMappings(Object, Object) - Method in class org.iscreen.impl.ConfiguredValidator
Maps the appropriate properties from one object to another.

F

factory - Variable in class org.iscreen.ValidationFactoryConfig
 
FACTORY_DEFAULT_XML - Static variable in class org.iscreen.ValidationFactory
 
factoryId - Variable in class org.iscreen.ValidationFactoryConfig
 
failFastFlag - Variable in class org.iscreen.impl.ConfiguredValidator
 
failFastFlag - Variable in class org.iscreen.impl.ValidationServiceValidator
 
failure - Variable in class org.iscreen.impl.OgnlRoot
 
FailureMessage - Interface in org.iscreen
A failure message is a holding interface for objects that represent failure messages.
failures - Variable in class org.iscreen.impl.DefaultValidatorContext
 
failures - Variable in exception org.iscreen.ValidationException
 
fields - Variable in class org.iscreen.impl.OgnlRoot
 
fields - Variable in class org.iscreen.ValidationFailure
 
fileLocation - Variable in class org.iscreen.impl.xml.PositionContext
 
format - Variable in class org.iscreen.validators.DateFormatValidator
 

G

generateMessage(PositionContext, String, String) - Static method in exception org.iscreen.impl.xml.XmlConfigurationException
Generates an error message based upon the passed-in parameters.
getAllWrappers() - Method in class org.iscreen.impl.DefaultValidationService
Retrieves all of the validator wrappers this service is configured with.
getBean() - Method in class org.iscreen.impl.OgnlRoot
The JavaBean being validated can be retrieved by failure messages, since the bean is set prior to validation (prior to any validators being called).
getConfigLocation() - Method in class org.iscreen.ValidationFactory
Retrieves the configuration file location for this validation factory.
getConfiguredValidator() - Method in class org.iscreen.impl.ConfiguredValidator
Creates the Validator and configures it.
getCount() - Method in class org.iscreen.impl.DefaultValidatorContext
Calculates the total failure and warning counts.
getDate() - Method in class org.iscreen.validators.DateRangeValidator.BeanToValidate
 
getDefaultFailure() - Method in class org.iscreen.BaseValidator
Retrieves the default failure message.
getDefaultLocale() - Method in class org.iscreen.ValidationFactory
Retrieves the default locale for this factory.
getDefaultMapping() - Static method in class org.iscreen.impl.ConfiguredValidator
Create a default mapping so that if no mapping is defined in configuration, a default mapping can be used.
getDisplayFormat() - Method in class org.iscreen.validators.DateFormatValidator
Retrieves the format of the date for display purposes.
getDocument(InputStream) - Method in class org.iscreen.impl.xml.XmlParser
Constructs a DOM object that represents the stream provided.
getFactory() - Method in class org.iscreen.ValidationFactoryConfig
Builds and returns the factory based upon the configuration defined within this configuration.
getFailure() - Method in class org.iscreen.impl.OgnlRoot
The failure object, which represents an object associated with a particular failure (and failure message), is available to failure messages, as it's set prior to them being evaluated.
getFailureCount() - Method in class org.iscreen.impl.DefaultValidatorContext
Retrieves the number of current failures in this context.
getFailureMessages() - Method in exception org.iscreen.ValidationException
Retrieves the list of failure messages (List of String objects).
getFailures() - Method in class org.iscreen.impl.DefaultValidatorContext
Retrieves a List of the current failures within this context.
getFailures() - Method in exception org.iscreen.ValidationException
Retrieves the List of ValidationFailures associated with this exception that represent the failures.
getFields() - Method in class org.iscreen.impl.ConfiguredValidator
Retrieves the Collection of fields (the 'getter' OGNL expressions) that are used in mapping properties from the JavaBean/Object being validated to the validation bean.
getFields() - Method in class org.iscreen.impl.OgnlRoot
Returns the fields, which are OGNL 'getter' expressions.
getFields() - Method in class org.iscreen.ValidationFailure
Retrieves the fields (the OGNL expression used to 'get' the properties from the JavaBean being validated) of the JavaBean being validated.
getFileLocation() - Method in class org.iscreen.impl.xml.PositionContext
Retrieves the root file location.
getFormat() - Method in class org.iscreen.validators.DateFormatValidator
Retrieves the date format that the date is validated against.
getFrom() - Method in class org.iscreen.impl.xml.XmlConfigMapping
 
getFrom() - Method in class org.iscreen.validators.DateRangeValidator.BeanToValidate
 
getGetter() - Method in class org.iscreen.impl.OgnlObjectMapping
Retrieves the 'getter' OGNL expression that this mapper is configured to use.
getId() - Method in class org.iscreen.impl.ConfiguredValidator
Gets the id of this wrapper.
getIndex() - Method in class org.iscreen.impl.OgnlRoot
Gets the index of this OGNL root.
getIndex() - Method in class org.iscreen.ValidationFailure
Retrieves the index of the JavaBean/Object being validated that was an element within an array/Collection of a 'parent' JavaBean being validated (i.e.
getInput(String) - Method in class org.iscreen.impl.xml.XmlParser
Given a "location" which is a classpath-based resource, return an InputStream to it.
getKey() - Method in class org.iscreen.impl.xml.XmlConfigFailure
 
getKey() - Method in class org.iscreen.impl.xml.XmlConfigMessage
 
getLabel(Locale) - Method in class org.iscreen.impl.ConfiguredValidator
Gets the value of the label for this Validator wrapper.
getLabel() - Method in class org.iscreen.impl.OgnlRoot
The label is available during runtime, prior to any validators being called (prior to validation).
getLabel() - Method in class org.iscreen.ValidationFailure
Retrieves the label associated with this failure.
getLocale() - Method in class org.iscreen.impl.DefaultValidatorContext
 
getLocale() - Method in interface org.iscreen.ValidatorContext
Gets the current locale being used for this validation.
getLocation() - Method in class org.iscreen.impl.xml.PositionContext
Builds and returns the context path or full location of the "position" this instance represents.
getMappings() - Method in class org.iscreen.impl.ConfiguredValidator
Gets the Set of mappings for this Validator and any Validator this Validator references.
getMaxLength() - Method in class org.iscreen.validators.StringValidator
Retrieves the maximum required length for the string being validated.
getMessage(Object, Locale) - Method in interface org.iscreen.FailureMessage
Get the actual failure message.
getMessage() - Method in class org.iscreen.impl.OgnlMessage
Generates a message based upon the template of this message and the OGNL root passed in to the setOgnlRoot() method.
getMessage(Object, Locale) - Method in class org.iscreen.impl.OgnlMessage
Generates a message based upon the template of this message and the OGNL root passed in.
getMessage() - Method in class org.iscreen.impl.xml.XmlConfigFailure
 
getMessage() - Method in class org.iscreen.ValidationFailure
Retrieves the failure message (which has already been evaluated and localized.
getMinLength() - Method in class org.iscreen.validators.StringValidator
Retrieves the minimum required length for the string being validated.
getNextValidator() - Method in class org.iscreen.impl.BaseValidationService
Retrieves the "next" Validator in the set of Validators that this validation service is configured to use.
getNextValidator() - Method in class org.iscreen.impl.DefaultValidationService
 
getOgnlRoot() - Method in class org.iscreen.impl.OgnlMessage
Returns the OGNL root previously set using the setOgnlRoot() method.
getProperty() - Method in class org.iscreen.impl.xml.XmlConfigConstraint
 
getProperty() - Method in class org.iscreen.impl.xml.XmlConfigFailure
 
getRegex() - Method in class org.iscreen.validators.RegularExpressionValidator
 
getResource() - Method in class org.iscreen.impl.xml.XmlConfigFailure
 
getResource(String) - Method in class org.iscreen.impl.xml.XmlServiceFactory
Retrieves a ConfiguredResource for the given id.
getResource(String, String, String) - Method in class org.iscreen.impl.xml.XmlServiceFactory
Retrieves a resource based upon a set of id's.
getResourceId() - Method in class org.iscreen.impl.xml.XmlConfigLabel
Retrieves the resource id.
getResourceKey() - Method in class org.iscreen.impl.xml.XmlConfigLabel
Retrieves the resource key.
getServiceId() - Method in class org.iscreen.impl.ConfiguredValidator
 
getServiceId() - Method in class org.iscreen.impl.xml.XmlConfigConstraint
 
getServiceName() - Method in class org.iscreen.impl.BaseValidationService
 
getServiceName() - Method in interface org.iscreen.ValidationService
The service name (unique id) of the service.
getServiceName() - Method in class org.iscreen.ValidationServiceWrapper
 
getServices() - Method in class org.iscreen.ValidationFactory
Retrieves the map of services available to this factory.
getSetter() - Method in class org.iscreen.impl.OgnlObjectMapping
Retrieves the 'setter' OGNL expression that this mapper is configured to use.
getStaticProperties() - Method in class org.iscreen.impl.ConfiguredValidator
Retrieves the Set of static properties (which are OgnlPropertyMapping objects).
getStringValue(Object) - Method in class org.iscreen.BaseValidator
Gets the object to validate as a String.
getTemplate(Locale) - Method in class org.iscreen.impl.OgnlMessage
Returns the template previously set during construction.
getTemplate(Locale) - Method in class org.iscreen.impl.OgnlResourceMessage
Retrieves the template from the resource using the key provided.
getterAST - Variable in class org.iscreen.impl.OgnlObjectMapping
 
getterExp - Variable in class org.iscreen.impl.OgnlObjectMapping
 
getTo() - Method in class org.iscreen.impl.xml.XmlConfigMapping
 
getTo() - Method in class org.iscreen.validators.DateRangeValidator.BeanToValidate
 
getValidationService(String) - Method in class org.iscreen.impl.xml.XmlServiceFactory
Retrieves a validation service with the given service name.
getValidationService(String) - Method in class org.iscreen.ValidationFactory
Retrieves a validation service with the given service name.
getValidator() - Method in class org.iscreen.impl.OgnlRoot
The Validator is available during runtime, prior to any validators being called (prior to validation).
getValidator(String) - Method in class org.iscreen.impl.xml.XmlServiceFactory
Retrieves a ConfiguredValidator with the given id.
getValidatorClass() - Method in class org.iscreen.impl.ConfiguredValidator
Returns the Class of the Validator this class is wrapping (this may retrieve the Class from another wrapper this wrapper references).
getValue(String, Locale) - Method in class org.iscreen.impl.ConfiguredResource
Gets the value of the message key.
getValue(String, Locale) - Method in interface org.iscreen.impl.Resource
Retrieves a particular value from the resource based upon a given key.
getValue(Locale) - Method in class org.iscreen.impl.ResourceValue
Retrieves the value associated with this key/resource pair that this instance represents.
getValue() - Method in class org.iscreen.impl.xml.XmlConfigConstraint
 
getValue() - Method in class org.iscreen.impl.xml.XmlConfigLabel
Retrieves the value of the label.
getValue() - Method in class org.iscreen.impl.xml.XmlConfigMessage
 
getValue() - Method in class org.iscreen.SimpleBean
 
getWarningCount() - Method in class org.iscreen.impl.DefaultValidatorContext
Retrieves the number of current warnings in this context.
getWarningMessages() - Method in exception org.iscreen.ValidationException
Retrieves the list of warning messages (List of String objects).
getWarnings() - Method in class org.iscreen.impl.DefaultValidatorContext
Retrieves a List of the current warnings within this context.
getWarnings() - Method in exception org.iscreen.ValidationException
Retrieves the List of ValidationFailures associated with this exception that represent the warnings.

H

hashCode() - Method in class org.iscreen.impl.OgnlObjectMapping
The hash code is based upon the 'setter' OGNL expression.
hashCode() - Method in class org.iscreen.impl.OgnlPropertyMapping
 

I

id - Variable in class org.iscreen.impl.BaseValidationService
 
id - Variable in class org.iscreen.impl.ConfiguredValidator
 
ifExp - Variable in class org.iscreen.impl.ValidationServiceValidator
 
index - Variable in class org.iscreen.impl.OgnlRoot
 
index - Variable in class org.iscreen.ValidationFailure
 
isAllowNull() - Method in class org.iscreen.validators.RegularExpressionValidator
 
isFailFast() - Method in class org.iscreen.impl.ConfiguredValidator
Whether this wrapper should report to the validation service not to continue validating if this wrapper finds a failure.
iterateExp - Variable in class org.iscreen.impl.ValidationServiceValidator
 

K

key - Variable in class org.iscreen.impl.OgnlResourceMessage
 
key - Variable in class org.iscreen.impl.ResourceValue
 

L

label - Variable in class org.iscreen.impl.ConfiguredValidator
 
label - Variable in class org.iscreen.impl.OgnlRoot
 
label - Variable in class org.iscreen.ValidationFailure
 
lenientFlag - Variable in class org.iscreen.validators.DateFormatValidator
 
loadConfig() - Method in class org.iscreen.impl.xml.XmlServiceFactory
Called to initialize the configuration (loads the XML config file).
loadConfig() - Method in class org.iscreen.ValidationFactory
This method is called to initialize the factory.
locale - Variable in class org.iscreen.impl.DefaultValidatorContext
 

M

map(Object, Object) - Method in class org.iscreen.impl.OgnlObjectMapping
Maps a property from the fromBean to the toBean using the configured OGNL getter/setter expressions.
map(Object, Object) - Method in class org.iscreen.impl.OgnlPropertyMapping
Sets a property on the object with the given value (any value set using the setValue() method is ignored in this case).
map(Object) - Method in class org.iscreen.impl.OgnlPropertyMapping
Sets a property on the object with the previously set value (from calling the setValue() method).
mapExp - Variable in class org.iscreen.impl.ValidationServiceValidator
 
mappings - Variable in class org.iscreen.impl.ConfiguredValidator
 
maxLength - Variable in class org.iscreen.validators.StringValidator
 
maxLengthFailure - Variable in class org.iscreen.validators.StringValidator
 
message - Variable in class org.iscreen.ValidationFailure
 
minLength - Variable in class org.iscreen.validators.StringValidator
 
minLengthFailure - Variable in class org.iscreen.validators.StringValidator
 

N

nodes - Variable in class org.iscreen.impl.xml.PositionContext
 
nullFailure - Variable in class org.iscreen.validators.StringValidator
 
NullValidator - Class in org.iscreen.validators
The NullValidator checks a single value and ensures that it's not null.
NullValidator() - Constructor for class org.iscreen.validators.NullValidator
Default constructor.

O

OgnlMessage - Class in org.iscreen.impl
An OGNL message wraps a "template" that is a String of characters.
OgnlMessage(String) - Constructor for class org.iscreen.impl.OgnlMessage
Constructor taking the template of this message.
OgnlMessage() - Constructor for class org.iscreen.impl.OgnlMessage
For sub-classes to over-ride how this works.
OgnlObjectMapping - Class in org.iscreen.impl
This class provides mapping data from one object to another via two sets of OGNL expressions: one to get the value from one object; and one to set that value on another object.
OgnlObjectMapping(String, String) - Constructor for class org.iscreen.impl.OgnlObjectMapping
Default constructor taking the 'getter' OGNL expression and the 'setter' OGNL expression.
OgnlPropertyMapping - Class in org.iscreen.impl
Instances of this class are used to set OGNL properties on objects with a particular value.
OgnlPropertyMapping(String) - Constructor for class org.iscreen.impl.OgnlPropertyMapping
Construct with given property.
OgnlPropertyMapping(String, Object) - Constructor for class org.iscreen.impl.OgnlPropertyMapping
Construct with both a property and the property's value.
OgnlResourceMessage - Class in org.iscreen.impl
 
OgnlResourceMessage(ConfiguredResource, String) - Constructor for class org.iscreen.impl.OgnlResourceMessage
Constructor requiring a resource and resource key.
OgnlRoot - Class in org.iscreen.impl
This class represents the JavaBean that's used to evaluate OGNL expressions.
OgnlRoot() - Constructor for class org.iscreen.impl.OgnlRoot
Default constructor.
org.iscreen - package org.iscreen
This package contains classes and interfaces that are considered "public" to applications that are using this library.
org.iscreen.impl - package org.iscreen.impl
 
org.iscreen.impl.xml - package org.iscreen.impl.xml
 
org.iscreen.validators - package org.iscreen.validators
 

P

parse(String) - Method in class org.iscreen.impl.xml.XmlParser
Parses the configuration file and calls back into the provided factory for configuration elements.
popNode() - Method in class org.iscreen.impl.xml.PositionContext
Removes the top-most node from the context (and all associated attributes of that node).
PositionContext - Class in org.iscreen.impl.xml
Instances of this class track the position within a "stack" (such as an XML hierarchy) and is used for error messages, giving the user as much information about where the error occurred as possible.
PositionContext(String) - Constructor for class org.iscreen.impl.xml.PositionContext
Constructor taking the location of the root "file" location.
property - Variable in class org.iscreen.impl.OgnlPropertyMapping
 
pushAttr(String, String) - Method in class org.iscreen.impl.xml.PositionContext
Pushes an attribute and its value onto the current node (the one at the top of the stack).
pushNode(String) - Method in class org.iscreen.impl.xml.PositionContext
Pushes a node onto the top of the context.

R

ref - Variable in class org.iscreen.impl.ConfiguredValidator
 
regexExp - Variable in class org.iscreen.validators.RegularExpressionValidator
 
registerFactory(Class, String) - Static method in class org.iscreen.ValidationFactory
Registers a factory with a given factory id.
registerInclude(String) - Method in class org.iscreen.impl.xml.XmlServiceFactory
Registers an included file (for parsing).
registerResource(String, String, Set, Set) - Method in class org.iscreen.impl.xml.XmlServiceFactory
Registers a resource with its id (and parent ref, if there is one), hard-coded messages, and resource bundle locations.
registerService(String, Object) - Method in class org.iscreen.impl.xml.XmlServiceFactory
Registers a service with the factory.
registerValidationSet(String) - Method in class org.iscreen.impl.xml.XmlServiceFactory
Registers a Validation Set.
registerValidator(String, String, String, String, String, XmlConfigLabel, Set, Set, Set) - Method in class org.iscreen.impl.xml.XmlServiceFactory
Registers an individual Validator configuration.
RegularExpressionValidator - Class in org.iscreen.validators
The RegularExpressionValidator uses a regular expression to check a single String value to ensure that it finds a match.
RegularExpressionValidator() - Constructor for class org.iscreen.validators.RegularExpressionValidator
Default constructor.
reportFailure(FailureMessage) - Method in class org.iscreen.impl.DefaultValidatorContext
 
reportFailure(FailureMessage, Object) - Method in class org.iscreen.impl.DefaultValidatorContext
 
reportFailure(FailureMessage) - Method in interface org.iscreen.ValidatorContext
Called to report a validation failure.
reportFailure(FailureMessage, Object) - Method in interface org.iscreen.ValidatorContext
Called to report a validation failure.
reportWarning(FailureMessage) - Method in class org.iscreen.impl.DefaultValidatorContext
 
reportWarning(FailureMessage, Object) - Method in class org.iscreen.impl.DefaultValidatorContext
 
reportWarning(FailureMessage) - Method in interface org.iscreen.ValidatorContext
Called to report a validation warning.
reportWarning(FailureMessage, Object) - Method in interface org.iscreen.ValidatorContext
Called to report a validation warning.
resetValidatorIteration() - Method in class org.iscreen.impl.BaseValidationService
Resets the iteration of Validators using the getNextValidator() method.
resetValidatorIteration() - Method in class org.iscreen.impl.DefaultValidationService
 
resource - Variable in class org.iscreen.impl.OgnlResourceMessage
 
Resource - Interface in org.iscreen.impl
A Resource is a collection of String resources that are accessible via a particular key.
resource - Variable in class org.iscreen.impl.ResourceValue
 
resourceMap - Variable in class org.iscreen.impl.xml.XmlServiceFactory
 
ResourceValue - Class in org.iscreen.impl
A ResourceValue is a combination of a key and the Resource that's associated with it.
ResourceValue(Resource, String) - Constructor for class org.iscreen.impl.ResourceValue
Construct with given resource and key.
ResourceValue(String) - Constructor for class org.iscreen.impl.ResourceValue
Construct with the given value.
root - Variable in class org.iscreen.impl.DefaultValidatorContext
 
root - Variable in class org.iscreen.impl.OgnlMessage
 

S

serviceMap - Variable in class org.iscreen.ValidationFactory
 
services - Variable in class org.iscreen.ValidationFactoryConfig
 
setAfterFailure(FailureMessage) - Method in class org.iscreen.validators.DateRangeValidator
 
setAllowNull(boolean) - Method in class org.iscreen.validators.RegularExpressionValidator
 
setBean(Object) - Method in class org.iscreen.impl.OgnlRoot
The JavaBean being validated is set during runtime, prior to any validators being called (prior to validation).
setBeforeFailure(FailureMessage) - Method in class org.iscreen.validators.DateRangeValidator
 
setClassName(String) - Method in class org.iscreen.impl.ConfiguredValidator
Sets the class name of the Validator this class is wrapping.
setConfigLocation(String) - Method in class org.iscreen.ValidationFactory
This is called right after the validation factory is instantiated and the services call (setServices()) has been called.
setConfigurationLocation(String) - Method in class org.iscreen.ValidationFactoryConfig
Defines the location of the configuration file.
setDate(Date) - Method in class org.iscreen.validators.DateRangeValidator.BeanToValidate
 
setDefaultFailure(FailureMessage) - Method in class org.iscreen.BaseValidator
Sets the failure message.
setDefaultLocale(Locale) - Method in class org.iscreen.ValidationFactory
Sets the default locale for this factory.
setDefaultLocale(Locale) - Method in class org.iscreen.ValidationFactoryConfig
Sets the default locale for this factory.
setDisplayFormat(String) - Method in class org.iscreen.validators.DateFormatValidator
The display format, which is reported when a failure occurs.
setFactoryId(String) - Method in class org.iscreen.ValidationFactoryConfig
Sets the factory id.
setFailFast(boolean) - Method in class org.iscreen.impl.ConfiguredValidator
Sets whether this wrapper should report to the validation service not to continue validating if this wrapper finds a failure.
setFailFast(boolean) - Method in class org.iscreen.impl.ValidationServiceValidator
 
setFailure(Object) - Method in class org.iscreen.impl.OgnlRoot
The failure object, which represents an object associated with a particular failure (and failure message), is set during validation, when a validator reports the failure.
setFields(Collection) - Method in class org.iscreen.impl.OgnlRoot
The fields, which are a collection of OGNL 'getter' expressions meant to map from the JavaBean (or object) being validated to the validation bean used by the Validator, are set prior to validation.
setFields(Collection) - Method in class org.iscreen.ValidationFailure
 
setFormat(String) - Method in class org.iscreen.validators.DateFormatValidator
The format of the date String.
setFrom(String) - Method in class org.iscreen.impl.xml.XmlConfigMapping
 
setFrom(Date) - Method in class org.iscreen.validators.DateRangeValidator.BeanToValidate
 
setId(String) - Method in class org.iscreen.impl.ConfiguredResource
Sets the id of the resource.
setId(String) - Method in class org.iscreen.impl.ConfiguredValidator
Sets the id of this wrapper.
setIfExpression(String) - Method in class org.iscreen.impl.ValidationServiceValidator
 
setIndex(int) - Method in class org.iscreen.impl.OgnlRoot
Sets the index of this OGNL root.
setIndex(Integer) - Method in class org.iscreen.ValidationFailure
 
setIterateExpression(String) - Method in class org.iscreen.impl.ValidationServiceValidator
 
setKey(String) - Method in class org.iscreen.impl.xml.XmlConfigFailure
 
setKey(String) - Method in class org.iscreen.impl.xml.XmlConfigMessage
 
setLabel(Resource, String) - Method in class org.iscreen.impl.ConfiguredValidator
Sets the Label for this Validator wrapper.
setLabel(String) - Method in class org.iscreen.impl.ConfiguredValidator
Sets the label for this Validator wrapper.
setLabel(String) - Method in class org.iscreen.impl.OgnlRoot
The label is set during runtime, prior to any validators being called (prior to validation).
setLabel(String) - Method in class org.iscreen.ValidationFailure
 
setLenient(boolean) - Method in class org.iscreen.validators.DateFormatValidator
The lenient flag.
setMap - Variable in class org.iscreen.impl.xml.XmlServiceFactory
 
setMapExpression(String) - Method in class org.iscreen.impl.ValidationServiceValidator
 
setMaxLength(Integer) - Method in class org.iscreen.validators.StringValidator
Sets the maximum required length for the string being validated.
setMaxLengthFailure(FailureMessage) - Method in class org.iscreen.validators.StringValidator
 
setMessage(String) - Method in class org.iscreen.impl.xml.XmlConfigFailure
 
setMessage(String) - Method in class org.iscreen.ValidationFailure
 
setMinLength(Integer) - Method in class org.iscreen.validators.StringValidator
Sets the minimum required length for the string being validated.
setMinLengthFailure(FailureMessage) - Method in class org.iscreen.validators.StringValidator
 
setNullFailure(FailureMessage) - Method in class org.iscreen.validators.StringValidator
 
setOgnlRoot(Object) - Method in class org.iscreen.impl.OgnlMessage
Sets the OGNL root to be used when getMessage() is called.
setProperty(String) - Method in class org.iscreen.impl.xml.XmlConfigConstraint
 
setProperty(String) - Method in class org.iscreen.impl.xml.XmlConfigFailure
 
setRangeFailure(FailureMessage) - Method in class org.iscreen.validators.DateRangeValidator
This is the only failure that this validator reports.
setRef(ConfiguredResource) - Method in class org.iscreen.impl.ConfiguredResource
Sets a reference to another ConfiguredResource.
setRef(ConfiguredValidator) - Method in class org.iscreen.impl.ConfiguredValidator
Sets a wrapper this wrapper may reference.
setRegex(String) - Method in class org.iscreen.validators.RegularExpressionValidator
 
setResource(String) - Method in class org.iscreen.impl.xml.XmlConfigFailure
 
setResourceId(String) - Method in class org.iscreen.impl.xml.XmlConfigLabel
Sets the resource id.
setResourceKey(String) - Method in class org.iscreen.impl.xml.XmlConfigLabel
Sets the resource key.
setServiceId(String) - Method in class org.iscreen.impl.xml.XmlConfigConstraint
 
setServices(Map) - Method in class org.iscreen.ValidationFactory
This is called right after the validation factory is instantiated.
setServices(Map) - Method in class org.iscreen.ValidationFactoryConfig
Sets the services the factory will use.
setterAST - Variable in class org.iscreen.impl.OgnlObjectMapping
 
setterExp - Variable in class org.iscreen.impl.OgnlObjectMapping
 
setTo(String) - Method in class org.iscreen.impl.xml.XmlConfigMapping
 
setTo(Date) - Method in class org.iscreen.validators.DateRangeValidator.BeanToValidate
 
setValidationService(ValidationService) - Method in class org.iscreen.impl.ConfiguredValidator
Sets the ValidationService (ValidationSet) that contains this Validator wrapper.
setValidator(Validator) - Method in class org.iscreen.impl.OgnlRoot
The Validator is set during runtime, prior to any validators being called (prior to validation).
setValue(Object) - Method in class org.iscreen.impl.OgnlPropertyMapping
Sets the value the property will be set to.
setValue(String) - Method in class org.iscreen.impl.xml.XmlConfigConstraint
 
setValue(String) - Method in class org.iscreen.impl.xml.XmlConfigLabel
Sets the value of the label.
setValue(String) - Method in class org.iscreen.impl.xml.XmlConfigMessage
 
setValue(Object) - Method in class org.iscreen.SimpleBean
 
shouldIterate() - Method in class org.iscreen.impl.ValidationServiceValidator
Determines whether we're iterating over the mapped object.
SimpleBean - Class in org.iscreen
This is a JavaBean that has a single "value" property that can be used to map a single value for validation.
SimpleBean() - Constructor for class org.iscreen.SimpleBean
Default constructor.
staticProperties - Variable in class org.iscreen.impl.ConfiguredValidator
 
StringValidator - Class in org.iscreen.validators
The StringValidator checks the length of the given value.
StringValidator() - Constructor for class org.iscreen.validators.StringValidator
Default constructor.

T

template - Variable in class org.iscreen.impl.OgnlMessage
 
toString() - Method in class org.iscreen.impl.ConfiguredResource
For debug info.
toString() - Method in class org.iscreen.impl.OgnlResourceMessage
For debug info.

V

validate(Object) - Method in class org.iscreen.impl.BaseValidationService
 
validate(Object, Locale) - Method in class org.iscreen.impl.BaseValidationService
 
validate(DefaultValidatorContext, OgnlRoot, Object) - Method in class org.iscreen.impl.ConfiguredValidator
 
validate(DefaultValidatorContext, OgnlRoot, Object) - Method in class org.iscreen.impl.ValidationServiceValidator
 
validate(DefaultValidatorContext, OgnlRoot, Object) - Method in interface org.iscreen.impl.ValidatorWrapper
Called to have the wrapper validate the passed object.
validate(Object) - Method in interface org.iscreen.ValidationService
Called to validate an object (typically a JavaBean).
validate(Object, Locale) - Method in interface org.iscreen.ValidationService
Called to validate an object (typically a JavaBean).
validate(Object) - Method in class org.iscreen.ValidationServiceWrapper
 
validate(Object, Locale) - Method in class org.iscreen.ValidationServiceWrapper
 
validate(ValidatorContext, Object) - Method in interface org.iscreen.Validator
This is the method that's called to validate the "bean-to-validate." Use the passed in ValidatorContext to report validation failures, etc.
validate(ValidatorContext, Object) - Method in class org.iscreen.validators.DateFormatValidator
 
validate(ValidatorContext, Object) - Method in class org.iscreen.validators.DateRangeValidator
 
validate(ValidatorContext, Object) - Method in class org.iscreen.validators.NullValidator
 
validate(ValidatorContext, Object) - Method in class org.iscreen.validators.RegularExpressionValidator
 
validate(ValidatorContext, Object) - Method in class org.iscreen.validators.StringValidator
 
ValidationException - Exception in org.iscreen
When a validation failure occurs, eventually a ValidationException is thrown to the caller.
ValidationException() - Constructor for exception org.iscreen.ValidationException
Default constructor with no pre-defined validation failures.
ValidationException(List) - Constructor for exception org.iscreen.ValidationException
Constructor with pre-defined validation failures.
ValidationException(List, List) - Constructor for exception org.iscreen.ValidationException
Constructor with pre-defined validation failures and warnings.
ValidationFactory - Class in org.iscreen
This class represents factories that can generate validation services from configuration files (or however the factory generates them).
ValidationFactory() - Constructor for class org.iscreen.ValidationFactory
Protected constructor.
ValidationFactoryConfig - Class in org.iscreen
This JavaBean is purely for configuration.
ValidationFactoryConfig() - Constructor for class org.iscreen.ValidationFactoryConfig
Default constructor.
ValidationFactoryConfig(String, String, Locale, Map) - Constructor for class org.iscreen.ValidationFactoryConfig
Constructor that defines all available config properties.
ValidationFactoryConfig(String, String) - Constructor for class org.iscreen.ValidationFactoryConfig
Constructor that defines all available config properties except services.
ValidationFactoryConfig(String) - Constructor for class org.iscreen.ValidationFactoryConfig
Constructor that defines only the configuration file.
ValidationFactoryConfig(String, Locale) - Constructor for class org.iscreen.ValidationFactoryConfig
Constructor that defines only the configuration file.
ValidationFactoryConfig(String, Map) - Constructor for class org.iscreen.ValidationFactoryConfig
Constructor that defines only the configuration file.
ValidationFailure - Class in org.iscreen
A validation failure represents a single failure reported by a Validator (Validators can report multiple failures, each represented by a separate instance of this class).
ValidationFailure() - Constructor for class org.iscreen.ValidationFailure
Default constructor.
ValidationService - Interface in org.iscreen
This interface represents the main entry point for performing validations.
ValidationServiceValidator - Class in org.iscreen.impl
This is a special ValidatorWrapper that forwards validation to a different Validation Set.
ValidationServiceValidator(DefaultValidationService) - Constructor for class org.iscreen.impl.ValidationServiceValidator
Default constructor.
ValidationServiceWrapper - Class in org.iscreen
This wrapper around a ValidationService is itself a ValidationService implementation.
ValidationServiceWrapper(ValidationFactory, String) - Constructor for class org.iscreen.ValidationServiceWrapper
Construct the wrapper with an existing factory and the ValidationSet name (the name of the service).
ValidationServiceWrapper(ValidationFactoryConfig, String) - Constructor for class org.iscreen.ValidationServiceWrapper
Construct the wrapper with a factory config and the ValidationSet name (the name of the service).
validator - Variable in class org.iscreen.impl.ConfiguredValidator
 
validator - Variable in class org.iscreen.impl.OgnlRoot
 
Validator - Interface in org.iscreen
Implementations of this interface are expected to validate a JavaBean's properties.
validatorClass - Variable in class org.iscreen.impl.ConfiguredValidator
 
ValidatorContext - Interface in org.iscreen
During validation, a Validator is given a reference to the context in which it is validating.
validatorMap - Variable in class org.iscreen.impl.xml.XmlServiceFactory
 
ValidatorWrapper - Interface in org.iscreen.impl
 
validatorWrappers - Variable in class org.iscreen.impl.DefaultValidationService
 
value - Variable in class org.iscreen.impl.OgnlPropertyMapping
 
value - Variable in class org.iscreen.impl.ResourceValue
 
value - Variable in class org.iscreen.SimpleBean
 

W

warnings - Variable in class org.iscreen.impl.DefaultValidatorContext
 
warnings - Variable in exception org.iscreen.ValidationException
 
wrappedService - Variable in class org.iscreen.impl.ValidationServiceValidator
 

X

XmlConfigConstraint - Class in org.iscreen.impl.xml
 
XmlConfigConstraint() - Constructor for class org.iscreen.impl.xml.XmlConfigConstraint
Default constructor.
XmlConfigFailure - Class in org.iscreen.impl.xml
 
XmlConfigFailure() - Constructor for class org.iscreen.impl.xml.XmlConfigFailure
Default constructor.
XmlConfigLabel - Class in org.iscreen.impl.xml
A label represents the "name" of a particular validator.
XmlConfigLabel() - Constructor for class org.iscreen.impl.xml.XmlConfigLabel
Default constructor.
XmlConfigMapping - Class in org.iscreen.impl.xml
 
XmlConfigMapping() - Constructor for class org.iscreen.impl.xml.XmlConfigMapping
Default constructor.
XmlConfigMessage - Class in org.iscreen.impl.xml
 
XmlConfigMessage() - Constructor for class org.iscreen.impl.xml.XmlConfigMessage
Default constructor.
XmlConfigurationException - Exception in org.iscreen.impl.xml
This runtime exception is specifically for XML configuration issues.
XmlConfigurationException(String) - Constructor for exception org.iscreen.impl.xml.XmlConfigurationException
 
XmlConfigurationException(String, Throwable) - Constructor for exception org.iscreen.impl.xml.XmlConfigurationException
 
XmlConfigurationException(PositionContext, String, String) - Constructor for exception org.iscreen.impl.xml.XmlConfigurationException
 
XmlConfigurationException(PositionContext, String, String, Throwable) - Constructor for exception org.iscreen.impl.xml.XmlConfigurationException
 
XmlParser - Class in org.iscreen.impl.xml
Parses XML configuration files.
XmlParser(XmlServiceFactory) - Constructor for class org.iscreen.impl.xml.XmlParser
Default constructor.
XmlServiceFactory - Class in org.iscreen.impl.xml
This factory constructs a ValidationService based upon an XML configuration (via file or String, etc.).
XmlServiceFactory() - Constructor for class org.iscreen.impl.xml.XmlServiceFactory
Default constructor.

A B C D E F G H I K L M N O P R S T V W X