Package com.bbn.openmap.layer.util.html

Examples of com.bbn.openmap.layer.util.html.HtmlListElement.generate()


            String db = (String) dbi.next();
            String url = request.getContextPath() + "/DescribeVPF/" + db;
            dblist.addElement("<A HREF=\"" + response.encodeURL(url) + "\">"
                    + db + "</A>\r\n");
        }
        dblist.generate(out);
        out.println("</BODY></HTML>\r\n");
    }

    public static String buildURL(HttpServletRequest request,
                                  HttpServletResponse response,
View Full Code Here


        int nodesInTree = si.getNodesInTree();
        list.addElement("Nodes in Tree: " + nodesInTree);
        list.addElement("Bounding Rectangle: (" + si.getBoundingX1() + ", "
                + si.getBoundingY1() + ") - (" + si.getBoundingX2() + ", "
                + si.getBoundingY2() + ")");
        list.generate(out);
        out.println("<H3>Spatial Index Data</H3>");
        TableRowElement columnNames = new TableRowElement();
        columnNames.addElement(new TableHeaderElement("Primitive ID"));
        columnNames.addElement(new TableHeaderElement("x1"));
        columnNames.addElement(new TableHeaderElement("x2"));
View Full Code Here

        try {
            list.addElement("Record Count: " + foo.getRecordCount());
        } catch (com.bbn.openmap.io.FormatException fe) {
            list.addElement("Record Count Error: " + fe.toString());
        }
        list.generate(out);

        // out.println("<br><H3>Column Schema</H3>");
        ListElement rows = new ListElement();
        WrapElement table = new WrapElement("table", "BORDER=1", rows);
        TableRowElement thr = new TableRowElement();
View Full Code Here

                        response,
                        pathInfo,
                        (String) dir.next());
                filelist.addElement(url);
            }
            filelist.generate(out);

            filelist = new HtmlListElement("Files");
            for (Iterator file = filenames.iterator(); file.hasNext();) {
                String url = fileURL(request,
                        response,
View Full Code Here

                        response,
                        pathInfo,
                        (String) file.next());
                filelist.addElement(url);
            }
            filelist.generate(out);
        }
        out.println(end);
    }

    public void init(ServletConfig config) throws ServletException {
View Full Code Here

        list.addElement("Data Type Specifier: " + ti.getDataTypeSpecifier());
        list.addElement("Table Indexed: "
                + fileURL(request, response, basepath, ti.getTableIndexed()));
        list.addElement("Column Indexed: " + ti.getColumnIndexed());
        list.addElement("Fields Sorted: " + ti.getSorted());
        list.generate(out);

        out.println("<H3 CLASS=TableSubheadingColor>Thematic Index Data</H3>");
        Object[] values = ti.getValueIndexes();
        ListElement rows = null;
        Element table = 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.