/**
* Creates a new root SAX handler.
*/
public RootXmlReadHandler() {
this.objectRegistry = new HashMap();
this.classToHandlerMapping = new SimpleObjectFactory();
final MultiplexMappingEntry[] paintEntries = new MultiplexMappingEntry[2];
paintEntries[0] = new MultiplexMappingEntry("color", Color.class.getName());
paintEntries[1] = new MultiplexMappingEntry("gradientPaint", GradientPaint.class.getName());
addMultiplexMapping(Paint.class, "type", paintEntries);