/** {@inheritDoc} */ public InputSource resolveEntity(String publicId, String systemId) throws SAXException, IOException { InputStream resourceStream = resolver(publicId, systemId); if (resourceStream != null) { InputSource is = new InputSource(resourceStream); is.setSystemId(systemId); is.setPublicId(publicId); return is; } return null; }
/** {@inheritDoc} */ public InputSource resolveEntity(String publicId, String systemId) throws SAXException, IOException { InputStream resourceStream = resolver(publicId, systemId); if (resourceStream != null) { InputSource is = new InputSource(resourceStream); is.setSystemId(systemId); is.setPublicId(publicId); return is; } return null; }
/** {@inheritDoc} */ public LSInput resolveResource(String type, String namespaceURI, String publicId, String systemId, String baseURI) { return new LSInputImpl(publicId, systemId, resolver(publicId, systemId)); }
/** {@inheritDoc} */ public LSInput resolveResource(String type, String namespaceURI, String publicId, String systemId, String baseURI) { return new LSInputImpl(publicId, systemId, resolver(publicId, systemId)); }