org.schmant.support.xml
Class XmlSupport
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.