IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.dojo.tag
Class StrEscapeUtil

java.lang.Object
  extended by com.ibm.btt.dojo.tag.StrEscapeUtil

public class StrEscapeUtil
extends java.lang.Object


Constructor Summary
StrEscapeUtil()
           
 
Method Summary
static java.lang.String escapeForHTML(java.lang.String aText)
          Escape the special characters for the HTML entities
static java.lang.String escapeForJS(java.lang.String aText)
           
static java.lang.String escapeForWidthAndHeight(java.lang.String width)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StrEscapeUtil

public StrEscapeUtil()
Method Detail

escapeForHTML

public static java.lang.String escapeForHTML(java.lang.String aText)
Escape the special characters for the HTML entities

Parameters:
str - the input string
Returns:
the escaped string

escapeForJS

public static java.lang.String escapeForJS(java.lang.String aText)

escapeForWidthAndHeight

public static java.lang.String escapeForWidthAndHeight(java.lang.String width)

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2011