org.apache.sling.api.request
Class ResponseUtil

java.lang.Object
  extended by org.apache.sling.api.request.ResponseUtil

public class ResponseUtil
extends java.lang.Object

Response-related utilities

Since:
2.1

Constructor Summary
ResponseUtil()
           
 
Method Summary
static java.lang.String escapeXml(java.lang.String input)
          Escape xml text
static java.io.Writer getXmlEscapingWriter(java.io.Writer target)
          Return a Writer that writes escaped XML text to target
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResponseUtil

public ResponseUtil()
Method Detail

escapeXml

public static java.lang.String escapeXml(java.lang.String input)
Escape xml text


getXmlEscapingWriter

public static java.io.Writer getXmlEscapingWriter(java.io.Writer target)
Return a Writer that writes escaped XML text to target



Copyright © 2007-2012 The Apache Software Foundation. All Rights Reserved.