public static void main(String arg[]){
RefsDecoder ref = new RefsDecoder();
String text = " " ;
String value = new String(ref.decode(text.toCharArray()));
System.out.println("|"+value+"|");
RefsEncoder encoder = new RefsEncoder(false);
value = value + "&";
text = new String(encoder.encode(value.toCharArray()));
System.out.println(text);
}