ca.uhn.hl7v2.parser
Class Escape

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

public class Escape
extends java.lang.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 java.lang.String escape(java.lang.String text, EncodingCharacters encChars)
           
static java.lang.String unescape(java.lang.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 java.lang.String escape(java.lang.String text,
                                      EncodingCharacters encChars)

unescape

public static java.lang.String unescape(java.lang.String text,
                                        EncodingCharacters encChars)


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