ca.uhn.hl7v2.parser
Class MessagePointer

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

Deprecated. PipeParser now uses MessageIterator

public class MessagePointer
extends java.lang.Object

A MessagePointer is used when parsing traditionally encoded HL7 messages. This is similar to a GroupPointer except that there is only one underlying instance of the Message, and it has no parent.

Author:
Bryan Tripp (bryan_tripp@sourceforge.net)
See Also:
GroupPointer

Constructor Summary
MessagePointer(PipeParser parser, Message message, EncodingCharacters encodingChars)
          Deprecated. Creates new GroupPointer
 
Method Summary
 int setSegment(java.lang.String segment)
          Deprecated. Parses the given String, which must contain a single traditionally encoded message segment, by forwarding it to child GroupPointers and SegmentPointers until one of them succeeds.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessagePointer

public MessagePointer(PipeParser parser,
                      Message message,
                      EncodingCharacters encodingChars)
               throws HL7Exception
Deprecated. 
Creates new GroupPointer

Throws:
HL7Exception
Method Detail

setSegment

public int setSegment(java.lang.String segment)
               throws HL7Exception
Deprecated. 
Parses the given String, which must contain a single traditionally encoded message segment, by forwarding it to child GroupPointers and SegmentPointers until one of them succeeds.

Throws:
HL7Exception


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