--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/server/src/app/Libraries/Transcript/TranscriptConverterInterface.php Sat May 28 11:49:38 2016 +0200
@@ -0,0 +1,37 @@
+<?php
+namespace CorpusParole\Libraries\Transcript;
+
+interface TranscriptConverterInterface {
+
+ /**
+ * parse the source document.
+ */
+ function parseSource();
+
+ /**
+ * Return the id of the media used as reference.
+ */
+ function getMediaRefId();
+
+ /**
+ * return the source title, can return null.
+ */
+ function getSourceTitle();
+
+ /**
+ * build the various document parts
+ */
+ function buildMedias();
+ function buildResources();
+ function buildLists();
+ function buildAnnotationTypes();
+ function buildAnnotations();
+
+ /**
+ * Convert xml to json.
+ * return an PHP array ready for serialization
+ */
+ function convertToJson();
+
+
+}
\ No newline at end of file