Examples of addParam()


Examples of jp.co.acroquest.endosnipe.javelin.event.CommonEvent.addParam()

            {
                event.addParam(EventConstants.PARAM_INVOCATION_METHOD_REMOVE, "");
            }

            String stackTrace = ThreadUtil.getStackTrace(ThreadUtil.getCurrentStackTrace());
            event.addParam(EventConstants.PARAM_INVOCATION_STACKTRACE, stackTrace);
            addEvent(event);
        }
    }

    /**
 
View Full Code Here

Examples of jp.co.acroquest.endosnipe.javelin.event.InvocationFullEvent.addParam()

     */
    private static void sendInvocationFullEvent(Component component, String className,
            int invocationNum, Invocation addInvocation, Invocation removedInvocation)
    {
        CommonEvent event = new InvocationFullEvent();
        event.addParam(EventConstants.PARAM_INVOCATION, String.valueOf(invocationNum));
        event.addParam(EventConstants.PARAM_INVOCATION_CLASS, className);
        boolean containsEvent = eventRepository__.containsEvent(event);
        if (containsEvent == false)
        {
            if (addInvocation != null)
View Full Code Here

Examples of net.jangaroo.jooc.model.MethodModel.addParam()

    eventNameConstant.setStatic(true);
    eventNameConstant.setAsdoc(MessageFormat.format("This constant defines the value of the <code>type</code> property of the event object\nfor a <code>{0}</code> event.\n   * @eventType {0}", event.name));
    extAsClass.addMember(eventNameConstant);

    MethodModel constructorModel = extAsClass.createConstructor();
    constructorModel.addParam(new ParamModel("arguments", "Array"));
    StringBuilder propertyAssignments = new StringBuilder();
    for (int i = 0; i < event.params.size(); i++) {
      Param param = event.params.get(i);

      // add assignment to constructor body:
View Full Code Here

Examples of net.mlw.vlh.web.tag.support.ParamAddable.addParam()

         }
      }
      else
      {

         parent.addParam(addActionParamPrefix(name), value);
         if (LOGGER.isDebugEnabled())
         {
            LOGGER.debug("The param '" + addActionParamPrefix(name) + "' was added with the value '" + value + "'.");
         }
      }
View Full Code Here

Examples of net.sf.rej.java.instruction.Parameters.addParam()

  public Instruction copyInstruction(Instruction inst, ConstantPool sourcePool, ConstantPool destinationPool) {
    Instruction copy = InstructionSet.getInstance().getInstruction(inst.getOpcode());
    Parameters params = inst.getParameters();
    Parameters copyParams = new Parameters();
    for(int i=0; i < params.getCount(); i++) {
          copyParams.addParam(params.getType(i));
            switch (params.getType(i)) {
            case TYPE_ARRAYTYPE:
              copyParams.addValue(params.getObject(i));
              break;
            case TYPE_LOCAL_VARIABLE:
View Full Code Here

Examples of net.sourceforge.cardme.vcard.types.AdrType.addParam()

    address1.setLocality("New York");
    address1.setRegion("New York");
    address1.setPostalCode("NYC887");
    address1.setPostOfficeBox("25334");
    address1.setStreetAddress("South cresent drive, Building 5, 3rd floor");
    address1.addParam(AdrParamType.HOME)
    .addParam(AdrParamType.PARCEL)
    .addParam(AdrParamType.PREF)
    .addExtendedParam(new ExtendedParamType("CUSTOM-PARAM-TYPE", VCardTypeName.ADR))
    .addExtendedParam(new ExtendedParamType("CUSTOM-PARAM-TYPE", "WITH-CUSTOM-VALUE", VCardTypeName.ADR));
   
View Full Code Here

Examples of net.sourceforge.cardme.vcard.types.EmailType.addParam()

    .setParameterTypeStyle(ParameterTypeStyle.PARAMETER_LIST);
    vcard.addTel(telephone2);
   
    EmailType email = new EmailType();
    email.setEmail("john.doe@ibm.com");
    email.addParam(EmailParamType.IBMMAIL)
    .addParam(EmailParamType.INTERNET)
    .addParam(EmailParamType.PREF)
    .setCharset("UTF-8");
    vcard.addEmail(email);
    vcard.addEmail(new EmailType("billy_bob@gmail.com"));
View Full Code Here

Examples of net.sourceforge.cardme.vcard.types.ImppType.addParam()

    vcard.addImpp(new ImppType("im:alice@example.com"));
    vcard.addImpp(new ImppType(new URI("im:alice2@example.com")));
   
    ImppType impp = new ImppType();
    impp.setUri(new URI("im:alice3@example.com"));
    impp.addParam(ImppParamType.HOME)
    .addParam(ImppParamType.PREF)
    .addExtendedParam(new ExtendedParamType("X-BLA", "BLE", VCardTypeName.IMPP));
    vcard.addImpp(impp);
   
    ((VCardErrorHandler)vcard).setThrowExceptions(false);
View Full Code Here

Examples of net.sourceforge.cardme.vcard.types.LabelType.addParam()

    .addExtendedParam(new ExtendedParamType("CUSTOM-PARAM-TYPE", "WITH-CUSTOM-VALUE", VCardTypeName.ADR));
   

    LabelType labelForAddress1 = new LabelType();
    labelForAddress1.setCharset("UTF-8");
    labelForAddress1.addParam(LabelParamType.HOME)
    .addParam(LabelParamType.PARCEL)
    .addParam(LabelParamType.PREF)
    .setLabel("John Doe\nNew York, NewYork,\nSouth Crecent Drive,\nBuilding 5, floor 3,\nUSA");
   
    address1.setLabel(labelForAddress1);
View Full Code Here

Examples of net.sourceforge.cardme.vcard.types.TelType.addParam()

    vcard.addAdr(address1);
   
    TelType telephone = new TelType();
    telephone.setCharset("UTF-8");
    telephone.setTelephone("+1 (212) 204-34456");
    telephone.addParam(TelParamType.CELL)
    .addParam(TelParamType.HOME)
    .setParameterTypeStyle(ParameterTypeStyle.PARAMETER_VALUE_LIST);
    vcard.addTel(telephone);
   
    TelType telephone2 = new TelType();
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.