/** * Returns the parent group within which this structure exists (may be root * message group). */ public Message getMessage() { return getParent().getMessage(); }
/** * Returns the parent group within which this structure exists (may be root * message group). */ public Message getMessage() { return getParent().getMessage(); }
/** * 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 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(), ""); }
String messageName = groupObject.getMessage().getName(); String childName = nextChildName; if(groupObject.isGroup(nextChildName)) { childName = makeGroupElementName(groupObject.getMessage().getName(), nextChildName);
String messageName = groupObject.getMessage().getName(); String childName = nextChildName; if(groupObject.isGroup(nextChildName)) { childName = makeGroupElementName(groupObject.getMessage().getName(), nextChildName);
String messageName = groupObject.getMessage().getName();
String messageName = groupObject.getMessage().getName();