ca.uhn.hl7v2.parser
Class Escape

java.lang.Object
  extended by ca.uhn.hl7v2.parser.Escape

public class Escape
extends Object

Handles "escaping" and "unescaping" of text according to the HL7 escape sequence rules defined in section 2.10 of the standard (version 2.4). Currently, escape sequences for multiple character sets are unsupported. The highlighting, hexademical, and locally defined escape sequences are also unsupported.

Author:
Bryan Tripp, Mark Lee (Skeva Technologies), Elmar Hinz, Christian Ohr

Constructor Summary
Escape()
          Creates a new instance of Escape
 
Method Summary
static String escape(String text, EncodingCharacters encChars)
           
static String unescape(String text, EncodingCharacters encChars)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Escape

public Escape()
Creates a new instance of Escape

Method Detail

escape

public static String escape(String text,
                            EncodingCharacters encChars)

unescape

public static String unescape(String text,
                              EncodingCharacters encChars)


Copyright © 2001-2012 University Health Network. All Rights Reserved.