Bug 4202: Migrate also toaster to use mdsal project
[controller.git] / opendaylight / commons / concepts / src / main / java / org / opendaylight / controller / concepts / transform / InputClassBasedTransformer.java
index 1ad849bddc1de9e78989d96cfddae8216f6b5ab5..1bec9bceb639aab793ac88a6f41cf38596e14f55 100644 (file)
@@ -1,38 +1,38 @@
-/*\r
- * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.\r
- *\r
- * This program and the accompanying materials are made available under the\r
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
- * and is available at http://www.eclipse.org/legal/epl-v10.html\r
- */\r
-\r
-package org.opendaylight.controller.concepts.transform;\r
-\r
-/**\r
- * Input class based transformer\r
- *\r
- * {@link Transformer} which accepts / transforms only specific classes of\r
- * input, and is useful if the selection of transformer should be based on the\r
- * class of the input and there is one-to-one mapping between input class and\r
- * transformer.\r
- *\r
- *\r
- * @author Tony Tkacik\r
- *\r
- * @param <S>\r
- *            Common supertype of input\r
- * @param <I>\r
- *            Concrete type of input\r
- * @param <P>\r
- *            Product\r
- */\r
-public interface InputClassBasedTransformer<S, I extends S, P> extends\r
-        Transformer<I, P> {\r
-\r
-    /**\r
-     * Returns an {@link Class} of input which is acceptable for transformation.\r
-     *\r
-     * @return {@link Class} of input which is acceptable for transformation.\r
-     */\r
-    Class<? extends S> getInputClass();\r
-}\r
+/*
+ * Copyright (c) 2013 Cisco Systems, Inc. and others.  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
+ */
+
+package org.opendaylight.controller.concepts.transform;
+
+/**
+ * Input class based transformer
+ *
+ * {@link Transformer} which accepts / transforms only specific classes of
+ * input, and is useful if the selection of transformer should be based on the
+ * class of the input and there is one-to-one mapping between input class and
+ * transformer.
+ *
+ *
+ * @author Tony Tkacik
+ *
+ * @param <S>
+ *            Common supertype of input
+ * @param <I>
+ *            Concrete type of input
+ * @param <P>
+ *            Product
+ */
+public interface InputClassBasedTransformer<S, I extends S, P> extends
+        Transformer<I, P> {
+
+    /**
+     * Returns an {@link Class} of input which is acceptable for transformation.
+     *
+     * @return {@link Class} of input which is acceptable for transformation.
+     */
+    Class<? extends S> getInputClass();
+}