/** * write a list of message destination reference descriptors to a DOM Tree * * @param parentNode parent node for the DOM tree * @param msgDestRefs the iterator over the descriptors to write */ protected void writeMessageDestinationRefDescriptors (Node parentNode, Iterator msgDestRefs) { if (msgDestRefs==null || !msgDestRefs.hasNext()) return; MessageDestinationRefNode subNode = new MessageDestinationRefNode(); for (;msgDestRefs.hasNext();) { MessageDestinationReferenceDescriptor next = (MessageDestinationReferenceDescriptor) msgDestRefs.next(); subNode.writeDescriptor(parentNode, TagNames.MESSAGE_DESTINATION_REFERENCE, next); } }
/** * write a list of message destination reference descriptors to a DOM Tree * * @param parentNode parent node for the DOM tree * @param msgDestRefs the iterator over the descriptors to write */ protected void writeMessageDestinationRefDescriptors (Node parentNode, Iterator msgDestRefs) { if (msgDestRefs==null || !msgDestRefs.hasNext()) return; MessageDestinationRefNode subNode = new MessageDestinationRefNode(); for (;msgDestRefs.hasNext();) { MessageDestinationReferenceDescriptor next = (MessageDestinationReferenceDescriptor) msgDestRefs.next(); subNode.writeDescriptor(parentNode, TagNames.MESSAGE_DESTINATION_REFERENCE, next); } }