]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.databoard/src/org/simantics/databoard/serialization/SerializerScheme.java
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.databoard / src / org / simantics / databoard / serialization / SerializerScheme.java
index 35079f37f659cf1b1452123ea4d8c97caabc261c..3a2e26a37739604be5b6a047f14417acbd48f81f 100644 (file)
@@ -1,42 +1,42 @@
-package org.simantics.databoard.serialization;\r
-\r
-import org.simantics.databoard.binding.Binding;\r
-\r
-/**\r
- * Serialization scheme creates serializers for binding requests.\r
- * \r
- * {@link DefaultSerializerFactory} is a serialization scheme that follows\r
- * Databoard serialization format specification. It can create serialization\r
- * for any binding. \r
- * \r
- * @author Toni Kalajainen\r
- */\r
-public interface SerializerScheme {\r
-\r
-       /**\r
-        * Get binding of a data type\r
-        * \r
-        * @param binding\r
-        * @return binding \r
-        * @throws SerializerConstructionException if data type is not supported\r
-        */\r
-       Serializer getSerializer(Binding binding) throws SerializerConstructionException;\r
-\r
-       /**\r
-        * Get binding of a data type\r
-        * \r
-        * @param binding\r
-        * @return binding \r
-        * @throws RuntimeSerializerConstructionException if data type is not supported\r
-        */\r
-       Serializer getSerializerUnchecked(Binding binding) throws RuntimeSerializerConstructionException;\r
-\r
-       /**\r
-        * Tests if the scheme supports a binding\r
-        * \r
-        * @param binding\r
-        * @return true if the binding is supported by the scheme\r
-        */\r
-       boolean supportsBinding(Binding binding);\r
-       \r
-}\r
+package org.simantics.databoard.serialization;
+
+import org.simantics.databoard.binding.Binding;
+
+/**
+ * Serialization scheme creates serializers for binding requests.
+ * 
+ * {@link DefaultSerializerFactory} is a serialization scheme that follows
+ * Databoard serialization format specification. It can create serialization
+ * for any binding. 
+ * 
+ * @author Toni Kalajainen
+ */
+public interface SerializerScheme {
+
+       /**
+        * Get binding of a data type
+        * 
+        * @param binding
+        * @return binding 
+        * @throws SerializerConstructionException if data type is not supported
+        */
+       Serializer getSerializer(Binding binding) throws SerializerConstructionException;
+
+       /**
+        * Get binding of a data type
+        * 
+        * @param binding
+        * @return binding 
+        * @throws RuntimeSerializerConstructionException if data type is not supported
+        */
+       Serializer getSerializerUnchecked(Binding binding) throws RuntimeSerializerConstructionException;
+
+       /**
+        * Tests if the scheme supports a binding
+        * 
+        * @param binding
+        * @return true if the binding is supported by the scheme
+        */
+       boolean supportsBinding(Binding binding);
+       
+}