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 534527 2007-05-02 16:10:59Z tv $
Author:
John McNally, Quinton McCombs, Colin Chalmers, Thomas Vandahl

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-2008 Apache Software Foundation. All Rights Reserved.