DataIOStyleAttribs = new Hashtable(); int size = attrs.getLength(); for (int i = 0; i < size; i++) { String name = attrs.getName(i); String value = attrs.getValue(i); if (value != null) DataIOStyleAttribs.put(name, value); }
DataIOStyleAttribs.clear(); DataIOStyleAttribs = attribListToHashtable(attrs);
       public Object action (SaxDocumentHandler handler, AttributeList attrs) {          // save these for later, when we know what kind of dataIOstyle we got          // Argh we really need a clone on AttributeList. Just dumb copy for now.          DataIOStyleAttribs = new Hashtable();          int size = attrs.getLength();           for (int i = 0; i < size; i++) {              String name = attrs.getName(i);              String value = attrs.getValue(i);             if (value != null)                 DataIOStyleAttribs.put(name, value);          }          // clear out the format command object array          // (its used by Formatted reads only, but this is reasonable           //  spot to do this).          CurrentFormatObjectList = new ArrayList ();          // this will be used in formatted/delimited reads to          // set the iteration order of the locator that will populate          // the datacube           AxisReadOrder = new ArrayList();          return (Object) null;       }