Package ca.uhn.hl7v2.parser
Interface Escaping
- All Known Implementing Classes:
DefaultEscaping
public interface Escaping
Handles "escaping" and "unescaping" of text according to the HL7 escape
sequence rules defined in section 2.10 of the standard (version 2.4).
- Author:
- Christian Ohr
-
Method Summary
Modifier and TypeMethodDescriptionescape(String text, EncodingCharacters encChars) unescape(String text, EncodingCharacters encChars)
-
Method Details
-
escape
- Parameters:
text- string to be escapedencChars- encoding characters to be used- Returns:
- the escaped string
-
unescape
- Parameters:
text- string to be unescapedencChars- encoding characters to be used- Returns:
- the unescaped string
-