Package org.databene.benerator.wrapper

Defines generators that wrap other generators and forward or convert their products

See:
          Description

Class Summary
AbstractArrayGenerator<E,A> Common abstraction for all generators that create arrays.
AccessingGenerator<S,P> Returns the results of an accessor that is applied on a constant provider object.
AlternativeGenerator<E> On each call to generate(), it chooses a generator from a collection, calls its generate() method and returns the product.
AsBigDecimalGeneratorWrapper<E extends Number> Converts the Number products of another Generator to BigDecimal.
AsBigIntegerGeneratorWrapper<E extends Number> Converts the Number products of another Generator to BigInteger.
AsByteGeneratorWrapper<E extends Number> Converts the Number products of another Generator to Byte.
AsDoubleGeneratorWrapper<E extends Number> Double Generator that maps products from a generator of a different number type.
AsFloatGeneratorWrapper<E extends Number> Converts the Number products of another Generator to Float.
AsIntegerGeneratorWrapper<E extends Number> Converts the Number products of another Generator to Integer.
AsLongGeneratorWrapper<E extends Number> Long Generator that maps products from a Double generator.
AsShortGeneratorWrapper<E extends Number> Converts the Number products of another Generator to Short.
ByteArrayGenerator Creates arrays of random length filled with random bytes.
CardinalGenerator<S,P> Combines a a random number a source generator's products into a collection.
CollectionGenerator<C extends Collection,I> Combines a a random number a source generator's products into a collection.
CompositeArrayGenerator<S> Keeps an array of generators, of which it combines the products to an array.
CompositeGenerator<E> Generator implementation that makes use of other ContextAware objects by which its threading support is influenced.
ConvertingGenerator<S,T> Reads products from a source Generator and applies a Converter to transform them into the target products.
CyclicGeneratorProxy<E> Generator proxy that 'loops' through a source Generator, calling reset() each time the source becomes unavailable.
GeneratorProxy<E> Wraps another Generator of same product type.
GeneratorWrapper<S,P> Abstract generator class that wraps another generator object (in a source property) and delegates life cycle control to it.
IteratingGenerator<E> Iterates over Iterators that are provided by an Iterable.
MessageGenerator Assembles the output of several source generators by a java.text.MessageFormat.
MultiGeneratorWrapper<S,P> Parent class for wrapping several other generators (in a sources property) and refining a composite state from them.
NShotGeneratorProxy<E> Generator proxy which forwards a limited number of products from another generator.
ProductWrapper<E> Helper class for the NullInjectingGeneratorProxy.
RepeatGeneratorProxy<E> A generator proxy that forwards the output of another generator with a random number of repetitions.
SimpleArrayGenerator<E> Assembles the output of a source generator into an array of random length.
SkipGeneratorProxy<E> This forwards a source generator's products.
SynchronizedGeneratorProxy<E> Synchronized wrapper class for non-thread-safe Generator implementations.
ThreadLocalProductWrapper<E> Provides a ThreadLocal implementation that wraps a ProductWrapper for reuse.
UniqueAlternativeGenerator<E> Forwards the output of other generators in random order, but at most once.
UniqueCompositeArrayGenerator<S> Creates arrays of unique combinations of the output of other generators.
ValidatingGeneratorProxy<E> Generator proxy that uses another generator for creating values and filters out invalid ones.
WrapperFactory Provides wrappers for number Generators that converts their products to a target Number type.
 

Package org.databene.benerator.wrapper Description

Defines generators that wrap other generators and forward or convert their products



Copyright © 2010. All Rights Reserved.