Name
StructuredDocumentUtils
Synopsis
This class contains several utility methods that copy documents or create documents from elements. Copies made by these utilities are deep copies; altering the original does not alter the copy.
public final class StructuredDocumentUtils { // Public Constructors public StructuredDocumentUtils(); // Public Class Methods public static StructuredDocument copyAsDocument(Element from); public static void copyChildren(StructuredDocument intoDoc, Element intoElement, Element from); public static void copyElements(StructuredDocument intoDoc, Element intoElement, Element from); }
Get JXTA in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.