nl.beesting.beangenerator.generator
Class WordListInstanceGenerator
java.lang.Object
nl.beesting.beangenerator.generator.AbstractInstanceGenerator
nl.beesting.beangenerator.generator.WordListInstanceGenerator
- All Implemented Interfaces:
- InstanceGenerator
public class WordListInstanceGenerator
- extends AbstractInstanceGenerator
- Author:
- Erik Jan
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_DICT
public static final java.lang.String DEFAULT_DICT
- See Also:
- Constant Field Values
DICT_PARAMETER
public static final java.lang.String DICT_PARAMETER
- See Also:
- Constant Field Values
WordListInstanceGenerator
public WordListInstanceGenerator()
init
public void init(ParameterPair[] initParams)
- Initializes the instnce generator with the given array of objects.
generateInstance
public java.lang.Object generateInstance(java.lang.Class<?> type)
throws TypeNotSupportedException
- Description copied from interface:
InstanceGenerator
- Create an instance for the given class. The returned object is of the given class.
- Returns:
-
- Throws:
TypeNotSupportedException
- See Also:
InstanceGenerator.generateInstance(java.lang.Class)
generateInstance
public java.lang.Object generateInstance(java.lang.Class<?> type,
int modus)
throws TypeNotSupportedException
- Description copied from interface:
InstanceGenerator
- Create an instance for the given class with an instance generator specific modus. The returned object is of the given
class.
- Returns:
-
- Throws:
TypeNotSupportedException
- See Also:
InstanceGenerator.generateInstance(java.lang.Class, int)
getFromValue
protected java.lang.Object getFromValue()
- Specified by:
getFromValue
in class AbstractInstanceGenerator
getUntilValue
protected java.lang.Object getUntilValue()
- Specified by:
getUntilValue
in class AbstractInstanceGenerator
getDefaultFromValue
protected java.lang.Object getDefaultFromValue()
- Specified by:
getDefaultFromValue
in class AbstractInstanceGenerator
getDefaultUntilValue
protected java.lang.Object getDefaultUntilValue()
- Specified by:
getDefaultUntilValue
in class AbstractInstanceGenerator
getDict
public java.net.URL getDict()
- Returns:
- the dict
setDict
public void setDict(java.net.URL dict)
- Parameters:
dict
- the dict to set
Copyright © 2008. All Rights Reserved.