|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.nrao.sss.xml.XMLTransform
public class XMLTransform
Class composed of static methods that encode or decode the five meta XML characters.
Constructor Summary | |
---|---|
XMLTransform()
|
Method Summary | |
---|---|
static String |
dateToXMLDateTime(Date date)
Format a date as a standard XML DateTime. |
static String |
decode(String in)
Decode a String, that is, unescape any occurence of one of the five encoded meta characters. |
static String |
encode(String in)
Encode a String, that is, transform it so the five XML meta characters are escaped properly. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XMLTransform()
Method Detail |
---|
public static String encode(String in)
in
- the String to encode
public static String decode(String in)
in
- the String to decode
public static String dateToXMLDateTime(Date date)
date
- the date to be formatted.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |