Examples of text()


Examples of org.codehaus.jparsec.Tokens.Fragment.text()

  }

  private void assertFragment(Object tag, Map<String, Fragment> map) {
    Fragment fragment = map.map("foo");
    assertEquals(tag, fragment.tag());
    assertEquals("foo", fragment.text());
    assertEquals(tag.toString(), map.toString());
  }
}
View Full Code Here

Examples of org.dbwiki.data.database.DatabaseTextNode.text()

        if (lineCount > 1) {
          content.add("<br/>");
        }
        String target = getNodeLink(value, versionParameter);
        if (value.getTimestamp().isCurrent()) {
          content.linkWithTitle(target, _timestampPrinter.toPrintString(value.getTimestamp()), value.text(), layout.getCSS(CSS.CSSContentValueActive));
        } else {
          content.linkWithTitle(target, _timestampPrinter.toPrintString(value.getTimestamp()), value.text(), layout.getCSS(CSS.CSSContentValueInactive));
        }
        if ((attribute.hasAnnotation()) || (value.hasAnnotation())) {
          addAnnotationIndicator(content);
View Full Code Here

Examples of org.eaxy.Element.text()

            if (1 != vertexWeightsVCountDataSet.size()) {
                throw new ColladaParseException("Found " + vertexWeightsVCountDataSet.size()
                                                + " vertex weights vcount sets for controller id=" + controller.id() + " name=" + controller.name());
            }
            Element vertexWeightsVCountData = vertexWeightsVCountDataSet.first();
            String vertexWeightsVCountString = vertexWeightsVCountData.text();
            String[] vertexWeightsVCountStrings = getItemsInString(vertexWeightsVCountString);
            if (vertexWeightsVCountStrings.length != vertexWeightsCount) {
                throw new ColladaParseException("Expected " + vertexWeightsCount + " but was "
                                                + vertexWeightsVCountStrings.length + " for controller id=" + controller.id() + " name=" + controller.name());
            }
View Full Code Here

Examples of org.eclipse.sapphire.internal.ValueSnapshot.text()

                    objects[ i ] = format( value.definition(), value.text() );
                }
                else if( binding instanceof ValueSnapshot )
                {
                    final ValueSnapshot snapshot = (ValueSnapshot) binding;
                    objects[ i ] = format( snapshot.property(), snapshot.text() );
                }
                else
                {
                    objects[ i ] = binding;
                }
View Full Code Here

Examples of org.eclipse.sapphire.modeling.annotations.DefaultValue.text()

    {
        final DefaultValue annotation = context( PropertyDef.class ).getAnnotation( DefaultValue.class );
       
        if( annotation != null )
        {
            final String expr = annotation.text();
           
            if( expr.length() > 0 )
            {
                Function function = null;
               
View Full Code Here

Examples of org.eclipse.sapphire.modeling.annotations.Derived.text()

    {
        final Derived annotation = context( PropertyDef.class ).getAnnotation( Derived.class );
       
        if( annotation != null )
        {
            final String expr = annotation.text();
           
            if( expr.length() > 0 )
            {
                Function function = null;
               
View Full Code Here

Examples of org.eclipse.sapphire.modeling.annotations.InitialValue.text()

    {
        final InitialValue annotation = context( PropertyDef.class ).getAnnotation( InitialValue.class );
       
        if( annotation != null )
        {
            final String expr = annotation.text();
           
            if( expr.length() > 0 )
            {
                Function function = null;
               
View Full Code Here

Examples of org.eclipse.sapphire.modeling.localization.LocalizationService.text()

    }
   
    public String getLabel()
    {
        final LocalizationService localizationService = definition().adapt( LocalizationService.class );
        return localizationService.text( (String)this.labelFunctionResult.value(), CapitalizationType.TITLE_STYLE, false );
    }
   
    public String getDescription()
    {
        final LocalizationService localizationService = definition().adapt( LocalizationService.class );
View Full Code Here

Examples of org.eclipse.swtbot.swt.finder.SWTBot.text()

  @Test
  public void testCreateProfile() {
    bot.menu("File").menu("New Profile").click();
    SWTBot profile = bot.shell("Profile").bot();
    assertTrue("Profile Dialog opens with General Tab selected", profile.tabItem("General").isActive());
    profile.text(0).setText("SWTBot Profile 1");
    profile.text(1).setText("Description");
    profile.button("Ok").click();
  }
}
View Full Code Here

Examples of org.elasticsearch.common.xcontent.XContentParser.text()

                } else if ("filter".equals(currentFieldName)) {
                    filter = parseContext.parseInnerFilter();
                }
            } else if (token.isValue()) {
                if ("path".equals(currentFieldName)) {
                    path = parser.text();
                } else if ("boost".equals(currentFieldName)) {
                    boost = parser.floatValue();
                } else if ("_scope".equals(currentFieldName)) {
                    scope = parser.text();
                } else if ("_name".equals(currentFieldName)) {
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.