org.apache.commons.validator
Class FormSetFactory
AbstractObjectCreationFactory
org.apache.commons.validator.FormSetFactory
public class FormSetFactory
extends AbstractObjectCreationFactory
Factory class used by Digester to create FormSet's.
private FormSet | createFormSet(ValidatorResources resources, String language, String country, String variant) - Create or retrieve a
FormSet based on the language, country
and variant.
|
Object | createObject(Attributes attributes) - Create or retrieve a
FormSet for the specified
attributes.
|
private Log | getLog() - Accessor method for Log instance.
|
log
private Log log
Logging
createFormSet
private FormSet createFormSet(ValidatorResources resources,
String language,
String country,
String variant)
throws Exception
Create or retrieve a FormSet
based on the language, country
and variant.
resources
- The validator resources.language
- The locale's language.country
- The locale's country.variant
- The locale's language variant.
- The FormSet for a locale.
createObject
public Object createObject(Attributes attributes)
throws Exception
Create or retrieve a FormSet
for the specified
attributes.
attributes
- The sax attributes for the formset element.
- The FormSet for a locale.
getLog
private Log getLog()
Accessor method for Log instance.
The Log instance variable is transient and
accessing it through this method ensures it
is re-initialized when this instance is
de-serialized.
Copyright (c) 2001-2004 Apache Software Foundation