Datamixer tries to do the same things as a program written from scratch, to generate mock data. Here are a list of requirements, that describe datamixer's goals.
Example code is in the examples subdirectory under the project root. Basic capabilities for Java and XML configuration are demonstrated.
A collection contains a virtual or real collection of objects. A list is an ordered collection. An iterator returns values from a collection. An iterator can return the next value in the collection, or it can return the current one. A collection can have many iterators. A constants iterator returns the same value each time.
A value wraps a value, and can format the object, and convert it to a variety of datatypes.
A value list contains value objects.
A container is a list of either collections or iterators.
A function is a sequence iterator. With each generation, it applies an operator to the
next value generated by the iterators it contains. It returns its result as a Value object.
Custom functions can be created.
Datamixer objects can be configured in XML. There is an configuration element for each datamixer object.