/** * 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); } }
public MessageDestinationRefNode() { super(); registerElementHandler(new XMLElement(TagNames.INJECTION_TARGET), InjectionTargetNode.class, "addInjectionTarget"); }
MessageDestinationReferenceDescriptor desc) { Node msgDestRefNode = appendChild(parent, nodeName); writeLocalizedDescriptions(msgDestRefNode, desc); appendTextChild(msgDestRefNode, TagNames.MESSAGE_DESTINATION_REFERENCE_NAME, desc.getName()); appendTextChild(msgDestRefNode, TagNames.MESSAGE_DESTINATION_TYPE, desc.getDestinationType()); appendTextChild(msgDestRefNode, TagNames.MESSAGE_DESTINATION_USAGE, desc.getUsage()); appendTextChild(msgDestRefNode, TagNames.MESSAGE_DESTINATION_LINK, desc.getMessageDestinationLinkName()); appendTextChild(msgDestRefNode, TagNames.MAPPED_NAME, desc.getMappedName()); appendTextChild(msgDestRefNode, TagNames.LOOKUP_NAME, desc.getLookupName());
MessageDestinationReferenceDescriptor desc) { Node msgDestRefNode = appendChild(parent, nodeName); writeLocalizedDescriptions(msgDestRefNode, desc); appendTextChild(msgDestRefNode, TagNames.MESSAGE_DESTINATION_REFERENCE_NAME, desc.getName()); appendTextChild(msgDestRefNode, TagNames.MESSAGE_DESTINATION_TYPE, desc.getDestinationType()); appendTextChild(msgDestRefNode, TagNames.MESSAGE_DESTINATION_USAGE, desc.getUsage()); appendTextChild(msgDestRefNode, TagNames.MESSAGE_DESTINATION_LINK, desc.getMessageDestinationLinkName()); appendTextChild(msgDestRefNode, TagNames.MAPPED_NAME, desc.getMappedName()); appendTextChild(msgDestRefNode, TagNames.LOOKUP_NAME, desc.getLookupName());
/** * 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); } }
public MessageDestinationRefNode() { super(); registerElementHandler(new XMLElement(TagNames.INJECTION_TARGET), InjectionTargetNode.class, "addInjectionTarget"); }