public class NodeCopier
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.lang.Object |
copyAttribute(Navigator from,
Updater to,
java.lang.Object toDoc,
java.lang.Object original)
Copies an attribute completely.
|
static java.lang.Object |
copyAttribute(Navigator from,
Updater to,
java.lang.Object toDoc,
java.lang.Object original,
java.lang.String newValue)
Copies an attribute but assigns it a new value.
|
static java.lang.Object |
copyComment(Navigator from,
Updater to,
java.lang.Object toDoc,
java.lang.Object original) |
static java.lang.Object |
copyElement(Navigator from,
Updater to,
java.lang.Object toDoc,
java.lang.Object original,
boolean template) |
static java.lang.Object |
copyLiteral(Navigator from,
Updater to,
java.lang.Object toDoc,
java.lang.Object original,
boolean template)
Copies a node in the xupdate document document as an unplaced node for the source document.
|
static java.lang.Object |
copyText(Navigator from,
Updater to,
java.lang.Object toDoc,
java.lang.Object original) |
public static java.lang.Object copyLiteral(Navigator from, Updater to, java.lang.Object toDoc, java.lang.Object original, boolean template) throws JaxenException, UpdateException
JaxenException
UpdateException
public static java.lang.Object copyText(Navigator from, Updater to, java.lang.Object toDoc, java.lang.Object original) throws UpdateException
UpdateException
public static java.lang.Object copyComment(Navigator from, Updater to, java.lang.Object toDoc, java.lang.Object original) throws UpdateException
UpdateException
public static java.lang.Object copyAttribute(Navigator from, Updater to, java.lang.Object toDoc, java.lang.Object original) throws UpdateException
UpdateException
public static java.lang.Object copyAttribute(Navigator from, Updater to, java.lang.Object toDoc, java.lang.Object original, java.lang.String newValue) throws UpdateException
UpdateException
public static java.lang.Object copyElement(Navigator from, Updater to, java.lang.Object toDoc, java.lang.Object original, boolean template) throws JaxenException, UpdateException
JaxenException
UpdateException