org.databene.benerator.factory
Class SimpleTypeGeneratorFactory

java.lang.Object
  extended by org.databene.benerator.factory.TypeGeneratorFactory
      extended by org.databene.benerator.factory.SimpleTypeGeneratorFactory

public class SimpleTypeGeneratorFactory
extends TypeGeneratorFactory

Creates generators of simple types.

Author:
Volker Bergmann

Method Summary
protected static Generator<?> createConstantGenerator(SimpleTypeDescriptor descriptor, BeneratorContext context)
           
protected static
<A extends java.lang.annotation.Annotation,T>
org.databene.commons.Validator<T>
createRestrictionValidator(SimpleTypeDescriptor descriptor, boolean nullable)
           
protected static Generator<?> createSampleGenerator(SimpleTypeDescriptor descriptor, Uniqueness uniqueness, BeneratorContext context)
           
static Generator<?> createSimpleTypeGenerator(SimpleTypeDescriptor descriptor, boolean nullable, Uniqueness uniqueness, BeneratorContext context)
           
static Generator<?> createSourceAttributeGenerator(SimpleTypeDescriptor descriptor, Uniqueness uniqueness, BeneratorContext context)
           
 
Methods inherited from class org.databene.benerator.factory.TypeGeneratorFactory
createConverter, createConvertingGenerator, createScriptGenerator, createTypeGenerator, createValidatingGenerator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createSimpleTypeGenerator

public static Generator<?> createSimpleTypeGenerator(SimpleTypeDescriptor descriptor,
                                                     boolean nullable,
                                                     Uniqueness uniqueness,
                                                     BeneratorContext context)

createSampleGenerator

protected static Generator<?> createSampleGenerator(SimpleTypeDescriptor descriptor,
                                                    Uniqueness uniqueness,
                                                    BeneratorContext context)

createConstantGenerator

protected static Generator<?> createConstantGenerator(SimpleTypeDescriptor descriptor,
                                                      BeneratorContext context)

createSourceAttributeGenerator

public static Generator<?> createSourceAttributeGenerator(SimpleTypeDescriptor descriptor,
                                                          Uniqueness uniqueness,
                                                          BeneratorContext context)

createRestrictionValidator

protected static <A extends java.lang.annotation.Annotation,T> org.databene.commons.Validator<T> createRestrictionValidator(SimpleTypeDescriptor descriptor,
                                                                                                                            boolean nullable)


Copyright © 2011. All Rights Reserved.