ArrayList values = getValueListNodeValues();
ArrayList values = null; String valueListIdRef = (String) CurrentValueListParameter.get("valueListIdRef"); if (valueListIdRef != null) { if (ValueListObj.containsKey(valueListIdRef)) {
       public void action (SaxDocumentHandler handler) {          // generate valuelist values from algoritm IF we need to          // (e.g. values where'nt in a delimited cdata list)          // check to see if we didnt alrealy parse from a delmited string.          if ( ((String) CurrentValueListParameter.get("isDelimitedCase")).equals("true") )              return; // we already did the list, leave here           // 1. grab parent node name          String parentNodeName = (String) CurrentValueListParameter.get("parentNodeName");          // 2. try to determine values from attributes (e.g. algorithm method)          ArrayList values = getValueListNodeValues();          // 3. Populate correct parent node w/ values           if(values.size() > 0 ) { // needed safety?             ArrayList valueObjList = new ArrayList();             if( parentNodeName.equals(XDFNodeName.AXIS) )             {                    // get the last axis                    List axisList = (List) CurrentArray.getAxisList();                    Axis lastAxisObject = (Axis) axisList.get(axisList.size()-1);                    Iterator iter = values.iterator();                    while (iter.hasNext()) {                        String valuePCDATA = (String) iter.next();                        Value value = new Value (valuePCDATA);                        valueObjList.add(lastAxisObject.addAxisValue(value));                    }             } else if ( parentNodeName.equals(XDFNodeName.VALUEGROUP) )             {/*   ValueGroup lastValueGroup = (ValueGroup)   CurrentValueGroupList.get(CurrentValueGroupList.size()-1);   newvalueGroup = lastValueGroup.addValueGroup(newvalueGroup);*/                if ( LastValueGroupParentObject instanceof Parameter )                {                    Parameter myParamObject = (Parameter) LastValueGroupParentObject;                    Iterator iter = values.iterator();                    while (iter.hasNext()) {                        String valuePCDATA = (String) iter.next();                        Value value = new Value (valuePCDATA);                        valueObjList.add(myParamObject.addValue(value));                    }                } else if ( LastValueGroupParentObject instanceof Axis )                {                    // get the last axis                    Axis myAxisObject = (Axis) LastValueGroupParentObject;                    Iterator iter = values.iterator();                    while (iter.hasNext()) {                        String valuePCDATA = (String) iter.next();                        Value value = new Value (valuePCDATA);                        valueObjList.add(myAxisObject.addAxisValue(value));                    }                } else {                    Log.warnln("Error: unknown valueGroupParent "+LastValueGroupParentObject+                               " cant treat for "+XDFNodeName.VALUELIST);                    return; // bail                 }             } else if ( parentNodeName.equals(XDFNodeName.PARAMETER) )             {                 Iterator iter = values.iterator();                 while (iter.hasNext())                 {                    String valuePCDATA = (String) iter.next();                    Value value = new Value (valuePCDATA);                    valueObjList.add(LastParameterObject.addValue(value));                 }             } else {                 Log.errorln("Error: weird parent node "+parentNodeName+" for "+XDFNodeName.VALUELIST);                 System.exit(-1); // fatal error, shut down              }          }// Need to do something wi/ ValueObjList HERE??        }