Interface XMLElement.Builder<RC,​WC>

    • Method Detail

      • addAttribute

        XMLElement.Builder<RC,​WC> addAttribute​(XMLAttribute<RC,​WC> attribute)
        Adds readers and writer for the attributes of this element.
        Parameters:
        readers - a map of readers per qualified name
        writer - a writer of the attributes of this element
        Returns:
        a reference to this builder
      • addAttributes

        default XMLElement.Builder<RC,​WC> addAttributes​(Iterable<? extends XMLAttribute<RC,​WC>> attributes)
        Adds readers and writer for the attributes of this element.
        Parameters:
        readers - a map of readers per qualified name
        writer - a writer of the attributes of this element
        Returns:
        a reference to this builder