java.lang.Object
de.uni_mannheim.informatik.dws.melt.matching_base.typetransformer.AbstractTypeTransformer<Alignment,URL>
de.uni_mannheim.informatik.dws.melt.yet_another_alignment_api.typetransformation.Alignment2URLTransformer
All Implemented Interfaces:
TypeTransformer<Alignment,URL>

public class Alignment2URLTransformer extends AbstractTypeTransformer<Alignment,URL>
  • Field Details

  • Constructor Details

    • Alignment2URLTransformer

      public Alignment2URLTransformer()
  • Method Details

    • transform

      public URL transform(Alignment value, Properties parameters) throws TypeTransformationException
      Description copied from interface: TypeTransformer
      Transforms the given value to the new type. There is only one instance of this TypeTransformer. So any attribute of the class is used in multiple transformations.
      Parameters:
      value - the given value to convert
      parameters - the parameters can contain any further hints for the transformation e.g. create OntModel with or without reasoning / in memory or in file etc.
      Returns:
      the transformed value
      Throws:
      TypeTransformationException - in case the transformation did not work
    • serializeAlignmentToTmpDir

      public static URL serializeAlignmentToTmpDir(Alignment alignment) throws IOException
      Throws:
      IOException