try this
String s = "\\u0031";
char c = (char)Integer.parseInt(s.substring(2), 16);
System.out.print(c);
output
1
though I would suggest to use XML numeric character references http://en.wikipedia.org/wiki/Numeric_character_reference like 
then it would be decoded by XML parser automatically