public class FormSetFactory
extends AbstractObjectCreationFactory
Modifier and Type | Field and Description |
---|---|
private static Log |
log
Logging
|
Constructor and Description |
---|
FormSetFactory() |
Modifier and Type | Method and Description |
---|---|
private FormSet |
createFormSet(ValidatorResources resources,
java.lang.String language,
java.lang.String country,
java.lang.String variant)
Create or retrieve a
FormSet based on the language, country
and variant. |
java.lang.Object |
createObject(org.xml.sax.Attributes attributes)
Create or retrieve a
FormSet for the specified
attributes. |
public java.lang.Object createObject(org.xml.sax.Attributes attributes) throws java.lang.Exception
Create or retrieve a FormSet
for the specified
attributes.
attributes
- The sax attributes for the formset element.java.lang.Exception
private FormSet createFormSet(ValidatorResources resources, java.lang.String language, java.lang.String country, java.lang.String variant) throws java.lang.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.java.lang.Exception
Copyright (c) 2001-2004 Apache Software Foundation