Class PlainTextRenderer
- java.lang.Object
-
- org.apache.sling.servlets.get.impl.helpers.PlainTextRenderer
-
-
Constructor Summary
Constructors Constructor Description PlainTextRenderer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddump(PrintWriter pw, org.apache.sling.api.resource.Resource r, Map<String,Object> map)Dumps the information about the provided resource to aPrintWriter.protected voidprintPropertyValue(PrintWriter pw, String name, Object value, boolean includeName)voidrender(org.apache.sling.api.SlingHttpServletRequest req, org.apache.sling.api.SlingHttpServletResponse resp)
-
-
-
Method Detail
-
render
public void render(org.apache.sling.api.SlingHttpServletRequest req, org.apache.sling.api.SlingHttpServletResponse resp) throws IOException- Specified by:
renderin interfaceRenderer- Throws:
IOException
-
dump
protected void dump(PrintWriter pw, org.apache.sling.api.resource.Resource r, Map<String,Object> map)
Dumps the information about the provided resource to aPrintWriter.- Parameters:
pw- the PrintWriterr- the resourcemap- the resource's properties
-
printPropertyValue
protected void printPropertyValue(PrintWriter pw, String name, Object value, boolean includeName)
-
-