Examples of stringValue()


Examples of com.ibm.jscript.types.FBSString.stringValue()

                o.put(p[0],FBSString.get(p[1]));
              }
            }
            FBSString propName = (FBSString)o.get("name");
            if(propName!=null) {
              String v = env.getPropertyValueByName(propName.stringValue());
              if(StringUtil.isNotEmpty(v)) {
                o.put("value", FBSString.get(v));
              }
            }
            params.addArrayValue(o);
View Full Code Here

Examples of com.ibm.jscript.types.FBSValue.stringValue()

    }
  }
  protected void fixDocUrl(ObjectObject o, String baseDocUrl) throws Exception {
    FBSValue params = o.get("doc_url");
    if(!params.isNull()) {
      String url = params.stringValue();
      if(!UrlUtil.isAbsoluteUrl(url) && StringUtil.isNotEmpty(baseDocUrl)) {
        o.put("doc_url", FBSString.get(PathUtil.concat(baseDocUrl, url, '/')));
      }
    }
  }
View Full Code Here

Examples of com.ibm.sbt.util.DataNavigator.stringValue()

    public static String getURL(Object json){
        JsonNavigator nav = new JsonNavigator(json);
        DataNavigator entry = nav.get("entry");
        entry = entry.get("photos");
        entry = entry.selectEq("type", "Photo");
        return entry.stringValue("value");
    }

    public static String getEMail(Object json){
        JsonNavigator nav = new JsonNavigator(json);
        DataNavigator entry = nav.get("entry");
View Full Code Here

Examples of com.ibm.sbt.util.JsonNavigator.stringValue()

                            Object o = collection.get(i);
                            if(o != null){
                                JsonNavigator nav = new JsonNavigator(o);
                                TwitterEntry entry = new TwitterEntry();
                                //entry.setTweetContent(nav.stringValue("text"));
                                entry.setTitle(nav.stringValue("text"));
                                entry.setAuthor(nav.get("user").stringValue("name"));
                                entries.add(entry);
                            }
                        }
                    }
View Full Code Here

Examples of com.ibm.sbt.util.XmlNavigator.stringValue()

                    result = filesService.get(href, ClientService.FORMAT_XML).getData();
                    if (result instanceof Document) {
                        Document entriesDocument = (Document) result;
                        XmlNavigator entriesNavigator = new XmlNavigator(entriesDocument);
                        DataNavigator entries = entriesNavigator.get(TAG_FEED + "/" + TAG_ENTRY);
                        String repId = entriesNavigator.stringValue(TAG_FEED + "/" + TAG_ID);
                        if (StringUtil.isNotEmpty(repId)) {
                            repId = repId.substring(repId.lastIndexOf(':') + 1);
                        }
                        if (entries != null) {
                            String epName = accessor.findEndpointName();
View Full Code Here

Examples of com.liusoft.dlog4j.beans.ConfigBean.stringValue()

    return (cb==null)?defaultValue:cb.intValue();
  }

  public static String stringValue(int site_id, String key) {
    ConfigBean cb = getConfig(site_id, key);   
    return (cb==null)?null:cb.stringValue();
  }

  public static Timestamp timestampValue(int site_id, String key) {
    ConfigBean cb = getConfig(site_id, key);   
    return (cb==null)?null:cb.timestampValue();
View Full Code Here

Examples of com.saasovation.common.media.RepresentationReader.stringValue()

        if (linkElement.isJsonObject()) {
            RepresentationReader rep = new RepresentationReader(linkElement.getAsJsonObject());

            link =
                    new Link(
                            rep.stringValue("href"),
                            rep.stringValue("rel"),
                            rep.stringValue("title"),
                            rep.stringValue("type"));
        }
View Full Code Here

Examples of com.sun.java.util.jar.pack.ConstantPool.Entry.stringValue()

                } else {
                    globalRef = holder.getCPMap()[localRef];
                    if (e.refKind == CONSTANT_Signature
                        && globalRef.getTag() == CONSTANT_Utf8) {
                        // Cf. ClassReader.readSignatureRef.
                        String typeName = globalRef.stringValue();
                        globalRef = ConstantPool.getSignatureEntry(typeName);
                    } else if (e.refKind == CONSTANT_Literal) {
                        assert(globalRef.getTag() >= CONSTANT_Integer);
                        assert(globalRef.getTag() <= CONSTANT_String);
                    } else if (e.refKind != CONSTANT_All) {
View Full Code Here

Examples of com.sun.java.util.jar.pack.ConstantPool.Utf8Entry.stringValue()

            if (haveModtime)
                file.modtime += file_modtime.getInt();
            if (haveOptions)
                file.options |= file_options.getInt();
            if (verbose > 1)
                Utils.log.fine("Reading "+size+" bytes of "+name.stringValue());
            long toRead = size;
            while (toRead > 0) {
                int nr = buf.length;
                if (nr > toReadnr = (int) toRead;
                nr = file_bits.getInputStream().read(buf, 0, nr);
View Full Code Here

Examples of com.sun.org.apache.xerces.internal.impl.dv.ValidatedInfo.stringValue()

            }
            // if the attribute is not specified, then apply the value constraint
            if (!isSpecified && constType != XSConstants.VC_NONE) {
                attName =
                    new QName(null, currDecl.fName, currDecl.fName, currDecl.fTargetNamespace);
                String normalized = (defaultValue != null) ? defaultValue.stringValue() : "";
                int attrIndex = attributes.addAttribute(attName, "CDATA", normalized);
                if (attributes instanceof XMLAttributesImpl) {
                    XMLAttributesImpl attrs = (XMLAttributesImpl) attributes;
                    boolean schemaId =
                        defaultValue != null
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.