Package org.mule.transformer.types

Examples of org.mule.transformer.types.CollectionDataType


    public static org.ibeans.api.DataType convertMuleToIBeans(DataType muleDT) throws MimeTypeParseException
    {
    //Both Mule and iBeans have DataType implementations, need to wrap the Mule DataType to work with iBeans
        if(muleDT instanceof CollectionDataType)
        {
            CollectionDataType dt = (CollectionDataType)muleDT;
            return org.ibeans.impl.support.datatype.DataTypeFactory.create(dt.getType(), dt.getItemType(), new MimeType(dt.getMimeType()));
        }
        else
        {
            return org.ibeans.impl.support.datatype.DataTypeFactory.create(muleDT.getType(), new MimeType(muleDT.getMimeType()));
        }
View Full Code Here

TOP

Related Classes of org.mule.transformer.types.CollectionDataType

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.