Package de.dfki.util.xmlrpc.XmlRpc

Examples of de.dfki.util.xmlrpc.XmlRpc.Type


    }

    public Type convertToXmlRpcRepresentationClass( Class<?> userRepClass )
        throws TypeConversionException
    {
        final Type t = mapJavaTypeToXmlRpcType( userRepClass );
       
        if (t == null && !userRepClass.equals( void.class ))
            throw( new TypeConversionException( "Cannot find a XML-RPC compliant type for class " + userRepClass ) );
       
        return( t );
View Full Code Here


        {
            apiParameterClass = getClassFromType( apiParameterType );
        }
       
        //try a std mapping
        Type xmlRpcType = StandardXmlRpcTypeConverter.mapJavaTypeToXmlRpcType( apiParameterClass );
       

        boolean isXmlRpcCompatible = false;
       
        if (xmlRpcType != null || Object.class.equals( apiParameterClass )  )
View Full Code Here

    {
        assert apiParam != null;
       
        Object userRepValue = null;
        final Class<?> xmlRpcRepClass = parameterValueInXmlRpcRep.getClass();
        final Type paramXmlRpcType = apiParam.getXmlRpcType();
        final Class<?> apiRepClass = apiParam.getApiRepresentationClass();
        final boolean isNullMaskValue = isNullMaskValue( parameterValueInXmlRpcRep ) && XmlRpc.usesAutomaticNullMasking();
       
        //void type?
        if (apiParam.getXmlRpcType() == Type.NONE)
View Full Code Here

TOP

Related Classes of de.dfki.util.xmlrpc.XmlRpc.Type

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.