org.apache.sling.api.request
Class ResponseUtil

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

public class ResponseUtil
extends Object

Response-related utilities

Since:
2.1

Constructor Summary
ResponseUtil()
           
 
Method Summary
static String escapeXml(String input)
          Escape xml text
static Writer getXmlEscapingWriter(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 String escapeXml(String input)
Escape xml text


getXmlEscapingWriter

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



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