} else if (entity.isModelSpace()) { entity.toSAX(handler, this.properties);
} if (this.modelspace) { if (entity.isModelSpace()) { entity.toSAX(this.handler, this.properties); }
	protected void entityToSAX(DXFEntity entity, boolean onpaperspace) {		try {			if (onpaperspace) {				if (!entity.isModelSpace()) {					entity.toSAX(handler, this.properties);				}			} else if (entity.isModelSpace()) {				entity.toSAX(handler, this.properties);			}		} catch (SAXException e) {						e.printStackTrace();		}	}