public Parser getParser() { return getDelegate().getParser(); }
public Parser getParser() { return getDelegate().getParser(); }
/** * Returns given group serialized as a pipe-encoded string - this method is * called by encode(Message source, String encoding). * * @param source group to be encoded * @param encodingChars encoding characters to be used * @throws HL7Exception if an error occurred while encoding * @return encoded group */ public static String encode(Group source, EncodingCharacters encodingChars) throws HL7Exception { return encode(source, encodingChars, source.getMessage().getParser().getParserConfiguration(), ""); }
/** * Returns given segment serialized as a pipe-encoded string. * * @param source segment to be encoded * @param encodingChars encoding characters to be used * @return encoded group */ public static String encode(Segment source, EncodingCharacters encodingChars) { return encode(source, encodingChars, source.getMessage().getParser().getParserConfiguration(), null); }
/** * Encodes the given Type, using the given encoding characters. It is * assumed that the Type represents a complete field rather than a * component. * * @param source type to be encoded * @param encodingChars encoding characters to be used * @return encoded type */ public static String encode(Type source, EncodingCharacters encodingChars) { return encode(source, encodingChars, source.getMessage().getParser().getParserConfiguration(), null); }
/** * Encodes the given Type, using the given encoding characters. It is * assumed that the Type represents a complete field rather than a * component. * * @param source type to be encoded * @param encodingChars encoding characters to be used * @return encoded type */ public static String encode(Type source, EncodingCharacters encodingChars) { return encode(source, encodingChars, source.getMessage().getParser().getParserConfiguration(), null); }
/** * Returns given group serialized as a pipe-encoded string - this method is * called by encode(Message source, String encoding). * * @param source group to be encoded * @param encodingChars encoding characters to be used * @throws HL7Exception if an error occurred while encoding * @return encoded group */ public static String encode(Group source, EncodingCharacters encodingChars) throws HL7Exception { return encode(source, encodingChars, source.getMessage().getParser().getParserConfiguration(), ""); }
/** * Returns given segment serialized as a pipe-encoded string. * * @param source segment to be encoded * @param encodingChars encoding characters to be used * @return encoded group */ public static String encode(Segment source, EncodingCharacters encodingChars) { return encode(source, encodingChars, source.getMessage().getParser().getParserConfiguration(), null); }
/** * {@inheritDoc } */ public String encode() throws HL7Exception { return getMessage().getParser().doEncode(this, EncodingCharacters.getInstance(getMessage())); }
/** * {@inheritDoc } */ @Override public String encode() throws HL7Exception { Parser p = getMessage().getParser(); return p.doEncode(this, EncodingCharacters.getInstance(getMessage())); }
/** * {@inheritDoc } */ public String encode() throws HL7Exception { return getMessage().getParser().doEncode(this, EncodingCharacters.getInstance(getMessage())); }
/** * {@inheritDoc } */ public String encode() throws HL7Exception { return getMessage().getParser().doEncode(this, EncodingCharacters.getInstance(getMessage())); }
/** * {@inheritDoc } */ public String encode() throws HL7Exception { return getMessage().getParser().doEncode(this, EncodingCharacters.getInstance(getMessage())); }
/** * {@inheritDoc } */ public String encode() throws HL7Exception { return getMessage().getParser().doEncode(this, EncodingCharacters.getInstance(getMessage())); }
/** * {@inheritDoc } */ @Override public String encode() throws HL7Exception { Parser p = getMessage().getParser(); return p.doEncode(this, EncodingCharacters.getInstance(getMessage())); }
/** * {@inheritDoc } */ public String encode() throws HL7Exception { return getMessage().getParser().doEncode(this, EncodingCharacters.getInstance(getMessage())); }
/** * {@inheritDoc } */ public void parse(String string) throws HL7Exception { clear(); getMessage().getParser().parse(this, string, EncodingCharacters.getInstance(getMessage())); }
/** * {@inheritDoc } */ public void parse(String string) throws HL7Exception { clear(); getMessage().getParser().parse(this, string, EncodingCharacters.getInstance(getMessage())); }
/** * {@inheritDoc } */ public void parse(String string) throws HL7Exception { if (data != null) { data.clear(); } getMessage().getParser().parse(this, string, EncodingCharacters.getInstance(getMessage())); }
/** * {@inheritDoc } */ public void parse(String string) throws HL7Exception { if (data != null) { data.clear(); } getMessage().getParser().parse(this, string, EncodingCharacters.getInstance(getMessage())); }