types.add(type);
types.put(type.getId(),type);
	private void handleExit(String element){				if (Property.FIELDS.contains(element)){						if (null==property){				throw new IllegalStateException("Exiting non-extant property!\n"+"Element:"+element+"\nType:"+type+"\nProperty:"+property);			}						if (null==type){				throw new IllegalStateException("Inside of non-extant type!!\n"+"Element:"+element+"\nType:"+type);			}						property.validate();			type.getProperties().add(property);			property=null;				} else if (SemanticType.TYPES.contains(element)){					if (null==type){				throw new IllegalStateException("Exiting non-extent type!\n"+"Element:"+element+"\nType:"+type);			}						type.validate();			types.add(type);			type=null;				} 	}