All pastes #730037 Raw Edit

Miscellany

public java v1 · immutable
·published 2007-10-08 20:36 UTC
rendered paste body
public Object unmarshal(HierarchicalStreamReader reader, UnmarshallingContext context) {    	Region region = new Region(reader.getAttribute("id"));}public abstract class Region {	HashMap <String,String> information = new HashMap<String,String>();	HashMap <Coordinate,Place> places = new HashMap<Coordinate,Place>();		public Region(String ID) {		setInfo("ID",ID);	}        ...}Eclipse Error on new Region-> Cannot instantiate the type Region