Class XMLRenderer

  • All Implemented Interfaces:
    Renderer

    public class XMLRenderer
    extends Object
    implements Renderer
    The XMLRendererServlet renders the current resource in XML on behalf of the DefaultGetServlet. At the moment only JCR nodes can be rendered as XML.
    • Constructor Detail

      • XMLRenderer

        public XMLRenderer()
    • Method Detail

      • render

        public void render​(org.apache.sling.api.SlingHttpServletRequest req,
                           org.apache.sling.api.SlingHttpServletResponse resp)
                    throws IOException
        Specified by:
        render in interface Renderer
        Throws:
        IOException