public class FieldRenamingDocumentProcessor extends Object implements DocumentProcessor
DocumentProcessor that renames elements or fields based on mappings, where a mapping is of the form:
XPath of fields to rename -> new field name.| Constructor and Description |
|---|
FieldRenamingDocumentProcessor() |
public org.dom4j.Document process(org.dom4j.Document document,
File file,
String rootFolder)
DocumentProcessorprocess in interface DocumentProcessordocument - the DOMfile - the XML filerootFolder - the root folder where this file is locatedCopyright © 2016 CrafterCMS. All Rights Reserved.