Class SchemaRemover

java.lang.Object
org.nuxeo.ecm.core.io.impl.transformers.SchemaRemover
All Implemented Interfaces:
DocumentTransformer

public class SchemaRemover extends Object implements DocumentTransformer
Removes a Schema
Since:
7.4
  • Field Details

    • docType

      protected final String docType
    • schema

      protected final String schema
  • Constructor Details

    • SchemaRemover

      public SchemaRemover(String docType, String schema)
  • Method Details

    • 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 interface DocumentTransformer
      Parameters:
      xdoc - the document to transform
      Returns:
      true to continue with the next transformer or false to exit transformation chain
      Throws:
      IOException