Class JaxRpcMappingNode

    • Constructor Detail

      • JaxRpcMappingNode

        public JaxRpcMappingNode()
    • Method Detail

      • getOwnerDocument

        protected static Document getOwnerDocument​(Node node)

        Returns:
        the Document for the given node

      • appendChild

        public static Element appendChild​(Node parent,
                                          String elementName)

        Append a new element child to the current node

        Parameters:
        parent - is the parent node for the new child element
        elementName - is new element tag name
        Returns:
        the newly created child node
      • appendTextChild

        public static Node appendTextChild​(Node parent,
                                           String elementName,
                                           String text)

        Append a new text child

        Parameters:
        parent - for the new child element
        elementName - is the new element tag name
        text - the text for the new element
        Returns:
        the newly create child node
      • appendTextChild

        public static Node appendTextChild​(Node parent,
                                           String elementName,
                                           int value)

        Append a new text child

        Parameters:
        parent - for the new child element
        elementName - is the new element tag name
        value - the int value for the new element
        Returns:
        the newly create child node
      • forceAppendTextChild

        public static Node forceAppendTextChild​(Node parent,
                                                String elementName,
                                                String text)

        Append a new text child even if text is empty

        Parameters:
        parent - for the new child element
        elementName - is the new element tag name
        text - the text for the new element
        Returns:
        the newly create child node
      • setAttribute

        public static void setAttribute​(Element parent,
                                        String elementName,
                                        String text)

        Append a new attribute to an element

        Parameters:
        parent - for the new child element
        elementName - is the new element tag name
        text - the text for the new element
      • setAttributeNS

        public static void setAttributeNS​(Element element,
                                          String prefix,
                                          String namespaceURI)
        Set a namespace attribute on an element.
        Parameters:
        element - on which to set attribute
        prefix - raw prefix (without "xmlns:")
        namespaceURI - namespace URI to which prefix is mapped.
      • debug

        protected void debug​(String className,
                             String msg)