Package org.apache.axis2.databinding

Examples of org.apache.axis2.databinding.Serializer


                DeserializerFactory dser = tmr.getDeserializerFactory(type);
                elDesc.setDeserializerFactory(dser);
            }

            if (elDesc.getRawSerializer() == null) {
                Serializer ser = tmr.getSerializer(type);
                elDesc.setSerializer(ser);
            }

            if (addDesc)
                desc.addField(elDesc);
View Full Code Here


    }

    private void myRegisterSimple(QName xmlType, Class javaType) {
        DeserializerFactory dser = new SimpleDeserializerFactory(javaType,
                                                                 xmlType);
        Serializer ser = new SimpleSerializer();
        registerMapping(javaType, xmlType, ser, dser);
    }
View Full Code Here

                DeserializerFactory dser = tmr.getDeserializerFactory(type);
                elDesc.setDeserializerFactory(dser);
            }

            if (elDesc.getRawSerializer() == null) {
                Serializer ser = tmr.getSerializer(type);
                elDesc.setSerializer(ser);
            }

            if (addDesc)
                desc.addField(elDesc);
View Full Code Here

    }

    private void myRegisterSimple(QName xmlType, Class javaType) {
        DeserializerFactory dser = new SimpleDeserializerFactory(javaType,
                                                                 xmlType);
        Serializer ser = new SimpleSerializer();
        registerMapping(javaType, xmlType, ser, dser);
    }
View Full Code Here

                DeserializerFactory dser = tmr.getDeserializerFactory(type);
                elDesc.setDeserializerFactory(dser);
            }

            if (elDesc.getRawSerializer() == null) {
                Serializer ser = tmr.getSerializer(type);
                elDesc.setSerializer(ser);
            }

            if (addDesc)
                desc.addField(elDesc);
View Full Code Here

    }

    private void myRegisterSimple(QName xmlType, Class javaType) {
        DeserializerFactory dser = new SimpleDeserializerFactory(javaType,
                                                                 xmlType);
        Serializer ser = new SimpleSerializer();
        registerMapping(javaType, xmlType, ser, dser);
    }
View Full Code Here

        Iterator elements = typeDesc.getElementDescs();
        while (elements.hasNext()) {
            ElementDesc desc = (ElementDesc) elements.next();
            Object fieldValue = desc.getValue(object);
            Serializer ser = desc.getSerializer();
            QName qname = desc.getQName();
            context.serializeElement(qname, fieldValue, ser);
        }

        context.getWriter().writeEndElement();
View Full Code Here

            deploymentFileData.setClassLoader(isDirectory, getClass().getClassLoader(),
                    (File) cfgCtx.getAxisConfiguration().getParameterValue(
                            Constants.Configuration.ARTIFACTS_TEMP_DIR),
                    cfgCtx.getAxisConfiguration().isChildFirstClassLoading());

            DeploymentClassLoader urlCl
                = (DeploymentClassLoader)deploymentFileData.getClassLoader();
            Thread.currentThread().setContextClassLoader(urlCl);

            // StartupFactory registration
            for (StartupFactory factory : getProviders(StartupFactory.class, urlCl)) {
View Full Code Here

    private void handleException(String message, Exception e) throws DeploymentException {
        if (log.isDebugEnabled()) {
            log.debug(message, e);
        }
        throw new DeploymentException(message, e);
    }
View Full Code Here

    private void handleException(String message, Throwable t) throws DeploymentException {
        if (log.isDebugEnabled()) {
            log.debug(message, t);
        }
        throw new DeploymentException(message, t);
    }
View Full Code Here

TOP

Related Classes of org.apache.axis2.databinding.Serializer

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.