org.deckfour.spex.util
Class SXmlCharacterMethods
java.lang.Object
org.deckfour.spex.util.SXmlCharacterMethods
public class SXmlCharacterMethods
- extends Object
This class provides a set of convenience methods for handling strings that
are to be written to or read from XML documents.
- Author:
- Christian W. Guenther (christian@deckfour.org)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SXmlCharacterMethods
public SXmlCharacterMethods()
convertCharsToXml
public static String convertCharsToXml(String input)
- Convenience method to convert XML reserved chars.
- Parameters:
input
- String to be converted.
- Returns:
- Converted string.
convertCharsFromXml
public static String convertCharsFromXml(String input)
- Convenience method for backward conversion of XML encoded chars.
- Parameters:
input
- XML encoded string to be converted.
- Returns:
- Converted string.