common
Class XmlSpecChConv

java.lang.Object
  extended by common.XmlSpecChConv

public class XmlSpecChConv
extends java.lang.Object


Field Summary
static java.lang.String newLineChar
           
 
Constructor Summary
XmlSpecChConv()
           
 
Method Summary
static java.lang.String convert(java.lang.String s)
          Formats the XML special characters in the text to the proper form.
static java.lang.String convertFromSendable(java.lang.String conXml)
           
static java.lang.String convertToSendable(java.lang.String xml)
          replaces new line characters in String with special charsequenc except the last one;
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

newLineChar

public static java.lang.String newLineChar
Constructor Detail

XmlSpecChConv

public XmlSpecChConv()
Method Detail

convert

public static java.lang.String convert(java.lang.String s)
Formats the XML special characters in the text to the proper form.


convertToSendable

public static java.lang.String convertToSendable(java.lang.String xml)
replaces new line characters in String with special charsequenc except the last one;


convertFromSendable

public static java.lang.String convertFromSendable(java.lang.String conXml)

main

public static void main(java.lang.String[] args)