public class DomElementReplacer extends DomParser
The element name, that is seached for, may exist in any namespace. The replaced element is changed to be within the namespace of the found element, before insertion in the destination document.
Constructor and Description |
---|
DomElementReplacer() |
Modifier and Type | Method and Description |
---|---|
static Element |
cloneElementAndSetNamespace(Document destDocument,
Element source,
String newNamespaceUri) |
static boolean |
contains(Element doc,
String elementName) |
static void |
replace(Element doc,
String elementName,
Element replace) |
from, from, getElementFromXPath, getElementFromXPath, getElementsFromXPath, getElementsFromXPath, getExpression, getNodesFromXPath, getNodesFromXPath, toElementList