public class SchemaRemover extends Object implements DocumentTransformer
Modifier and Type | Field and Description |
---|---|
protected String |
docType |
protected String |
schema |
Constructor and Description |
---|
SchemaRemover(String docType,
String schema) |
Modifier and Type | Method and 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.
|
public SchemaRemover(String docType, String schema)
public boolean transform(ExportedDocument xdoc) throws IOException
DocumentTransformer
transform
in interface DocumentTransformer
xdoc
- the document to transformIOException
Copyright © 2016 Nuxeo SA. All rights reserved.