Class PlainTextRenderer
java.lang.Object
org.apache.sling.servlets.get.impl.helpers.PlainTextRenderer
- All Implemented Interfaces:
Renderer
The
PlainTextRendererServlet
renders the current resource in
plain text on behalf of the
DefaultGetServlet
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
Dumps the information about the provided resource to aPrintWriter
.protected void
printPropertyValue
(PrintWriter pw, String name, Object value, boolean includeName) void
-
Constructor Details
-
PlainTextRenderer
public PlainTextRenderer()
-
-
Method Details
-
render
- Specified by:
render
in interfaceRenderer
- Throws:
IOException
-
dump
Dumps the information about the provided resource to aPrintWriter
.- Parameters:
pw
- the PrintWriterr
- the resourcemap
- the resource's properties
-
printPropertyValue
-