Class SchemaRenamer
- java.lang.Object
-
- org.nuxeo.ecm.core.io.impl.transformers.SchemaRenamer
-
- All Implemented Interfaces:
DocumentTransformer
public class SchemaRenamer extends Object implements DocumentTransformer
Renames a schema- Since:
- 7.4
-
-
Constructor Summary
Constructors Constructor Description SchemaRenamer(String srcSchema, String dstSchema, String dstPrefix)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
transform(ExportedDocument xdoc)
Transforms the given document and returns true to pass to the next transformer or false to exit from the transformation chain.
-
-
-
Constructor Detail
-
SchemaRenamer
public SchemaRenamer(String srcSchema, String dstSchema, String dstPrefix)
-
-
Method Detail
-
transform
public boolean transform(ExportedDocument xdoc) throws IOException
Description copied from interface:DocumentTransformer
Transforms the given document and returns true to pass to the next transformer or false to exit from the transformation chain.- Specified by:
transform
in interfaceDocumentTransformer
- Parameters:
xdoc
- the document to transform- Returns:
- true to continue with the next transformer or false to exit transformation chain
- Throws:
IOException
-
-