adapforms.web.util
Class WebUtil

java.lang.Object
  extended by adapforms.web.util.WebUtil

public class WebUtil
extends java.lang.Object

Usefull utility methods for the adapforms-web.

Author:
Henrik Gammelmark, geemark@cs.au.dk

Constructor Summary
WebUtil()
           
 
Method Summary
static java.lang.String htmlEscape(java.lang.String raw)
          Escape a XHXML literal.
static java.lang.String xmlEscape(java.lang.String raw)
          Escape a XML literal.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebUtil

public WebUtil()
Method Detail

xmlEscape

public static java.lang.String xmlEscape(java.lang.String raw)
Escape a XML literal.


htmlEscape

public static java.lang.String htmlEscape(java.lang.String raw)
Escape a XHXML literal.