Package org.switchyard.serial.spi

Examples of org.switchyard.serial.spi.SerializationProvider


     * @param graph if graphing should be enabled
     * @return the serializer
     */
    public static final Serializer create(FormatType format, CompressionType compression, boolean graph) {
        Serializer serializer = null;
        SerializationProvider provider = SerializationProvider.getPrimaryProvider(format);
        if (provider != null) {
            serializer = provider.newSerializer(format);
            if (graph) {
                serializer = new GraphSerializer(serializer);
            }
            if (compression != null) {
                if (CompressionType.GZIP.equals(compression)) {
View Full Code Here

TOP

Related Classes of org.switchyard.serial.spi.SerializationProvider

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.