Re: [HAPI-devel] unescaping

2012-07-09 Thread James Agnew
Hi Gabriel, Do you mean that you have a string which contains a specical character, and you want getValue() to return it as the corresponding escape sequence (like it would appear in an actual message)? If so, encode() would be the method to call. If you have (for example) an ST that contains the

[HAPI-devel] unescaping

2012-07-09 Thread Gabriel Euzet
Hi ! When I receive an HL7 document, how can I replace the escaping sequences by the "normal" characters (HL7 norm, chapter 2.7) ? Should I override the getValue() ? How ? Have I to use something like "String.replace()" everywhere I call getValue() ? Regards, Gabe