|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.digester.AbstractObjectCreationFactory
org.apache.commons.validator.FormSetFactory
public class FormSetFactory
Factory class used by Digester to create FormSet's.
Field Summary | |
---|---|
private org.apache.commons.logging.Log |
log
Logging |
Fields inherited from class org.apache.commons.digester.AbstractObjectCreationFactory |
---|
digester |
Constructor Summary | |
---|---|
FormSetFactory()
|
Method Summary | |
---|---|
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. |
private org.apache.commons.logging.Log |
getLog()
Accessor method for Log instance. |
Methods inherited from class org.apache.commons.digester.AbstractObjectCreationFactory |
---|
getDigester, setDigester |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private transient org.apache.commons.logging.Log log
Constructor Detail |
---|
public FormSetFactory()
Method Detail |
---|
public java.lang.Object createObject(org.xml.sax.Attributes attributes) throws java.lang.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.
java.lang.Exception
- If an error occurs creating the FormSet.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
private org.apache.commons.logging.Log getLog()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |