Interface CDMFrSyncTransformer
- All Known Implementing Classes:
DefaultCDMFrSyncTransformer
public interface CDMFrSyncTransformer
Interface for sync transformer objects.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Analyze the document and tell if it's support or not by the current transformer.Transform the document to a generic document designed for Ametys importers and synchronizers.
-
Method Details
-
supports
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, ProcessingExceptionTransform 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.
-