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
Modifier and TypeMethodDescriptionboolean
Transforms the given document and returns true to pass to the next transformer or false to exit from the transformation chain.
-
Method Details
-
transform
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
-