public Object unmarshal(HierarchicalStreamReader reader, UnmarshallingContext context) { Region region = new Region(reader.getAttribute("id")); } public abstract class Region { HashMap information = new HashMap(); HashMap places = new HashMap(); public Region(String ID) { setInfo("ID",ID); } ... } Eclipse Error on new Region -> Cannot instantiate the type Region