Examples of stringValue()


Examples of ariba.ui.aribaweb.core.AWBinding.stringValue()

    {
        AWBinding filenameBinding = (AWBinding)bindingsHashtable.remove(BindingNames.filename);
        if (!filenameBinding.isConstantValue()) {
            throw new AWGenericException(getClass().getName() + ": \"filename\" binding must be constant.");
        }
        String filename = filenameBinding.stringValue(null);
        AWMultiLocaleResourceManager resourceManager = AWConcreteApplication.SharedInstance.resourceManager();
        AWImageInfo imageInfo = resourceManager.imageInfoForName(filename);
        String imageUrl = imageUrl(imageInfo, filename);
        AWEncodedString width = widthString(bindingsHashtable, imageInfo);
        AWEncodedString height = heightString(bindingsHashtable, imageInfo);
View Full Code Here

Examples of com.dtrules.entity.IREntity.stringValue()

               ex.addToMessage("entitypush could not convert a "+RSession.typeInt2Str(o.type())+" to an Entity");
               throw ex;
            }
            state.entitypush(e);           
            if(state.testState(DTState.TRACE)){
               state.traceInfo("entitypush", "value",e.stringValue(),"id",e.getID()+"",null);
            }
        }
    }

    /**
 
View Full Code Here

Examples of com.dtrules.interpreter.IRObject.stringValue()

    static class Newdate extends ROperator {
      Newdate(){super("newdate");}

      public void execute(DTState state) throws RulesException {
          IRObject obj   = state.datapop();
          String   date  = obj.stringValue();
        try{
          RTime rdate = RTime.getRDate(state.getSession(), date);
          state.datapush(rdate);
        }catch(RulesException e){
          state.datapush(RNull.getRNull());
View Full Code Here

Examples of com.dtrules.interpreter.RInteger.stringValue()

        RName entityTraceIDList = RName.getRName("entityTraceIdList");
        public void execute(DTState state) throws RulesException {
         
            RInteger id     = state.datapop().rIntegerValue();
          RName    ename  = state.datapop().rNameValue();
            String   key    = ename.stringValue().toLowerCase()+id.stringValue();
                    
            IREntity entity = state.getSession().createEntity(id, ename);
           
            state.datapush(entity);
        }
View Full Code Here

Examples of com.dtrules.interpreter.RName.stringValue()

           
            try{
                state.find(table).execute(state);
            }catch(NullPointerException e){
                throw new RulesException("undefined", "PerformCatchError",
                        "The table '"+table.stringValue()+"' is undefined");
            }catch(RulesException e){
                IRSession     session       = state.getSession();
                EntityFactory ef            = session.getEntityFactory();  
                IREntity      errorEntity   = ef.findRefEntity(error).clone(session).rEntityValue();
                state.entitypush(errorEntity);
View Full Code Here

Examples of com.ericsson.otp.erlang.OtpErlangList.stringValue()

                final OtpErlangList l = (OtpErlangList) o;
                if (l.arity() == 0) {
                    message = "";
                } else {
                    try {
                        message = l.stringValue();
                    } catch (final Exception e) {
                        message = o.toString();
                    }
                }
            } else {
View Full Code Here

Examples of com.ericsson.otp.erlang.OtpErlangString.stringValue()

    }

    @Test
    public void string_1() throws TermParserException {
        final OtpErlangString r = (OtpErlangString) termParser.parse("\"Hello\"");
        Assert.assertEquals(r.stringValue(), "Hello");
    }

    @Test
    public void string_2() throws TermParserException {
        final OtpErlangString r = (OtpErlangString) termParser.parse("\"Hello world!\"");
View Full Code Here

Examples of com.google.gwt.dev.javac.typemodel.test.TestAnnotation.stringValue()

    // Tests default value of array type.
    assertEquals(realAnnotation.intArrayValue().length,
        testAnnotation.intArrayValue().length);

    // Tests default value which is a field reference.
    assertEquals(realAnnotation.stringValue(), testAnnotation.stringValue());

    // Tests default value that is a class literal.
    assertEquals(realAnnotation.classLiteral(), testAnnotation.classLiteral());

    // Tests implicit array initializers
View Full Code Here

Examples of com.google.gwt.json.client.JSONString.stringValue()

            JSONString resultString = (JSONString) resultArray.get(0);

            StringBuffer newText = new StringBuffer(textAreaHistory.getText());
            newText.append(queueName);
            newText.append(':');
            newText.append(resultString.stringValue());
            newText.append('\n');
            textAreaHistory.setText(newText.toString());
            textAreaHistory.setCursorPos(textAreaHistory.getVisibleLines());
        }
    }
View Full Code Here

Examples of com.google.template.soy.data.SoyData.stringValue()

    // the let block is wrapped in SanitizedContent of the specified kind.
    // TODO: Consider adding mutable state to nodes that allows the contextual escaper to tag
    // nodes it has processed, and assert presence of this tag here.
    if (node.getContentKind() != null) {
      renderedBlock = UnsafeSanitizedContentOrdainer.ordainAsSafe(
          renderedBlock.stringValue(), node.getContentKind());
    }

    env.peek().put(node.getVarName(), renderedBlock);
  }
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.