/** * Decide which way to render. HTML or XML. */ protected InputStream render(String contextPath, WebResource resource) throws IOException, ServletException { InputStream xsltInputStream = findXsltInputStream(resource); if (xsltInputStream==null) { return renderHtml(contextPath, resource); } return renderXml(contextPath, resource, xsltInputStream); }
/** * Decide which way to render. HTML or XML. */ protected InputStream render(String contextPath, CacheEntry cacheEntry) throws IOException, ServletException { InputStream xsltInputStream = findXsltInputStream(cacheEntry.context); if (xsltInputStream==null) { return renderHtml(contextPath, cacheEntry); } return renderXml(contextPath, cacheEntry, xsltInputStream); }
/** * Decide which way to render. HTML or XML. */ protected InputStream render(String contextPath, CacheEntry cacheEntry) throws IOException, ServletException { Source xsltSource = findXsltInputStream(cacheEntry.context); if (xsltSource == null) { return renderHtml(contextPath, cacheEntry); } return renderXml(contextPath, cacheEntry, xsltSource); }
/** * Decide which way to render. HTML or XML. */ protected InputStream render(String contextPath, CacheEntry cacheEntry) throws IOException, ServletException { InputStream xsltInputStream = findXsltInputStream(cacheEntry.context); if (xsltInputStream==null) { return renderHtml(contextPath, cacheEntry); } return renderXml(contextPath, cacheEntry, xsltInputStream); }
/** * Decide which way to render. HTML or XML. */ protected InputStream render(String contextPath, CacheEntry cacheEntry) throws IOException, ServletException { InputStream xsltInputStream = findXsltInputStream(cacheEntry.context); if (xsltInputStream==null) { return renderHtml(contextPath, cacheEntry); } return renderXml(contextPath, cacheEntry, xsltInputStream); }
/** * Decide which way to render. HTML or XML. */ protected InputStream render(String contextPath, CacheEntry cacheEntry) throws IOException, ServletException { InputStream xsltInputStream = findXsltInputStream(cacheEntry.context); if (xsltInputStream==null) { return renderHtml(contextPath, cacheEntry); } return renderXml(contextPath, cacheEntry, xsltInputStream); }
/** * Decide which way to render. HTML or XML. */ protected InputStream render(String contextPath, CacheEntry cacheEntry) throws IOException, ServletException { InputStream xsltInputStream = findXsltInputStream(cacheEntry.context); if (xsltInputStream==null) { return renderHtml(contextPath, cacheEntry); } return renderXml(contextPath, cacheEntry, xsltInputStream); }
/** * Decide which way to render. HTML or XML. */ protected InputStream render(String contextPath, CacheEntry cacheEntry) throws IOException, ServletException { InputStream xsltInputStream = findXsltInputStream(cacheEntry.context); if (xsltInputStream==null) { return renderHtml(contextPath, cacheEntry); } else { return renderXml(contextPath, cacheEntry, xsltInputStream); } }
/** * Decide which way to render. HTML or XML. */ protected InputStream render (String contextPath, CacheEntry cacheEntry) { InputStream xsltInputStream = findXsltInputStream(cacheEntry.context); if (xsltInputStream==null) { return renderHtml(contextPath, cacheEntry); } else { return renderXml(contextPath, cacheEntry, xsltInputStream); } }
private InputStream render(String contextPath, CacheEntry cacheEntry, ProxyDirContext proxyDirContext) throws IOException, ServletException { Source xsltSource = findXsltInputStream(cacheEntry.context); if (xsltSource == null) { return renderHtml(contextPath, cacheEntry, proxyDirContext); } else { return renderXml(contextPath, cacheEntry, xsltSource, proxyDirContext); } }