|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.vmdb.hl7.HL7Object | +--org.vmdb.hl7.HL7SegmentContainer
Description: HL7 Network Connectivity For VMDB.
Copyright: Copyright (c) 2002-2003.
Company: Veterinary Medical Database (VMDB).
Provide capabilities common to both Messages and Loops. Each of these is essentially a collection of segments, loops, or both.
Constructor Summary | |
HL7SegmentContainer()
|
Method Summary | |
HL7Segment |
findSegment(java.lang.String sSegName)
Find a single segment within this hierarchy by name. |
java.util.Iterator |
listsSegments(java.lang.String sSegName)
Find all segments within this hierarchy by name. |
void |
setSeparators(java.lang.String sSeparators)
Set separators for the message and all its segments. |
java.lang.String |
toString()
Return the message or loop as an HL7String. |
java.lang.String |
toXML(int iDepth)
Output the message or loop as XML. |
Methods inherited from class org.vmdb.hl7.HL7Object |
getRule |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public HL7SegmentContainer()
Method Detail |
public void setSeparators(java.lang.String sSeparators)
setSeparators
in class HL7Object
sSeparators
- string with separators.public HL7Segment findSegment(java.lang.String sSegName)
sSegName
- String with name of segment wanted as its three letter
abbreviation ("PID","OBR", etc.).
public java.util.Iterator listsSegments(java.lang.String sSegName)
sSegName
- String with name of segment wanted
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toXML(int iDepth)
toXML
in class HL7Object
iDepth
- int value for the number of spaces to indent this object. Used just
to make the XML easier to read as unformatted text.
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |