e.setLayerName(DXFConstants.DEFAULT_LAYER);
e.setLayerName(MERGED_LAYER_NAME);
	public void process(DXFDocument doc, Map context) {		// iterate over all layers		Iterator i = doc.getDXFLayerIterator();		while (i.hasNext()) {			DXFLayer layer = (DXFLayer) i.next();			if (this.removableLayers.contains(layer.getName())) {				i.remove();			} else if(this.merge){				if (!DXFConstants.DEFAULT_LAYER.equals(layer.getName())) {					Iterator types = layer.getDXFEntityTypeIterator();					while (types.hasNext()) {						String type = (String) types.next();						Iterator entityIterator = layer.getDXFEntities(type)								.iterator();						while (entityIterator.hasNext()) {							DXFEntity e = (DXFEntity) entityIterator.next();							// we set all entities to the default layer							// and remove them from the last layer							e.setLayerName(DXFConstants.DEFAULT_LAYER);							// set again to the doc, which will							// place the entity on the right							// layer -> the DEFAULT_LAYER = "0"							doc.addDXFEntity(e);							entityIterator.remove();						}					}					// remove the layer					i.remove();				}			}		}	}