public class FormSetFactory
extends org.apache.commons.digester.AbstractObjectCreationFactory
Modifier and Type | Field and Description |
---|---|
private org.apache.commons.logging.Log |
log
Logging
|
Constructor and Description |
---|
FormSetFactory() |
Modifier and Type | Method and Description |
---|---|
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 org.apache.commons.logging.Log |
getLog()
Accessor method for Log instance.
|
public Object createObject(Attributes attributes) throws Exception
Create or retrieve a FormSet
for the specified
attributes.
createObject
in interface org.apache.commons.digester.ObjectCreationFactory
createObject
in class org.apache.commons.digester.AbstractObjectCreationFactory
attributes
- The sax attributes for the formset element.Exception
- If an error occurs creating the FormSet.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.Exception
private org.apache.commons.logging.Log getLog()
Copyright (c) 2001-2004 Apache Software Foundation