Java HTML Jsoup Element addAllNodes(Element parent, List childNodes)

Here you can find the source of addAllNodes(Element parent, List childNodes)

Description

add All Nodes

License

Open Source License

Declaration

public static void addAllNodes(Element parent, List<Node> childNodes) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import java.util.List;
import org.jsoup.nodes.Element;
import org.jsoup.nodes.Node;

public class Main {
    public static void addAllNodes(Element parent, List<Node> childNodes) {
        for (Node child : childNodes) {
            parent.appendChild(child);/*from  w  w w .j av  a  2 s  .  c om*/
        }
    }
}

Related

  1. addProperty(Map ret, Element element)
  2. addStyle(Element element, String styleToBeAdded)
  3. addTag(Element e, String tagName)
  4. appendFragment(Element e, String fragment)