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