| java.lang.Object de.schlund.pfixcore.util.basicapp.helper.XmlUtils
XmlUtils | public class XmlUtils (Code) | | Like @see de.schlund.pfixcore.util.basicapp.helper.StringUtils
there also exists a XmlUtils Object with static methods
(it's this one ;o) to convert the current dom
author: Ralf Rapude version: $Id: XmlUtils.java 1089 2004-06-07 14:04:39Z rrapude $ |
changeAttributes | public static Document changeAttributes(Document domDoc, String tagName, String attribute, String newValue, boolean secNodeListItem)(Code) | | Changing the attribute of a document in order to apply
the changes made by the user
Parameters: domDoc - The current document Parameters: tagName - The name of the tag changing the related attribute Parameters: attribute - The attribtute to change Parameters: secNodeListItem - TODO Parameters: docName - The name of the document in order toavoid problems if a node occurs in different files with thesame name |
changeTextValues | public static Document changeTextValues(Document domDoc, String tagName, String value, boolean firstChild)(Code) | | Changing the text nodes of the config files
Parameters: domDoc - a Document containing the dom Parameters: tagName - the tag to change Parameters: value - The nodes new content |
|
|