This extension point is used to specify an implementation for serializing specific types. Defines a serializer. A class that implements the interface ISerializer to provide an implementation for the serialization of a type. 0.1.0 <p> A serializer can be registered like this: <pre> <extension point="org.eclipse.papyrus.emf.facet.util.emf.core.serialization"> <serializer class="com.example.MyTypeSerializer"/> </extension> </pre> </p> <p> A serializer must implement the interface ISerializer<T> : <ul> <li>getType : return the type that can be serialized by this serializer (this is required for loading the class from the correct bundle). <li>serialize : takes a value and serializes it to a String <li>deserialize : takes a String and deserializes it back to a value </ul> </p> <p>See default serializers registered in plug-in "org.eclipse.papyrus.emf.facet.util.emf.core", defined in package "org.eclipse.papyrus.emf.facet.util.emf.core.serialization".</p> /***************************************************************************** * Copyright (c) 2011 Mia-Software. * * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License 2.0 * which accompanies this distribution, and is available at * https://www.eclipse.org/legal/epl-2.0/ * * SPDX-License-Identifier: EPL-2.0 * * Contributors: * Nicolas Bros (Mia-Software) - initial API and implementation * *****************************************************************************/