Code example for Source

Methods: getSystemId

0
    if (source instanceof SAXSource)
      { 
        return getInputStream (((SAXSource) source).getInputSource ());
      } 
    InputStream in = null;
    String systemId = source.getSystemId ();
    if (source instanceof StreamSource)
      { 
        in = ((StreamSource) source).getInputStream ();
      } 
    if (in == null)
      { 
        in = getInputStream(systemId);
      } 
    return new NamedInputStream (systemId, in, LOOKAHEAD);
  } 
 
  private static InputStream getInputStream(String systemId)
    throws IOException 
  { 
    if (systemId == null)