Package | Description |
---|---|
ca.uhn.hl7v2.parser | |
ca.uhn.hl7v2.preparser |
Modifier and Type | Method and Description |
---|---|
static EncodingCharacters |
EncodingCharacters.defaultInstance()
Returns an instance of encoding characters with the standard ER7 encoding characters
defined: |^~\&
|
static EncodingCharacters |
EncodingCharacters.getInstance(Message message)
Returns an instance using the MSH-1 and MSH-2 values of the given message
|
Modifier and Type | Method and Description |
---|---|
String |
XMLParser.doEncode(Segment structure,
EncodingCharacters encodingCharacters)
Throws unsupported operation exception
|
abstract String |
Parser.doEncode(Segment structure,
EncodingCharacters encodingCharacters)
Encodes a particular segment and returns the encoded structure
|
String |
PipeParser.doEncode(Segment structure,
EncodingCharacters encodingCharacters)
Encodes a particular segment and returns the encoded structure
|
String |
GenericParser.doEncode(Segment structure,
EncodingCharacters encodingCharacters)
Encodes a particular segment and returns the encoded structure
|
String |
XMLParser.doEncode(Type type,
EncodingCharacters encodingCharacters)
Throws unsupported operation exception
|
abstract String |
Parser.doEncode(Type type,
EncodingCharacters encodingCharacters)
Encodes a particular type and returns the encoded structure
|
String |
PipeParser.doEncode(Type type,
EncodingCharacters encodingCharacters)
Encodes a particular type and returns the encoded structure
|
String |
GenericParser.doEncode(Type type,
EncodingCharacters encodingCharacters)
Encodes a particular type and returns the encoded structure
|
static String |
PipeParser.encode(Group source,
EncodingCharacters encodingChars)
Returns given group serialized as a pipe-encoded string - this method is
called by encode(Message source, String encoding).
|
static String |
PipeParser.encode(Segment source,
EncodingCharacters encodingChars)
Returns given segment serialized as a pipe-encoded string.
|
static String |
PipeParser.encode(Type source,
EncodingCharacters encodingChars)
Encodes the given Type, using the given encoding characters.
|
String |
DefaultEscaping.escape(String text,
EncodingCharacters encChars) |
static String |
Escape.escape(String text,
EncodingCharacters encChars)
Deprecated.
|
String |
Escaping.escape(String text,
EncodingCharacters encChars) |
void |
XMLParser.parse(Segment segment,
String string,
EncodingCharacters encodingCharacters)
Throws unsupported operation exception
|
abstract void |
Parser.parse(Segment segment,
String string,
EncodingCharacters encodingCharacters)
Parses a particular segment and returns the encoded structure
|
void |
PipeParser.parse(Segment destination,
String segment,
EncodingCharacters encodingChars)
Parses a segment string and populates the given Segment object.
|
void |
GenericParser.parse(Segment segment,
String string,
EncodingCharacters encodingCharacters)
Parses a particular segment and returns the encoded structure
|
void |
PipeParser.parse(Segment destination,
String segment,
EncodingCharacters encodingChars,
int theRepetition)
Parses a segment string and populates the given Segment object.
|
void |
XMLParser.parse(Type type,
String string,
EncodingCharacters encodingCharacters)
Throws unsupported operation exception
|
abstract void |
Parser.parse(Type type,
String string,
EncodingCharacters encodingCharacters)
Parses a particular type and returns the encoded structure
|
void |
PipeParser.parse(Type destinationField,
String data,
EncodingCharacters encodingCharacters)
Fills a field with values from an unparsed string representing the field.
|
void |
GenericParser.parse(Type type,
String string,
EncodingCharacters encodingCharacters)
Parses a particular type and returns the encoded structure
|
String |
DefaultEscaping.unescape(String text,
EncodingCharacters encChars) |
static String |
Escape.unescape(String text,
EncodingCharacters encChars)
Deprecated.
|
String |
Escaping.unescape(String text,
EncodingCharacters encChars) |
Constructor and Description |
---|
EncodingCharacters(EncodingCharacters other)
copies contents of "other"
|
Modifier and Type | Method and Description |
---|---|
protected static boolean |
ER7.parseMSHSegmentWhole(Properties props,
List<DatumPath> msgMask,
EncodingCharacters encodingChars,
String segment)
given segment, starting with "MSH", then encoding characters, etc...
|
protected static void |
ER7.parseSegmentWhole(Properties props,
Map<String,Integer> segmentId2nextRepIdx,
List<DatumPath> msgMask,
EncodingCharacters encodingChars,
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.
|
Copyright © 2001–2017 University Health Network. All rights reserved.