all sub-implementation of this class can use a dispatch table to map xml element to method name on the descriptor class for setting the element value.returnthe map with the element name as a key, the setter method as a value Map table = super.getDispatchTable(); table.put(WebTagNames.TRANSPORT_GUARANTEE, "setTransportGuarantee"); return table;
Map table = super.getDispatchTable(); table.put(WebTagNames.TRANSPORT_GUARANTEE, "setTransportGuarantee"); return table;
write the descriptor class to a DOM tree and return itparamparent node in the DOM treeparamnode name for the root element of this xml fragmentparamthe descriptor to writereturnthe DOM tree top node Node myNode = appendChild(parent, nodeName); writeLocalizedDescriptions(myNode, descriptor); appendTextChild(myNode, WebTagNames.TRANSPORT_GUARANTEE, descriptor.getTransportGuarantee()); return myNode;
Node myNode = appendChild(parent, nodeName); writeLocalizedDescriptions(myNode, descriptor); appendTextChild(myNode, WebTagNames.TRANSPORT_GUARANTEE, descriptor.getTransportGuarantee()); return myNode;