XType defines a framework and provides an engine to construct Java objects, such as Hashtable, Array, List, etc. from XML elements, or vice versa. The current version of XType implements a standard constructor for Collections and Maps. This means that all classes that implement the java.util.Collection or the java.util.Map interfaces can be used.
All of these objects are containers for other objects of any kind. In the current version only java.lang.String and java.lang.Integer objects are supported. The classes that implement the java.util.Map interface are containers for key-value pairs. In the current version also only java.lang.String is supported as data types for keys.
For Hashtables a specialized constructor is implemented. This constructor makes it possible to use java.util.Hashtable as value-type for items of other Hashtables.
Since XType is a framework, users can provide their own implementations to define the mappings between XML and Java Object, and plugin their implementation to XType.