]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.message/src/org/simantics/message/IReferenceSerializer.java
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.message / src / org / simantics / message / IReferenceSerializer.java
index 4239a60252475cbe724989ad226b6c3594e7949c..af02e58a23f6188a58b83b52b4ac101a992728c2 100644 (file)
@@ -1,41 +1,41 @@
-/*******************************************************************************\r
- * Copyright (c) 2007, 2010 Association for Decentralized Information Management\r
- * in Industry THTH ry.\r
- * All rights reserved. This program and the accompanying materials\r
- * are made available under the terms of the Eclipse Public License v1.0\r
- * which accompanies this distribution, and is available at\r
- * http://www.eclipse.org/legal/epl-v10.html\r
- *\r
- * Contributors:\r
- *     VTT Technical Research Centre of Finland - initial API and implementation\r
- *******************************************************************************/\r
-package org.simantics.message;\r
-\r
-import java.net.URI;\r
-\r
-/**\r
- * @author Tuukka Lehtonen\r
- */\r
-public interface IReferenceSerializer {\r
-\r
-    /**\r
-     * @param o\r
-     * @return\r
-     */\r
-    boolean handles(Object o);\r
-\r
-    /**\r
-     * @param o\r
-     * @return\r
-     * @throws ReferenceSerializationException\r
-     */\r
-    URI serialize(Object o) throws ReferenceSerializationException;\r
-\r
-    /**\r
-     * @param s\r
-     * @return\r
-     * @throws ReferenceSerializationException\r
-     */\r
-    Object deserialize(URI data) throws ReferenceSerializationException;\r
-\r
-}\r
+/*******************************************************************************
+ * Copyright (c) 2007, 2010 Association for Decentralized Information Management
+ * in Industry THTH ry.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ *     VTT Technical Research Centre of Finland - initial API and implementation
+ *******************************************************************************/
+package org.simantics.message;
+
+import java.net.URI;
+
+/**
+ * @author Tuukka Lehtonen
+ */
+public interface IReferenceSerializer {
+
+    /**
+     * @param o
+     * @return
+     */
+    boolean handles(Object o);
+
+    /**
+     * @param o
+     * @return
+     * @throws ReferenceSerializationException
+     */
+    URI serialize(Object o) throws ReferenceSerializationException;
+
+    /**
+     * @param s
+     * @return
+     * @throws ReferenceSerializationException
+     */
+    Object deserialize(URI data) throws ReferenceSerializationException;
+
+}