public class FlexibleGenerator extends Object
Modifier and Type | Method and Description |
---|---|
<E> FlexibleGenerator |
bind(String fieldName,
DescriptorBuilder<E> descriptorBuilder,
E data) |
<E> FlexibleGenerator |
bind(String fieldName,
E data) |
<E> FlexibleGenerator |
cleanBindings() |
static FlexibleGenerator |
create(String template) |
<E> FlexibleGenerator |
descriptor(String fieldName,
DescriptorBuilder<E> descriptorBuilder) |
String |
generate() |
String |
generate(String template) |
FlexibleGenerator |
template(String template) |
public static FlexibleGenerator create(String template) throws GeneratorException
GeneratorException
public FlexibleGenerator template(String template) throws GeneratorException
GeneratorException
public <E> FlexibleGenerator bind(String fieldName, E data)
public <E> FlexibleGenerator bind(String fieldName, DescriptorBuilder<E> descriptorBuilder, E data)
public <E> FlexibleGenerator descriptor(String fieldName, DescriptorBuilder<E> descriptorBuilder)
public <E> FlexibleGenerator cleanBindings()
public String generate()
public String generate(String template) throws GeneratorException
GeneratorException
Copyright © 2014. All Rights Reserved.