com.izforge.izpack.panels.userinput.field
Class FieldFactory

java.lang.Object
  extended by com.izforge.izpack.panels.userinput.field.FieldFactory

public class FieldFactory
extends Object

Factory for Fields.

Author:
Tim Anderson

Constructor Summary
FieldFactory(Config config, InstallData installData, PlatformModelMatcher matcher)
          Constructs a FieldFactory.
 
Method Summary
 Field create(IXMLElement element)
          Creates a new field.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FieldFactory

public FieldFactory(Config config,
                    InstallData installData,
                    PlatformModelMatcher matcher)
Constructs a FieldFactory.

Parameters:
config - the configuration
installData - the installation data
matcher - the platform-model matcher
Method Detail

create

public Field create(IXMLElement element)
Creates a new field.

Parameters:
element - the field element
Returns:
a new field
Throws:
IzPackException - if the field is invalid


Copyright © 2018. All rights reserved.