public class CmsXmlCleanUpSearchConfiguration extends A_CmsXmlSearch
构造器和说明 |
---|
CmsXmlCleanUpSearchConfiguration() |
限定符和类型 | 方法和说明 |
---|---|
protected boolean |
executeUpdate(org.dom4j.Document document,
java.lang.String xpath,
boolean forReal)
Executes the adding/updating changes on the given document.
|
java.lang.String |
getName()
Returns the nice name for the change.
|
protected java.util.List<java.lang.String> |
getXPathsToRemove()
Returns a list of xpaths for the nodes to remove.
|
createAnalyzer, createDocType, createField, createFieldConfig, createFieldMapping, createIndex, createIndexSource, getXmlFilename
createElementFromXml, execute, getCodeToChange, getCommonPath, getXPathsToUpdate, prepareDoc, updateDoc, validate
public java.lang.String getName()
I_CmsSetupXmlUpdate
I_CmsSetupXmlUpdate.getName()
protected java.util.List<java.lang.String> getXPathsToRemove()
A_CmsSetupXmlUpdate
getXPathsToRemove
在类中 A_CmsSetupXmlUpdate
A_CmsSetupXmlUpdate.getXPathsToRemove()
protected boolean executeUpdate(org.dom4j.Document document, java.lang.String xpath, boolean forReal)
A_CmsSetupXmlUpdate
Only needs to be overriden if A_CmsSetupXmlUpdate.getXPathsToUpdate()
is not empty.
executeUpdate
在类中 A_CmsSetupXmlUpdate
document
- the document to apply the changes toxpath
- the xpath to execute the changes forforReal
- is false
, it is only on a empty doc to display the changes to the userA_CmsSetupXmlUpdate.executeUpdate(org.dom4j.Document, java.lang.String, boolean)