|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectca.uhn.hl7v2.preparser.ER7
public class ER7
Nested Class Summary | |
---|---|
protected static class |
ER7.ER7SegmentHandler
|
protected static interface |
ER7.Handler
|
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
|
static boolean |
parseMessage(java.util.Properties props,
java.util.Vector msgMask,
java.lang.String message)
Parses message and dumps contents to props, with keys in the ZYX[a]-b[c]-d-e style. |
protected static boolean |
parseMSHSegmentWhole(java.util.Properties props,
java.util.Vector msgMask,
EncodingCharacters encodingChars,
java.lang.String segment)
given segment, starting with "MSH", then encoding characters, etc... |
protected static void |
parseSegmentGuts(ER7.Handler handler,
java.lang.String guts,
java.util.Vector nodeKey)
recursively tokenize "guts" (a segment, or part of one) into tokens, according to separators (aka delimiters) which are different at each level of recursion, and to a recursive depth which is discovered through "handler" via handler.delim(int) and handler.specDepth() As tokens are found, they are reported to handler via handler.putDatum(), which presumably stashes them away somewhere. |
protected static void |
parseSegmentWhole(java.util.Properties props,
java.util.Map segmentId2nextRepIdx,
java.util.Vector msgMask,
EncodingCharacters encodingChars,
java.lang.String segment)
pass in a whole segment (of type other than MSH), including message type at the start, according to encodingChars, and we'll parse the contents and put them in props. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static boolean parseMessage(java.util.Properties props, java.util.Vector msgMask, java.lang.String message)
protected static boolean parseMSHSegmentWhole(java.util.Properties props, java.util.Vector msgMask, EncodingCharacters encodingChars, java.lang.String segment)
protected static void parseSegmentWhole(java.util.Properties props, java.util.Map segmentId2nextRepIdx, java.util.Vector msgMask, EncodingCharacters encodingChars, java.lang.String segment)
protected static void parseSegmentGuts(ER7.Handler handler, java.lang.String guts, java.util.Vector nodeKey)
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |