-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);
+
+}