org.schmant.support.xml
Class XmlSupport

java.lang.Object
  extended by org.schmant.support.xml.XmlSupport

public final class XmlSupport
extends Object

Utility class with static support methods for working with XML.

Since:
0.8
Author:
Karl Gustafsson

Method Summary
static String escapeXmlCharacters(String s)
          Escape all XML characters such as &, < and > to their entity counterparts
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

escapeXmlCharacters

public static String escapeXmlCharacters(String s)
Escape all XML characters such as &, < and > to their entity counterparts

Parameters:
s - The text with the characters to escape.
Returns:
Escaped text.