AxisInterface FastAxis = (AxisInterface) CurrentArray.getAxisList().get(0); AxisInterface SlowAxis = (AxisInterface) CurrentArray.getAxisList().get(1);
    private void addDataToCurrentArray ( Locator dataLocator,                                          String thisString,                                          DataFormat CurrentDataFormat                                       )     {AxisInterface FastAxis = (AxisInterface) CurrentArray.getAxisList().get(0);AxisInterface SlowAxis = (AxisInterface) CurrentArray.getAxisList().get(1);       // Note that we dont treat binary data at all        try {          Log.errorln("setData:["+thisString+"]["+dataLocator.getAxisLocation(FastAxis)+","+dataLocator.getAxisLocation(SlowAxis)+"]");           if ( CurrentDataFormat instanceof StringDataFormat) {              CurrentArray.setData(dataLocator, thisString);           } else if ( CurrentDataFormat instanceof FixedDataFormat) {              Double number = new Double (thisString);              CurrentArray.setData(dataLocator, number.doubleValue());           } else if ( CurrentDataFormat instanceof IntegerDataFormat) {              Integer number = new Integer (thisString);              CurrentArray.setData(dataLocator, number.intValue());           } else if ( CurrentDataFormat instanceof ExponentialDataFormat) {              // hurm.. this is a stop-gap. Exponential format needs to be              // preserved better than this. -b.t.               Double number = new Double (thisString);              CurrentArray.setData(dataLocator, number.doubleValue());           } else {              Log.warnln("The dataFormat:"+CurrentDataFormat.toString()+" is not allowed in tagged data.");              Log.warnln("Unable to setData:["+thisString+"], ignoring request");           }       } catch (SetDataException e) {           // bizarre error. Cant add data (out of memory??) :P           Log.errorln("Unable to setData:["+thisString+"], ignoring request");           Log.printStackTrace(e);       }    }