Examples of StringValue


Examples of com.volantis.xml.expression.atomic.StringValue

    /**
    * Tests invocation.
    */
    public void testErrorMessage() throws Exception {

       StringValue expected = factory.createStringValue(ERROR_MESSAGE);
       Value result =
           errorMessageFunction.invoke(context, new Value[0]);
       assertEquals(expected, result);
    }
View Full Code Here

Examples of eu.stratosphere.types.StringValue

  public void setup()
  {
    final ArrayList<IntStringPair> source = new ArrayList<IntStringPair>();
   
    // add elements to the source
    source.add(new IntStringPair(new IntValue(1), new StringValue("A")));
    source.add(new IntStringPair(new IntValue(2), new StringValue("B")));
    source.add(new IntStringPair(new IntValue(3), new StringValue("C")));
    source.add(new IntStringPair(new IntValue(3), new StringValue("D")));
    source.add(new IntStringPair(new IntValue(4), new StringValue("E")));
    source.add(new IntStringPair(new IntValue(4), new StringValue("F")));
    source.add(new IntStringPair(new IntValue(4), new StringValue("G")));
    source.add(new IntStringPair(new IntValue(5), new StringValue("H")));
    source.add(new IntStringPair(new IntValue(5), new StringValue("I")));
    source.add(new IntStringPair(new IntValue(5), new StringValue("J")));
    source.add(new IntStringPair(new IntValue(5), new StringValue("K")));
    source.add(new IntStringPair(new IntValue(5), new StringValue("L")));
   
   
    this.sourceIter = new MutableObjectIterator<Record>() {
      final Iterator<IntStringPair> it = source.iterator();
     
View Full Code Here

Examples of gr.ekt.bte.core.StringValue

            return null;
        }
        List<Value> values = new ArrayList<Value>();
        for (String value : stringValues)
        {
            values.add(new StringValue(value));
        }
        return values;
    }
View Full Code Here

Examples of lcmc.common.domain.StringValue

        return true;
    }

    @Override
    public Value getParamDefault(final String param) {
        return new StringValue("default");
    }
View Full Code Here

Examples of limelight.styles.abstrstyling.StringValue

public class StringAttributeCompiler extends StyleCompiler
{
  public StyleValue compile(Object value)
  {
     return new StringValue(value);
  }
View Full Code Here

Examples of net.percederberg.mibble.value.StringValue

        throws ParseException {

        String  str;

        str = getStringValue(getChildAt(node, 0), 0);
        node.addValue(new StringValue(str));
        return node;
    }
View Full Code Here

Examples of net.sf.jsqlparser.expression.StringValue

    rightExpression = SimpleExpression();
    switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
    case K_ESCAPE:
      jj_consume_token(K_ESCAPE);
      token = jj_consume_token(S_CHAR_LITERAL);
                                         result.setEscape((new StringValue(token.image)).getValue());
      break;
    default:
      jj_la1[93] = jj_gen;
      ;
    }
View Full Code Here

Examples of net.sf.jsqlparser.expression.StringValue

                                                                                               retval = new Parenthesis(retval);
      } else {
        switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
        case S_CHAR_LITERAL:
          token = jj_consume_token(S_CHAR_LITERAL);
                                   retval = new StringValue(token.image);
          break;
        case 79:
        case 94:
        case 95:
          switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
View Full Code Here

Examples of net.sf.saxon.value.StringValue

  public Value atomize() {
    switch (getNodeKind()) {
      case Type.COMMENT:
      case Type.PROCESSING_INSTRUCTION:
        return new StringValue(getStringValueCS());
      default:
        return new UntypedAtomicValue(getStringValueCS());
    }
  }
View Full Code Here

Examples of net.sf.saxon.value.StringValue

     * @throws XPathException
     */

    private StringCollator getCollator(XPathContext context) throws XPathException {
        if (collationNameExpression != null) {
            StringValue collationValue = (StringValue)collationNameExpression.evaluateItem(context);
            String cname = collationValue.getStringValue();
            URI collationURI;
            try {
                collationURI = new URI(cname);
                if (!collationURI.isAbsolute()) {
                    if (baseURI == 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.