Package org.jibx.binding.classes

Examples of org.jibx.binding.classes.ContextMethodBuilder.targetNext()


        mb.appendCallInit(MethodBuilder.FRAMEWORK_EXCEPTION_CLASS,
            MethodBuilder.EXCEPTION_CONSTRUCTOR_SIGNATURE1);
        mb.appendThrow();
        
        // for valid extension mapping, just call the marshaller
        mb.targetNext(ifvalid);
        mb.loadObject();
        mb.loadContext();
        mb.appendCallInterface(MARSHALLERMARSHAL_METHOD,
            MARSHALLERMARSHAL_SIGNATURE);
        mb.appendReturn();
View Full Code Here


                mb.appendReturn("java.lang.Object");
            }
           
            // fall into instance creation if this mapping reference
            if (ifthis != null) {
                mb.targetNext(ifthis);
            }
           
        } else if (m_isAbstract) {
           
            // throw an exception when no instance supplied
View Full Code Here

            mb.storeObject();
           
        }
       
        // define unmarshallings for child mappings of this mapping
        mb.targetNext(ifnnull);
        ArrayList maps = m_defContext.getMappings();
        if (maps != null && maps.size() > 0) {
            for (int i = 0; i < maps.size(); i++) {
                IMapping map = (IMapping)maps.get(i);
                if (!map.isAbstract() || map.isBase()) {
View Full Code Here

            if (haveobj) {
                mb.storeObject();
            }
           
            // if preset method supplied add code to call it
            mb.targetNext(haveinst);
//            ** disable for now; can't take out of unmarshal methods, since
//            create not always called **
//            if (m_preSetMethod != null) {
//                genUserMethodCall(true, m_preSetMethod, mb);
//            }
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.