List of usage examples for org.dom4j Branch setContent
void setContent(List<Node> content);
List
of Node
instances. From source file:org.withinsea.izayoi.commons.dom.DOMUtils.java
License:Mozilla Public License
public static Branch surroundBy(List<Node> nodes, Branch wrapper) throws InvocationTargetException, IllegalAccessException { replaceBy(nodes, wrapper);// w w w . j a v a 2s . c o m wrapper.setContent(nodes); return wrapper; }