Class NameValuePairNode

    • Constructor Detail

      • NameValuePairNode

        public NameValuePairNode()
    • Method Detail

      • getDispatchTable

        protected Map getDispatchTable()
        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.
        Overrides:
        getDispatchTable in class DeploymentDescriptorNode
        Returns:
        the map with the element name as a key, the setter method as a value
      • writeDescriptor

        public Node writeDescriptor​(Node parent,
                                    String nodeName,
                                    NameValuePairDescriptor descriptor)
        write the descriptor class to a DOM tree and return it
        Parameters:
        parent - node in the DOM tree
        node - name for the root element of this xml fragment
        the - descriptor to write
        Returns:
        the DOM tree top node
      • writeDescriptor

        public void writeDescriptor​(Node parent,
                                    String nodeName,
                                    Iterator props)
        write the descriptor class to a DOM tree and return it
        Parameters:
        parent - node in the DOM tree
        node - name for the root element of this xml fragment
        iterator - on the descriptors to write