com.danieleturi.xml
Class XMLHelper

java.lang.Object
  |
  +--com.danieleturi.xml.XMLHelper

public class XMLHelper
extends Object


Constructor Summary
XMLHelper()
           
 
Method Summary
static String noXML(String cmt)
          Removes any XML-sensitive characters from a comment and replaces them with their character entities.
static Date xmlIdToDate(String id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLHelper

public XMLHelper()
Method Detail

noXML

public static String noXML(String cmt)
Removes any XML-sensitive characters from a comment and replaces them with their character entities.

Parameters:
cmt - the raw comment
Returns:
the XML-safe comment

xmlIdToDate

public static Date xmlIdToDate(String id)
                        throws ParseException
ParseException