Examples of StringElement


Examples of com.bbn.openmap.layer.util.html.StringElement

            if (rowcount++ >= 99) {
                response.getWriter().println(redisplay);
                table.generate(response.getWriter());
                rows = new ListElement();
                table = new WrapElement("table", "BORDER=1 ALIGN=CENTER", rows);
                rows.addElement(new WrapElement("CAPTION", new StringElement("table data")));
                rows.addElement(thr);

                rowcount = 0;
            }
            rows.addElement(rm.generateRow((List) rowiter.next()));
View Full Code Here

Examples of com.bbn.openmap.layer.util.html.StringElement

        // out.println("<br><H3>Column Schema</H3>");
        ListElement rows = new ListElement();
        WrapElement table = new WrapElement("table", "BORDER=1", rows);
        TableRowElement thr = new TableRowElement();
        rows.addElement(new WrapElement("CAPTION", new StringElement("Column Schema")));
        rows.addElement(thr);
        thr.addElement(THE("#", url));
        thr.addElement(THE("Name", url));
        thr.addElement(THE("Type", url));
        thr.addElement(THE("Count", url));
View Full Code Here

Examples of net.sourceforge.syncyoursecrets.xmlmapping.StringElement

   * @see org.eclipse.jface.viewers.ILabelProvider#getText(java.lang.Object)
   */
  public String getText(Object obj) {
    // TODO: stupid example impl.
    if (obj instanceof StringElement) {
      StringElement stringElement = (StringElement) obj;
      return stringElement.getElementName();
    }
    if (obj instanceof MappingElement) {
      MappingElement element = (MappingElement) obj;
      return element.getName();
    }
View Full Code Here

Examples of nz.govt.natlib.fx.StringElement

    sElement = new IntegerElement(IntegerElement.SHORT_SIZE, bigEndian,
        IntegerElement.DECIMAL_FORMAT);
    iElement = new IntegerElement(IntegerElement.INT_SIZE, bigEndian,
        IntegerElement.DECIMAL_FORMAT);
    rElement = new RationalElement();
    stElement = new StringElement();
  }
View Full Code Here

Examples of org.apache.abdera.ext.opensearch.model.StringElement

        Parser parser = Abdera.getNewParser();

        InputStream stream = OpenSearchAtomTest.class.getResourceAsStream("/opensearchDescription.xml");
        Document<Element> doc = parser.parse(stream);

        StringElement shortName = doc.getRoot().getFirstChild(OpenSearchConstants.SHORT_NAME);
        assertNotNull(shortName);
        assertEquals(SHORT_NAME, shortName.getValue());

        StringElement description = doc.getRoot().getFirstChild(OpenSearchConstants.DESCRIPTION);
        assertNotNull(description);
        assertEquals(DESCRIPTION, description.getValue());

        StringElement tags = doc.getRoot().getFirstChild(OpenSearchConstants.TAGS);
        assertNotNull(tags);
        assertEquals(TAGS, tags.getValue());
       
        Query q = doc.getRoot().getFirstChild(OpenSearchConstants.QUERY);
        assertNotNull(q);
        assertEquals(Query.Role.EXAMPLE, q.getRole());
        assertEquals(QUERY_TERMS, q.getSearchTerms());
View Full Code Here

Examples of org.apache.ecs.StringElement

        String navigationTemplate = data.getTemplateInfo().getNavigationTemplate();
        String templateName
                = TurbineTemplate.getNavigationTemplateName(navigationTemplate);

        StringElement output = new StringElement();
        output.setFilterState(false);
        output.addElement(TurbineVelocity
                .handleRequest(context, prefix + templateName));
        return output;
    }
View Full Code Here

Examples of org.apache.ecs.StringElement

            screenData = TurbineVelocity.handleRequest(
                context, prefix + templateName);
        }

        // package the response in an ECS element
        StringElement output = new StringElement();
        output.setFilterState(false);

        if (screenData != null)
        {
            output.addElement(screenData);
        }
        return output;
    }
View Full Code Here

Examples of org.apache.ecs.StringElement

     *
     * @param msg a string.
     */
    public void setMessage(String msg)
    {
        this.message = new StringElement(msg);
    }
View Full Code Here

Examples of org.apache.ecs.StringElement

     *
     * @param msg a string.
     */
    public void addMessage(String msg)
    {
        addMessage(new StringElement(msg));
    }
View Full Code Here

Examples of org.apache.ecs.StringElement

     *
     * @param msg an element.
     */
    public void setMessage(Element msg)
    {
        this.message = new StringElement(msg);
    }
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.