public final class JDomUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static org.jdom2.Element |
rewriteElement(String name,
String value,
org.jdom2.Element root,
org.jdom2.Namespace namespace)
rewriteElement.
|
static void |
rewriteValue(org.jdom2.Element element,
String value)
Updates the text value of the given element.
|
public static void rewriteValue(org.jdom2.Element element,
String value)
element - The element to update, must not be null.value - The text string to set, must not be null.Copyright © 2002–2024 The Apache Software Foundation. All rights reserved.