Code example for SAXSource

0
    return theInstance;
  } 
 
  protected Parseable createParseable(SAXSource source, Resolver resolver, ErrorHandler eh) throws SAXException {
    if (source.getXMLReader() == null)
      source = new SAXSource(resolver.createXMLReader(), source.getInputSource());
    return new SAXParseable(source, new UriResolverImpl(resolver), eh);
  } 
}