else if (readObj instanceof DelimitedXMLDataIOStyle) {  String data = getCharacterDataFromInputStream(in);   if (!IgnoreWhitespaceOnlyData || stringIsNotAllWhitespace(data) ) { DATABLOCK.append(data); }  }
    private void loadHrefDataIntoCurrentArray ( Entity hrefObj,                                                XMLDataIOStyle readObj,                                                String compressionType                                              )     throws SAXException    {        // well, we should be doing something with base here,        // but arent because it isnt captured by this API. feh.       // $file = $href->getBase() if $href->getBase();       if (hrefObj.getSystemId() != null) {          try {             InputStream in = null;             try {               InputSource inputSource = resolveEntity(hrefObj.getPublicId(), hrefObj.getSystemId());               in = inputSource.getByteStream();             } catch (SAXException e) {                Log.printStackTrace(e);             } catch (NullPointerException e) {                // in this case the InputSource object is null to request that                 // the parser open a regular URI connection to the system identifier.                // In our case, the systemId IS the filename.         //       File f = new File(hrefObj.getSystemId());         //       in = (InputStream) new BufferedInputStream (new FileInputStream(new File(hrefObj.getSystemId())));                try {                  in = getInputStreamFromHref(hrefObj, compressionType);                } catch (IOException ex) {                  Log.printStackTrace(ex);                }             }             if (in != null) {                in = (InputStream) new BufferedInputStream (in);                if (readObj instanceof FormattedXMLDataIOStyle)                 {                    // probably could treat endian as a global too, since thats                    // how we treat the rest of the array parameters                    Locator locator = CurrentArray.createLocator();                    String endian = readObj.getEndian();                    readFormattedInputStreamIntoArray(in, locator, endian);                }                 else if (readObj instanceof TaggedXMLDataIOStyle)                 {                    readTaggedInputStreamIntoArray(in);                }                 else                 {                    throw new SAXException("Cant load external data of XMLDataIOStyle type:"+readObj.getClass());                }             }          } catch (java.io.IOException e) {             Log.printStackTrace(e);          }       } else {          Log.warnln("Can't read Entity data, undefined systemId!");       }    }