org.databene.benerator.factory
Class VariableGeneratorFactory

java.lang.Object
  extended by org.databene.benerator.factory.VariableGeneratorFactory

public class VariableGeneratorFactory
extends java.lang.Object

Factory class that creates Generators for <variable>s.

Created: 18.05.2011 12:01:24

Since:
0.6.6
Author:
Volker Bergmann

Constructor Summary
VariableGeneratorFactory()
           
 
Method Summary
static Generator<?> createConvertingGenerator(TypeDescriptor descriptor, Generator<?> generator, BeneratorContext context)
           
static Generator<?> createGenerator(VariableDescriptor descriptor, BeneratorContext context)
           
protected static
<T> Generator<T>
createValidatingGenerator(TypeDescriptor descriptor, Generator<T> generator, BeneratorContext context)
           
static
<T> Generator<T>
wrapWithProxy(Generator<T> generator, boolean cyclic)
           
static
<T> Generator<T>
wrapWithProxy(Generator<T> generator, TypeDescriptor descriptor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VariableGeneratorFactory

public VariableGeneratorFactory()
Method Detail

createGenerator

public static Generator<?> createGenerator(VariableDescriptor descriptor,
                                           BeneratorContext context)

createValidatingGenerator

protected static <T> Generator<T> createValidatingGenerator(TypeDescriptor descriptor,
                                                            Generator<T> generator,
                                                            BeneratorContext context)

createConvertingGenerator

public static Generator<?> createConvertingGenerator(TypeDescriptor descriptor,
                                                     Generator<?> generator,
                                                     BeneratorContext context)

wrapWithProxy

public static <T> Generator<T> wrapWithProxy(Generator<T> generator,
                                             TypeDescriptor descriptor)

wrapWithProxy

public static <T> Generator<T> wrapWithProxy(Generator<T> generator,
                                             boolean cyclic)


Copyright © 2013. All Rights Reserved.