public class CmsXmlUpdateAction
extends java.lang.Object
This class was written to avoid writing huge switch-case blocks in the XML configuration updater classes. Instead, a map from xpaths to instances of subclasses of this class can be used.
| 构造器和说明 |
|---|
CmsXmlUpdateAction() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
executeUpdate(org.dom4j.Document doc,
java.lang.String xpath,
boolean forReal) |
public boolean executeUpdate(org.dom4j.Document doc,
java.lang.String xpath,
boolean forReal)
doc - the document to be updatedxpath - the path at which the update should take placeforReal - true if the update is for realA_CmsSetupXmlUpdate.executeUpdate(Document, String, boolean)