Examples of loadContext()


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

      mb.appendCallInterface(GETMARSHALLER_METHOD, GETMARSHALLER_SIGNATURE);
     
      // call the returned marshaller with this object and the marshalling
      //  context as parameters
      mb.loadObject();
      mb.loadContext();
      mb.appendCallInterface(MARSHALLERMARSHAL_METHOD,
          MARSHALLERMARSHAL_SIGNATURE);
      mb.appendReturn();
     
      // add method to class
View Full Code Here

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

          (UNMARSHALLABLE_METHODNAME, UNMARSHALLABLE_SIGNATURE, cf,
          Constants.ACC_PUBLIC, 0, clas.getClassFile().getName(),
          1, UNMARSHALLER_INTERFACE);
     
      // create call to unmarshalling context method with class name
      mb.loadContext();
        mb.appendLoadConstant(cf.getName());
      mb.appendCallInterface(GETUNMARSHALLER_METHOD,
          GETUNMARSHALLER_SIGNATURE);
     
      // call the returned unmarshaller with this object and the unmarshalling
View Full Code Here

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

          GETUNMARSHALLER_SIGNATURE);
     
      // call the returned unmarshaller with this object and the unmarshalling
      //  context as parameters
      mb.loadObject();
      mb.loadContext();
      mb.appendCallInterface(UNMARSHALLERUNMARSHAL_METHOD,
          UNMARSHALLERUNMARSHAL_SIGNATURE);
      mb.appendReturn();
     
      // add the method to class
View Full Code Here

Examples of org.jibx.binding.classes.MarshalBuilder.loadContext()

            if (m_preGetMethod != null) {
                genUserMethodCall(false, m_preGetMethod, meth);
            }
           
            // push object being marshalled to marshaller stack
            meth.loadContext();
            meth.loadObject();
            meth.appendCallVirtual(MARSHAL_PUSHOBJECTMETHOD,
                PUSHOBJECT_SIGNATURE);
           
            // generate actual marshalling code
View Full Code Here

Examples of org.jibx.binding.classes.MarshalBuilder.loadContext()

            meth.loadObject();
            meth.appendCallVirtual(MARSHAL_PUSHOBJECTMETHOD,
                PUSHOBJECT_SIGNATURE);
           
            // generate actual marshalling code
            meth.loadContext();
            m_component.genAttributeMarshal(meth);
           
            // pop object from stack
            meth.loadContext();
            meth.appendCallVirtual(MARSHAL_POPOBJECTMETHOD,
View Full Code Here

Examples of org.jibx.binding.classes.MarshalBuilder.loadContext()

            // generate actual marshalling code
            meth.loadContext();
            m_component.genAttributeMarshal(meth);
           
            // pop object from stack
            meth.loadContext();
            meth.appendCallVirtual(MARSHAL_POPOBJECTMETHOD,
                POPOBJECT_SIGNATURE);
           
            // finish and add constructed method to class
            meth.appendReturn();
View Full Code Here

Examples of org.jibx.binding.classes.MarshalBuilder.loadContext()

            if (m_preGetMethod != null && !hasAttribute()) {
                genUserMethodCall(false, m_preGetMethod, meth);
            }
           
            // push object being marshalled to marshaller stack
            meth.loadContext();
            meth.loadObject();
            meth.appendCallVirtual(MARSHAL_PUSHOBJECTMETHOD,
                PUSHOBJECT_SIGNATURE);
           
            // generate actual marshalling code
View Full Code Here

Examples of org.jibx.binding.classes.MarshalBuilder.loadContext()

            meth.loadObject();
            meth.appendCallVirtual(MARSHAL_PUSHOBJECTMETHOD,
                PUSHOBJECT_SIGNATURE);
           
            // generate actual marshalling code
            meth.loadContext();
            if (!m_fakeContent) {
                m_component.genContentMarshal(meth);
            }
           
            // pop object from stack
View Full Code Here

Examples of org.jibx.binding.classes.MarshalBuilder.loadContext()

            if (!m_fakeContent) {
                m_component.genContentMarshal(meth);
            }
           
            // pop object from stack
            meth.loadContext();
            meth.appendCallVirtual(MARSHAL_POPOBJECTMETHOD,
                POPOBJECT_SIGNATURE);
           
            // finish and add constructed method to class
            meth.appendReturn();
View Full Code Here

Examples of org.jibx.binding.classes.UnmarshalBuilder.loadContext()

                meth.loadObject();
                genUserMethodCall(true, m_preSetMethod, meth);
            }
           
            // push object being unmarshalled to unmarshaller stack
            meth.loadContext();
            meth.loadObject();
            String mname = hasAttribute() ? UNMARSHAL_PUSHOBJECTMETHOD :
                UNMARSHAL_PUSHTRACKEDOBJECTMETHOD;
            meth.appendCallVirtual(mname, PUSHOBJECT_SIGNATURE);
           
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.