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

java.lang.Object
  extended byorg.apache.turbine.services.intake.model.FieldFactory

public abstract class FieldFactory
extends java.lang.Object

Creates Field objects.

Version:
$Id: FieldFactory.java 264148 2005-08-29 14:21:04Z henning $
Author:
John McNally, Quinton McCombs, Colin Chalmers

Constructor Summary
FieldFactory()
           
 
Method Summary
static Field getInstance(XmlField xmlField, Group xmlGroup)
          Creates a Field object appropriate for the type specified in the xml file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FieldFactory

public FieldFactory()
Method Detail

getInstance

public static final Field getInstance(XmlField xmlField,
                                      Group xmlGroup)
                               throws IntakeException
Creates a Field object appropriate for the type specified in the xml file.

Parameters:
xmlField - a XmlField value
Returns:
a Field value
Throws:
IntakeException - indicates that an unknown type was specified for a field.


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