Package com.sun.xml.bind.api

Examples of com.sun.xml.bind.api.CompositeStructure


          List<ParameterImpl> childParameters = ((WrapperParameter)parameter).getWrapperChildren();
          if(parameterObjects.length != childParameters.size())
            throw new RuntimeException("Invalid count of parameters");
          Object  obj  = null;
          if(style == Style.RPC){
            CompositeStructure cs = new CompositeStructure();
            cs.values  = parameterObjects;
            cs.bridges  = new Bridge[childParameters.size()];
            for(ParameterImpl parameterChild : childParameters){
              cs.bridges[parameterChild.getIndex()] = parameterChild.getBridge();
            }
View Full Code Here


        /**
         * Packs a bunch of arguments intoa {@link CompositeStructure}.
         */
        CompositeStructure build(Object[] methodArgs, Object returnValue) {
            CompositeStructure cs = new CompositeStructure();
            cs.bridges = parameterBridges;
            cs.values = new Object[parameterBridges.length];

            // fill in wrapped parameters from methodArgs
            for( int i=indices.length-1; i>=0; i-- ) {
View Full Code Here

        /**
         * Packs a bunch of arguments intoa {@link CompositeStructure}.
         */
        CompositeStructure build(Object[] methodArgs) {
            CompositeStructure cs = new CompositeStructure();
            cs.bridges = parameterBridges;
            cs.values = new Object[parameterBridges.length];

            // fill in wrapped parameters from methodArgs
            for( int i=indices.length-1; i>=0; i-- ) {
View Full Code Here

        return bridge.hashCode();
    }

    static CompositeStructure convert(Object o) {
        WrapperComposite w = (WrapperComposite) o;
        CompositeStructure cs = new CompositeStructure();
        cs.values = w.values;
        cs.bridges = new Bridge[w.bridges.length];
        for (int i = 0; i < cs.bridges.length; i++) {
            cs.bridges[i] = ((BridgeWrapper) w.bridges[i]).getBridge();
        }
View Full Code Here

TOP

Related Classes of com.sun.xml.bind.api.CompositeStructure

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.