public class Generator extends ArrayList<Transformer<?,?,?>>
| Modifier and Type | Field and Description |
|---|---|
static String |
VERSION |
modCount| Constructor and Description |
|---|
Generator() |
Generator(Configuration config) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(int index,
Transformer<?,?,?> transformer) |
boolean |
add(Transformer<?,?,?> transformer) |
boolean |
addAll(Collection<? extends Transformer<?,?,?>> transformers) |
boolean |
addAll(int index,
Collection<? extends Transformer<?,?,?>> transformers) |
protected boolean |
checkAdd(Transformer<?,?,?> transformer) |
Output<?>[] |
generate(Input<?> input) |
Configuration |
getConfig() |
Transformer<?,?,?> |
set(int index,
Transformer<?,?,?> transformer) |
void |
setConfig(Configuration config) |
protected void |
updateTransformers() |
clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeRange, retainAll, size, subList, toArray, toArray, trimToSizeequals, hashCodecontainsAll, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitcontainsAll, equals, hashCodepublic static final String VERSION
public Generator()
public Generator(Configuration config)
public Configuration getConfig()
public void setConfig(Configuration config)
public Output<?>[] generate(Input<?> input) throws IOException, GenerationException
IOExceptionGenerationExceptionprotected void updateTransformers()
protected boolean checkAdd(Transformer<?,?,?> transformer)
public void add(int index,
Transformer<?,?,?> transformer)
add in interface List<Transformer<?,?,?>>add in class ArrayList<Transformer<?,?,?>>public boolean add(Transformer<?,?,?> transformer)
add in interface Collection<Transformer<?,?,?>>add in interface List<Transformer<?,?,?>>add in class ArrayList<Transformer<?,?,?>>public boolean addAll(Collection<? extends Transformer<?,?,?>> transformers)
addAll in interface Collection<Transformer<?,?,?>>addAll in interface List<Transformer<?,?,?>>addAll in class ArrayList<Transformer<?,?,?>>public boolean addAll(int index,
Collection<? extends Transformer<?,?,?>> transformers)
addAll in interface List<Transformer<?,?,?>>addAll in class ArrayList<Transformer<?,?,?>>public Transformer<?,?,?> set(int index, Transformer<?,?,?> transformer)
set in interface List<Transformer<?,?,?>>set in class ArrayList<Transformer<?,?,?>>