Examples of stringValue()


Examples of com.volantis.mcs.protocols.OutputBuffer.stringValue()

    protected String getAltText(MenuItem item) {
        String altText = null;
        if (provideAltText) {
            MenuText menuText = item.getLabel().getText();
            OutputBuffer text = menuText.getText();
            altText = text.stringValue();
        }
        return altText;
    }
}
View Full Code Here

Examples of com.volantis.mcs.protocols.Script.stringValue()

                if (logger.isDebugEnabled ()) {
                    logger.debug ("User script for " + attributeName
                                  + " is " + scriptObject);
                }
                if (scriptObject != null) {
                    script = scriptObject.stringValue();
                }
            }

            if (internalScript != null) {
                if (logger.isDebugEnabled ()) {
View Full Code Here

Examples of com.volantis.xml.expression.Value.stringValue()

                      factory.createStringValue("qwe"),
                      factory.createStringValue("rty"),
                      factory.createStringValue("asd")
                })});
        assertTrue(result instanceof StringValue);
        assertEquals("asd", result.stringValue().asJavaString());
    }
   
    /**
     * Tests on sequence of strings and numbers. {@link ExpressionException}
     * should be thrown.
View Full Code Here

Examples of com.volantis.xml.expression.sequence.Item.stringValue()

                ", was " + retSeq.getLength(),
                retSeq.getLength() == strings.length);
        for (int i = 1; i <= strings.length; i++) {
            Item item = retSeq.getItem(i);
            assertTrue("Item " + i + " should be same string",
                    strings[i - 1].equals(item.stringValue().asJavaString()));
        }
    }

    /**
     * Helper method which creates a sequence of strings.
View Full Code Here

Examples of com4j.Variant.stringValue()

                javaType = javaType.substring(0,javaType.length()-2)+"...";
        }
        Variant defValue = p.getDefaultValue();
        if(defValue!=null)
            try {
                o.print("@DefaultValue(\""+ defValue.stringValue()+"\")");
            } catch (ComException e) {
                // in rare occasions we get default values that are not printable.
                // ignore such an error.
            }
        o.print(javaType);
View Full Code Here

Examples of condor.classad.Constant.stringValue()

        } else if (exprType == Expr.BOOLEAN) {
            return new Boolean(co.isTrue()); // Boolean Value
        } else if (exprType == Expr.REAL) {
            return new Double(co.realValue()); // Real Value
        } else if (exprType == Expr.STRING) {
            return co.stringValue(); // String Value
        } else {
            throw new IllegalArgumentException(attrName + ": unexpected type found.");
        }
        // }
    }
View Full Code Here

Examples of condor.classad.Expr.stringValue()

                exprTmp = jdlRecExpr.lookup(OUTPUTDATA_OUTPUTFILE);
                if (exprTmp == null) {
                    throw new Exception("OutputFile is mandatory for the OutputData jdl attribute.");
                }
                outputDataRecord.setODOutputFile(exprTmp.stringValue().trim());

                exprTmp = jdlRecExpr.lookup(OUTPUTDATA_LOGICALFILENAME);
                outputDataRecord.setODLogicalFilename((exprTmp != null) ? exprTmp.stringValue().trim() : "");

                exprTmp = jdlRecExpr.lookup(OUTPUTDATA_STORAGEELEMENT);
View Full Code Here

Examples of erjang.ESeq.stringValue()

        } else {
          throw ERT.badarg(name, portSetting);
        }
      }

      String full_cmd = es.stringValue();

      String[] cmd;
      if (name.elem1 == ErlPort.am_spawn) {
        cmd = split_with_quotes(full_cmd);
      } else {
View Full Code Here

Examples of erjang.EString.stringValue()

        exitCode = val.value;
      }
     
      EString str = value.testString();
      if (str != null) {
        message = str.stringValue();
      }
    }
   
    /*
    // TODO: create crash file
View Full Code Here

Examples of io.crate.PartitionName.stringValue()

                .put("name", "Trillian")
                .map();
        BytesReference source = XContentFactory.jsonBuilder().map(sourceMap).bytes();
        PartitionName partitionName = new PartitionName("parted", Arrays.asList(new BytesRef("13959981214861")));
        ESIndexNode indexNode = new ESIndexNode(
                new String[]{partitionName.stringValue()},
                Arrays.asList(source),
                ImmutableList.of("123"),
                ImmutableList.of("123"),
                true,
                false
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.