org.ow2.opensuit.core.util
Class HtmlUtils

java.lang.Object
  extended by org.ow2.opensuit.core.util.HtmlUtils

public class HtmlUtils
extends java.lang.Object

Helper class for HTML rendering


Constructor Summary
HtmlUtils()
           
 
Method Summary
static java.lang.String encode2HTML(java.lang.String text)
          Encodes the given text to HTML encoding.
static java.lang.String encode2HTML(java.lang.String text, boolean iNBSP)
          Encodes the given text to HTML encoding.
static java.lang.String encode2JsString(java.lang.String text)
          Encodes the given text to JavaScript string (with escaping).
static java.lang.String formatId(java.lang.String iNonFormattedId)
          Turns the given string into a valid ID (to use both in JavaScripts and requests)
static java.lang.String getHTML401TransitionalDoctype()
          Return the right doctype tag for HTML 4.01 Transitional.
static void includeBaseJavaScript(javax.servlet.http.HttpServletRequest iRequest, javax.servlet.http.HttpServletResponse iResponse, java.lang.String iJavascriptFileName)
          Writes the required

Copyright © 2008-2012 OW2 Consortium. All Rights Reserved.