Called by encode(Message, String) to perform implementation-specific encoding work.
@param source a Message object from which to construct an encoded message string
@param encoding the name of the HL7 encoding to use (eg "XML"; most implementations supportonly one encoding)
@return the encoded message
@throws HL7Exception if the data fields in the message do not permit encoding (e.g. requiredfields are null)
@throws EncodingNotSupportedException if the requested encoding is not supported by thisparser.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.