public XMLWriter() {
handlers.put(ApplicationDefImpl.class, new ApplicationDefHandler());
handlers.put(AttributeDefImpl.class, new AttributeDefHandler());
handlers.put(AttributeDefRefImpl.class, new AttributeDefRefHandler());
handlers.put(ComponentDefImpl.class, new ComponentDefHandler());
handlers.put(ComponentDefRefImpl.class, new ComponentDefRefHandler());
handlers.put(EventDefImpl.class, new EventDefHandler());
handlers.put(EventHandlerDefImpl.class, new EventHandlerDefHandler());
handlers.put(LibraryDefImpl.class, new LibraryDefHandler());
handlers.put(ImportDefImpl.class, new ImportDefHandler());
handlers.put(InterfaceDefImpl.class, new InterfaceDefHandler());