org.tagnetic.tagneto.util
Class JavaScriptUtil

java.lang.Object
  extended byorg.tagnetic.tagneto.util.JavaScriptUtil

public class JavaScriptUtil
extends java.lang.Object


Constructor Summary
JavaScriptUtil()
           
 
Method Summary
static java.lang.String escape(java.lang.CharSequence output)
          Does NOT backslash-escape double-quotes, since it assumes the value will be wrapped by single-quotes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaScriptUtil

public JavaScriptUtil()
Method Detail

escape

public static java.lang.String escape(java.lang.CharSequence output)
Does NOT backslash-escape double-quotes, since it assumes the value will be wrapped by single-quotes. This is done to avoid sending extra \ characters in the response.



Copyright © 2005 tagnetic.org. All Rights Reserved.