Interface CDMFrSyncTransformer
-
- All Known Implementing Classes:
DefaultCDMFrSyncTransformer
public interface CDMFrSyncTransformer
Interface for sync transformer objects.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
supports(Document document)
Analyze the document and tell if it's support or not by the current transformer.Document
transform(Document document, Map<String,Object> parameters)
Transform the document to a generic document designed for Ametys importers and synchronizers.
-
-
-
Method Detail
-
supports
boolean supports(Document document)
Analyze the document and tell if it's support or not by the current transformer.- Parameters:
document
- The document to analyze.- Returns:
- TRUE if the document is supported by the transformer, otherwise FALSE.
-
transform
Document transform(Document document, Map<String,Object> parameters) throws IOException, SAXException, ProcessingException
Transform the document to a generic document designed for Ametys importers and synchronizers.- Parameters:
document
- The document to transform.parameters
- additional parameters for transformation- Returns:
- The transformed document.
- Throws:
IOException
- if an error occurs.SAXException
- if an error occurs.ProcessingException
- if an error occurs.
-
-