org.apache.sling.engine
Class ResponseUtil

java.lang.Object
  extended by org.apache.sling.engine.ResponseUtil

public class ResponseUtil
extends java.lang.Object

Response-related utilities


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-2009. All Rights Reserved.