@Test public void testResolve_when_document_exists() throws TransformerException{ assertEquals(stringURIResolver.resolve("uri","base").getClass().getName(),"javax.xml.transform.stream.StreamSource"); }
public Source resolve(final String href, final String base) throws TransformerException { final String s = documents.get(href); if (s != null) { return new StreamSource(new StringReader(s)); } return null; }
StringURIResolver implements URIResolver { public Source resolve(final String href, final String base) throws TransformerException { final String s = documents.get(href); if (s != null) { return new StreamSource(new StringReader(s)); } return null; } }
StringURIResolver implements URIResolver { public Source resolve(final String href, final String base) throws TransformerException { final String s = documents.get(href); if (s != null) { return new StreamSource(new StringReader(s)); } return null; }  }
StringURIResolver implements URIResolver { public Source resolve(final String href, final String base) throws TransformerException { final String s = documents.get(href); if (s != null) { return new StreamSource(new StringReader(s)); } return null; }  StringURIResolver put(final String href, final String document); Source resolve(final String href, final String base); }
StringURIResolver implements URIResolver { public Source resolve(final String href, final String base) throws TransformerException { final String s = documents.get(href); if (s != null) { return new StreamSource(new StringReader(s)); } return null; }  StringURIResolver put(final String href, final String document); Source resolve(final String href, final String base);  }