Class SchemaRenamer
java.lang.Object
org.nuxeo.ecm.core.io.impl.transformers.SchemaRenamer
- All Implemented Interfaces:
DocumentTransformer
Renames a schema
- Since:
- 7.4
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
transform
(ExportedDocument xdoc) Transforms the given document and returns true to pass to the next transformer or false to exit from the transformation chain.
-
Field Details
-
srcSchema
-
dstSchema
-
dstPrefix
-
-
Constructor Details
-
SchemaRenamer
-
-
Method Details
-
transform
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
-