Package org.jibx.binding.classes

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


                mb.appendLoadConstant(map.getMappingName());
                mb.appendCallInterface(GETUNMARSHALLER_METHOD,
                    GETUNMARSHALLER_SIGNATURE);
                mb.appendDUP();
                mb.loadContext();
                mb.appendCallInterface(UNMARSHALLERPRESENT_METHOD,
                    UNMARSHALLERPRESENT_SIGNATURE);
                iffounds[i] = mb.appendIFNE(this);
                mb.appendPOP();
            }
           
View Full Code Here


                BranchTarget found = mb.appendTargetACONST_NULL();
                for (int i = 0; i < iffounds.length; i++) {
                    iffounds[i].setTarget(found, mb);
                }
                mb.loadContext();
                mb.appendCallInterface(UNMARSHALLERUNMARSHAL_METHOD,
                    UNMARSHALLERUNMARSHAL_SIGNATURE);
                mb.appendReturn("java.lang.Object");
            }
           
            // fall into instance creation if this mapping reference
View Full Code Here

          1, MARSHALLER_INTERFACE);
     
      // create call to marshalling context method with class name
      mb.loadContext();
      mb.appendLoadConstant(cf.getName());
      mb.appendCallInterface(GETMARSHALLER_METHOD, GETMARSHALLER_SIGNATURE);
     
      // call the returned marshaller with this object and the marshalling
      //  context as parameters
      mb.loadObject();
      mb.loadContext();
View Full Code Here

     
      // 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
      clas.getUniqueNamed(mb);
View Full Code Here

          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
      //  context as parameters
      mb.loadObject();
View Full Code Here

     
      // 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
      clas.getUniqueNamed(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.