Examples of asString()


Examples of org.springframework.core.convert.TypeDescriptor.asString()

      if (idx >= ctxString.length()) {
        throw new SpelEvaluationException(getStartPosition(),SpelMessage.STRING_INDEX_OUT_OF_BOUNDS, ctxString.length(), idx);
      }
      return new TypedValue(String.valueOf(ctxString.charAt(idx)));
    }
    throw new SpelEvaluationException(getStartPosition(),SpelMessage.INDEXING_NOT_SUPPORTED_FOR_TYPE, targetObjectTypeDescriptor.asString());
  }


  @Override
  public boolean isWritable(ExpressionState expressionState) throws SpelEvaluationException {
View Full Code Here

Examples of org.wicketstuff.dojo11.templates.DojoPackagedTextTemplate.asString()

    DojoPackagedTextTemplate template = new DojoPackagedTextTemplate(AbstractDefaultDojoBehavior.class, AbstractDefaultDojoBehavior.class.getSimpleName()+".js");
    MiniMap map = new MiniMap(3);
    map.put("debug", Application.DEVELOPMENT.equals(Application.get().getConfigurationType()));
    map.put("baseUrl", DojoSettings.get().getDojoBaseUrl());
    map.put("locale", ((IDojoApplication)Application.get()).getDojoSettings().getDefaultLocale().toString().replace('_', '-'));
    response.renderJavascript(template.asString(map), template.getStaticKey());
  }
 
  /**
   * Register a specific dojo module.
   * @param response
View Full Code Here

Examples of org.xhtmlrenderer.css.style.FSDerivedValue.asString()

            FSDerivedValue src = style.valueByName(CSSName.SRC);
            if (src == IdentValue.NONE) {
                continue;
            }

            byte[] font1 = _sharedContext.getUac().getBinaryResource(src.asString());
            if (font1 == null) {
                XRLog.exception("Could not load font " + src.asString());
                continue;
            }
View Full Code Here

Examples of ratpack.util.internal.TypeCoercingProperties.asString()

      URI publicAddress = props.asURI(PUBLIC_ADDRESS);
      boolean development = props.asBoolean(DEVELOPMENT, false);
      int threads = props.asInt(THREADS, DEFAULT_THREADS);
      List<String> indexFiles = props.asList(INDEX_FILES);
      InputStream sslKeystore = props.asStream(SSL_KEYSTORE_FILE);
      String sslKeystorePassword = props.asString(SSL_KEYSTORE_PASSWORD, "");
      int maxContentLength = props.asInt(MAX_CONTENT_LENGTH, DEFAULT_MAX_CONTENT_LENGTH);
      boolean timeResponses = props.asBoolean(TIME_RESPONSES, false);
      boolean compressResponses = props.asBoolean(COMPRESS_RESPONSES, false);
      long compressionMinSize = props.asLong(COMPRESSION_MIN_SIZE, DEFAULT_COMPRESSION_MIN_SIZE);
      List<String> compressionMimeTypeWhiteList = props.asList(COMPRESSION_MIME_TYPE_WHITE_LIST);
View Full Code Here

Examples of reactor.io.Buffer.asString()

      @Override
      public void accept(Integer integer) {
        Iterator<Buffer.View> iter = slices.iterator();

        Buffer b = iter.next().get();
        int month = Arrays.binarySearch(months, b.asString());
        int day = Buffer.parseInt(iter.next().get());
        int hr = Buffer.parseInt(iter.next().get());
        int min = Buffer.parseInt(iter.next().get());
        int sec = Buffer.parseInt(iter.next().get());
View Full Code Here

Examples of ru.andrew.jclazz.core.code.ops.Operation.asString()

        }
        sb.append("<HR>");
        for (Iterator i = codeAttr.getOperations().iterator(); i.hasNext();)
        {
            Operation oper = (Operation) i.next();
            sb.append("        " + oper.asString()).append("<BR>");
        }

        sb.append("</html>");
        description = sb.toString();
View Full Code Here

Examples of sun.jvm.hotspot.oops.Symbol.asString()

    public String genericSignature() {
        if (saKlass instanceof ArrayKlass) {
            return null;
        } else {
            Symbol genSig = ((InstanceKlass)saKlass).getGenericSignature();
            return (genSig != null)? genSig.asString() : null;
        }
    }

    public ClassLoaderReference classLoader() {
      Instance xx = (Instance)(((InstanceKlass)saKlass).getClassLoader());
View Full Code Here

Examples of weibo4j.http.Response.asString()

      log(response.toString() + "\n");

      if (responseCode != OK)

      {
        log(response.asString());
        try {
          throw new WeiboException(getCause(responseCode),
              response.asJSONObject(), responseCode);
        } catch (JSONException e) {
          e.printStackTrace();
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.