org.apache.turbine.services.intake.model
Class FieldFactory

java.lang.Object
  |
  +--org.apache.turbine.services.intake.model.FieldFactory

public abstract class FieldFactory
extends java.lang.Object

Creates Field objects.

Version:
$Id: FieldFactory.java,v 1.3 2001/12/27 18:45:32 jmcnally Exp $
Author:
Inner Class Summary
private static class FieldFactory.FieldCtor
           
 
Field Summary
private static java.util.Map fieldCtors
           
 
Constructor Summary
FieldFactory()
           
 
Method Summary
static Field getInstance(XmlField f, Group g)
          Creates a Field object appropriate for the type specified in the xml file.
private static java.util.Map initFieldCtors()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

fieldCtors

private static java.util.Map fieldCtors
Constructor Detail

FieldFactory

public FieldFactory()
Method Detail

initFieldCtors

private static java.util.Map initFieldCtors()

getInstance

public static final Field getInstance(XmlField f,
                                      Group g)
                               throws java.lang.Exception
Creates a Field object appropriate for the type specified in the xml file.
Parameters:
f - a XmlField value
Returns:
a Field value


Copyright © 2000-2002 Apache Software Foundation. All Rights Reserved.