Interface CDMFrSyncTransformer

All Known Implementing Classes:
DefaultCDMFrSyncTransformer

public interface CDMFrSyncTransformer
Interface for sync transformer objects.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    supports(Document document)
    Analyze the document and tell if it's support or not by the current transformer.
    transform(Document document, Map<String,Object> parameters)
    Transform the document to a generic document designed for Ametys importers and synchronizers.
  • Method Details

    • 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

      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.