Examples of PropertyDescriptorPlus


Examples of org.apache.axis2.jaxws.utility.PropertyDescriptorPlus

        }

        // Get the corresponsing objects from the jaxb bean
        ArrayList<Object> objList = new ArrayList<Object>();
        for (String childName : childNames) {
            PropertyDescriptorPlus propInfo = pdMap.get(childName);
            Object object = null;
            if (propInfo == null) {
                throw new JAXBWrapperException(
                      Messages.getMessage("JAXBWrapperErr6",
                      jaxbComplexTypeObj.getClass().getName(),
                      childName));
            }
            try {
                object = propInfo.get(jaxbComplexTypeObj);
            } catch (Throwable e) {
                if (log.isDebugEnabled()) {
                    log.debug("An exception " + e.getClass() +
                            "occurred while trying to call get() on " + propInfo);
                    log.debug("The corresponding xml child name is: " + childName);
View Full Code Here

Examples of org.apache.axis2.jaxws.utility.PropertyDescriptorPlus

            throw new JAXBWrapperException(t);
        }

        // Now set each object onto the jaxb object
        for (String childName : childNames) {
            PropertyDescriptorPlus propInfo = pdMap.get(childName);
            Object value = childObjects.get(childName);
            Class dclClass = declaredClassMap.get(childName);
            if (propInfo == null) {
                throw new JAXBWrapperException(Messages.getMessage("JAXBWrapperErr6",
                                                                   jaxbClass.getName(),
                                                                   childName));
            }
            try {
                propInfo.set(jaxbObject, value, dclClass);
            } catch (Throwable t) {

                if (log.isDebugEnabled()) {
                    log.debug("An exception " + t.getClass() +
                            "occurred while trying to call set() on  " + propInfo);
View Full Code Here

Examples of org.apache.axis2.jaxws.utility.PropertyDescriptorPlus

                                            List<String> xmlChildNames,
                                            Map<String, PropertyDescriptorPlus> pdMap)
    throws JAXBWrapperException {
        for (int i = 0; i < xmlChildNames.size(); i++) {
            String xmlChildName = xmlChildNames.get(i);
            PropertyDescriptorPlus pd = pdMap.get(xmlChildName);
            if (pd == null) {
                // Each xml child name must have a matching property. 
                if (log.isDebugEnabled()) {
                    log.debug(
                    "Error occurred trying to match an xml name to a child of a jaxb object");
View Full Code Here

Examples of org.apache.axis2.jaxws.utility.PropertyDescriptorPlus

        checkPropertyDescriptorMap(jaxbComplexTypeObj.getClass(), childNames, pdMap);

        // Get the corresponsing objects from the jaxb bean
        ArrayList<Object> objList = new ArrayList<Object>();
        for (String childName : childNames) {
            PropertyDescriptorPlus propInfo = pdMap.get(childName);
            Object object = null;
            try {
                object = propInfo.get(jaxbComplexTypeObj);
            } catch (Throwable e) {
                if (log.isDebugEnabled()) {
                    log.debug("An exception " + e.getClass() +
                            "occurred while trying to call get() on " + propInfo);
                    log.debug("The corresponding xml child name is: " + childName);
View Full Code Here

Examples of org.apache.axis2.jaxws.utility.PropertyDescriptorPlus

            throw new JAXBWrapperException(t);
        }

        // Now set each object onto the jaxb object
        for (String childName : childNames) {
            PropertyDescriptorPlus propInfo = pdMap.get(childName);
            Object value = childObjects.get(childName);
            try {
                propInfo.set(jaxbObject, value);
            } catch (Throwable t) {

                if (log.isDebugEnabled()) {
                    log.debug("An exception " + t.getClass() +
                            "occurred while trying to call set() on  " + propInfo);
View Full Code Here

Examples of org.apache.axis2.jaxws.utility.PropertyDescriptorPlus

        // The following code is slow, and doc/lit wrapped is in the main
        // performance flow.  So only do this check if debug is enabled.
        if (log.isDebugEnabled()) {
            for (int i = 0; i < xmlChildNames.size(); i++) {
                String xmlChildName = xmlChildNames.get(i);
                PropertyDescriptorPlus pd = pdMap.get(xmlChildName);
                if (pd == null) {
                    // Each xml child name must have a matching property. 
                   
                    log.debug(
                    "Error occurred trying to match an xml name to a child of a jaxb object");
View Full Code Here

Examples of org.apache.axis2.jaxws.utility.PropertyDescriptorPlus

        checkPropertyDescriptorMap(jaxbComplexTypeObj.getClass(), childNames, pdMap);

        // Get the corresponsing objects from the jaxb bean
        ArrayList<Object> objList = new ArrayList<Object>();
        for (String childName : childNames) {
            PropertyDescriptorPlus propInfo = pdMap.get(childName);
            Object object = null;
            try {
                object = propInfo.get(jaxbComplexTypeObj);
            } catch (Throwable e) {
                if (log.isDebugEnabled()) {
                    log.debug("An exception " + e.getClass() +
                            "occurred while trying to call get() on " + propInfo);
                    log.debug("The corresponding xml child name is: " + childName);
View Full Code Here

Examples of org.apache.axis2.jaxws.utility.PropertyDescriptorPlus

            throw new JAXBWrapperException(t);
        }

        // Now set each object onto the jaxb object
        for (String childName : childNames) {
            PropertyDescriptorPlus propInfo = pdMap.get(childName);
            Object value = childObjects.get(childName);
            try {
                propInfo.set(jaxbObject, value);
            } catch (Throwable t) {

                if (log.isDebugEnabled()) {
                    log.debug("An exception " + t.getClass() +
                            "occurred while trying to call set() on  " + propInfo);
View Full Code Here

Examples of org.apache.axis2.jaxws.utility.PropertyDescriptorPlus

        // The following code is slow, and doc/lit wrapped is in the main
        // performance flow.  So only do this check if debug is enabled.
        if (log.isDebugEnabled()) {
            for (int i = 0; i < xmlChildNames.size(); i++) {
                String xmlChildName = xmlChildNames.get(i);
                PropertyDescriptorPlus pd = pdMap.get(xmlChildName);
                if (pd == null) {
                    // Each xml child name must have a matching property. 
                   
                    log.debug(
                    "Error occurred trying to match an xml name to a child of a jaxb object");
View Full Code Here

Examples of org.apache.axis2.jaxws.utility.PropertyDescriptorPlus

        }

        // Get the corresponsing objects from the jaxb bean
        ArrayList<Object> objList = new ArrayList<Object>();
        for (String childName : childNames) {
            PropertyDescriptorPlus propInfo = pdMap.get(childName);
            Object object = null;
            if (propInfo == null) {
                throw new JAXBWrapperException(
                      Messages.getMessage("JAXBWrapperErr6",
                      jaxbComplexTypeObj.getClass().getName(),
                      childName));
            }
            try {
                object = propInfo.get(jaxbComplexTypeObj);
            } catch (Throwable e) {
                if (log.isDebugEnabled()) {
                    log.debug("An exception " + e.getClass() +
                            "occurred while trying to call get() on " + propInfo);
                    log.debug("The corresponding xml child name is: " + childName);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.