Examples of format()


Examples of de.innovationgate.wgpublisher.RTFEncodingFormatter.format()

            suffix.append("<span class=\"WGA-Item-Value-Unencoded\" id=\"item_"+itemName+"_unencoded\" style=\"display:none\" >");
            if (result.size() >= 1) {
                RTFEncodingFormatter formatter = new RTFEncodingFormatter(true);
                formatter.setContext(getTMLContext());
                try {
                    suffix.append(formatter.format(result.get(0)));
                }
                catch (FormattingException e) {
                    addWarning(e.getMessage());
                    suffix.append(String.valueOf(result.get(0)));
                }
View Full Code Here

Examples of de.odysseus.calyxo.forms.FormInput.format()

        if (index >= inputResult.getSize()) {
          return NOT_AVAILABLE;
        }
        return inputResult.format(request, index);
      } else if (data != null) {
        return input.format(request, data, index, NOT_AVAILABLE);
      }
    } else {
      if (result != null) {
        return (String)result.getFormInputResult(component.getName()).format(request);
      } else if (data != null) {
View Full Code Here

Examples of de.odysseus.calyxo.forms.FormInputResult.format()

      if (result != null) {
        FormInputResult inputResult = result.getFormInputResult(component.getName());
        if (index >= inputResult.getSize()) {
          return NOT_AVAILABLE;
        }
        return inputResult.format(request, index);
      } else if (data != null) {
        return input.format(request, data, index, NOT_AVAILABLE);
      }
    } else {
      if (result != null) {
View Full Code Here

Examples of de.tuhrig.thofu.interfaces.Parser.format()

              history.add(0, commands);
   
              Parser parser = interpreter.getParser();

              // + nl, otherwise there will be errors
              commands = parser.format(commands + "\n");

              List<LObject> objects = parser.parseAll(commands);
           
              Executer.instance.evaluate(textArea, objects, interpreter);
            }
View Full Code Here

Examples of edu.brown.utils.SQLFormatter.format()

                sb.append(MaterializedViewInfo.class.getSimpleName()).append("\n");
                sb.append(this.getAttributesText(catalog_view));
               
                SQLFormatter f = new SQLFormatter(catalog_view.getSqltext());
                sb.append(StringUtil.SINGLE_LINE);
                sb.append("\n").append(f.format()).append("\n");
            } else {
                String schema = CatalogUtil.toSchema(catalog_tbl);
                sb.append("\n").append(schema).append("\n");
            }
        }
View Full Code Here

Examples of edu.mit.simile.fresnel.configuration.Configuration.format()

        try {
          /* Perform Fresnel selection using the requested display purpose and language */
          selected = conf.select(dataRepository, focalResource, purpose, langPref);
   
          /* Perform Fresnel formatting */
          selected = conf.format(dataRepository, selected);
        }
        catch (NoResultsException e) {
         
              /*
               * If no results are found, redirect the user to the resource
View Full Code Here

Examples of er.extensions.formatters.ERXUnitAwareDecimalFormat.format()

    String bytesReadSize = null;
    AjaxUploadProgress progress = uploadProgress();
    if (progress != null) {
      NumberFormat formatter = new ERXUnitAwareDecimalFormat(ERXUnitAwareDecimalFormat.BYTE);
      formatter.setMaximumFractionDigits(2);
      bytesReadSize = formatter.format(progress.value());
    }
    return bytesReadSize;
  }

  public String streamLengthSize() {
View Full Code Here

Examples of er.grouping.DRSubMasterCriteria.format()

        }
        DRGroup dayGroup =  (DRGroup) dataList.objectAtIndex(0);
        DRSubMasterCriteria daySubMasterCriteria = (DRSubMasterCriteria) dayGroup.masterCriteria().subCriteriaList().objectAtIndex(0);
        String dayKey = daySubMasterCriteria.keyDesc();
        NSArray dayCriterias = dayGroup.sortedCriteriaList();
        Format dayFormat = DRCriteria.formatterForFormat(daySubMasterCriteria.format());
       
        NSMutableDictionary coordinates = new NSMutableDictionary();
        for(Enumeration en = valueList.objectEnumerator(); en.hasMoreElements();) {
           
            DRGroup mainGroup = (DRGroup)en.nextElement();
View Full Code Here

Examples of erjang.EDouble.format()

  @BIF 
  static public EBinary float_to_binary(EObject obj) {
    EDouble value;
    if ((value = obj.testFloat()) != null) {
      return new EBinary(value.format(ERT.NIL).getBytes(IO.ISO_LATIN_1));
    }
    throw ERT.badarg(obj);
  }

  @BIF 
View Full Code Here

Examples of flash.localization.ILocalizedText.format()

      final ILocalizedText finalLocalizedText = localizedText;
      return new ILocalizedText()
      {
        public String format(Map parameters)
        {
          String result = finalLocalizedText.format(parameters);
          return result.replaceAll("\n", m_newline); //$NON-NLS-1$
        }
      };
    }
  }
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.