|
Sun Message Library for HL7 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.stc.hl7.parser.HL7Parser
public class HL7Parser
This class parses the meta data retrieved from Microsoft Access Database
| Field Summary | |
|---|---|
protected HL7DBConnection |
mHL7Conn
|
protected HL7Version |
mVersion
|
| Constructor Summary | |
|---|---|
HL7Parser(HL7Version version,
HL7DBConnection db)
Constructor for HL7Parser |
|
| Method Summary | |
|---|---|
protected java.util.Set |
createEventsSet(java.sql.ResultSet rs,
boolean isSender)
Add events to an events set based on a results set |
HL7Messages |
parse()
Parses metadata from HL7 database into an HL7Messages object |
protected NodeDescList |
parseComponentSection()
Parses component metadata from HL7 database into a NodeDescList object |
protected java.util.Set |
parseEvents()
Parses event metadata from HL7 database into a Set object |
protected NodeDescList |
parseSegsSection()
Parses segment metadata from HL7 database into a NodeDescList object |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected HL7DBConnection mHL7Conn
protected HL7Version mVersion
| Constructor Detail |
|---|
public HL7Parser(HL7Version version,
HL7DBConnection db)
throws java.lang.Exception
version - the HL7 version to parsedb - Connection to HL7 database
java.lang.Exception| Method Detail |
|---|
public HL7Messages parse()
throws java.lang.ClassNotFoundException,
java.sql.SQLException,
java.io.IOException,
java.util.EmptyStackException
java.lang.ClassNotFoundException
java.io.IOException
java.sql.SQLException - when problem occurs with the Database interactions
java.util.EmptyStackException - Thrown by methods in the Stack class to indicate that the stack is empty
protected java.util.Set parseEvents()
throws java.sql.SQLException,
java.io.IOException,
java.util.EmptyStackException
java.sql.SQLException - when problem occurs with the Database interactions
java.io.IOException
java.util.EmptyStackException - Thrown by methods in the Stack class to indicate that the stack is empty
protected java.util.Set createEventsSet(java.sql.ResultSet rs,
boolean isSender)
throws java.sql.SQLException
java.sql.SQLException - when problem occurs with the Database interactions
protected NodeDescList parseSegsSection()
throws java.sql.SQLException
java.sql.SQLException - when problem occurs with the Database interactions
protected NodeDescList parseComponentSection()
throws java.sql.SQLException
java.sql.SQLException - when problem occurs with the Database interactions
|
Sun Message Library for HL7 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||