Package org.nuxeo.ecm.core.io
Interface DocumentTransformer
-
- All Known Implementing Classes:
DoctypeToFacetTranslator
,FacetRemover
,FieldMapper
,PropertyDeprecationRemover
,SchemaRemover
,SchemaRenamer
public interface DocumentTransformer
A document transformer.- Author:
- Bogdan Stefanescu
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
transform(ExportedDocument doc)
Transforms the given document and returns true to pass to the next transformer or false to exit from the transformation chain.
-
-
-
Method Detail
-
transform
boolean transform(ExportedDocument doc) throws IOException
Transforms the given document and returns true to pass to the next transformer or false to exit from the transformation chain.- Parameters:
doc
- the document to transform- Returns:
- true to continue with the next transformer or false to exit transformation chain
- Throws:
IOException
-
-