Examples of simpleElement()


Examples of org.geowebcache.io.XMLBuilder.simpleElement()

            xml.header("1.0", encoding);
            xml.indentElement("TileMapService")
            .attribute("version", "1.0.0")
            .attribute("services", urlMangler.buildURL(baseUrl, contextPath, ""));
            // TODO can have these set through Spring
            xml.simpleElement("Title", "Tile Map Service", true);
            xml.simpleElement("Abstract", "A Tile Map Service served by GeoWebCache", true);
            //TODO Optional stuff, note that there is some meta data stuff on the
            // TileLayer object that we simply don't use yet
           
            // <KeywordList>example tile service</KeywordList>
View Full Code Here

Examples of org.geowebcache.io.XMLBuilder.simpleElement()

            xml.indentElement("TileMapService")
            .attribute("version", "1.0.0")
            .attribute("services", urlMangler.buildURL(baseUrl, contextPath, ""));
            // TODO can have these set through Spring
            xml.simpleElement("Title", "Tile Map Service", true);
            xml.simpleElement("Abstract", "A Tile Map Service served by GeoWebCache", true);
            //TODO Optional stuff, note that there is some meta data stuff on the
            // TileLayer object that we simply don't use yet
           
            // <KeywordList>example tile service</KeywordList>
            // <ContactInformation>
View Full Code Here

Examples of org.geowebcache.io.XMLBuilder.simpleElement()

        try {
            xml.header("1.0", encoding);
            xml.indentElement("TileMap")
            .attribute("version", "1.0.0")
            .attribute("tilemapservice", urlMangler.buildURL(baseUrl, contextPath, "/service/tms/1.0.0"));
            xml.simpleElement("Title", tileMapTitle(layer), true);
            xml.simpleElement("Abstract", tileMapDescription(layer), true);
           
            // <KeywordList></KeywordList>
           // <Metadata type="TC211" mime-type="text/xml" href="http://www.org" />
           // <Attribution>
View Full Code Here

Examples of org.geowebcache.io.XMLBuilder.simpleElement()

            xml.header("1.0", encoding);
            xml.indentElement("TileMap")
            .attribute("version", "1.0.0")
            .attribute("tilemapservice", urlMangler.buildURL(baseUrl, contextPath, "/service/tms/1.0.0"));
            xml.simpleElement("Title", tileMapTitle(layer), true);
            xml.simpleElement("Abstract", tileMapDescription(layer), true);
           
            // <KeywordList></KeywordList>
           // <Metadata type="TC211" mime-type="text/xml" href="http://www.org" />
           // <Attribution>
           //   <Title>National Geospatial Intelligence Agency</Title>
View Full Code Here

Examples of org.geowebcache.io.XMLBuilder.simpleElement()

           // <WebMapContext href="http://wms.org" />
           // <Face>0</Face>
           
            // Check with tschaub whether we actually have to provide this as OSGEO:40041
            // No.
            xml.simpleElement("SRS", gridSub.getSRS().toString(), true);
            double[] coords = gridSub.getCoverageBestFitBounds().getCoords();
            xml.boundingBox(null, coords[0], coords[1], coords[2], coords[3]);
            xml.indentElement("Origin")
                .attribute("x", Double.toString(coords[0]))
                .attribute("y", Double.toString(coords[1]))
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.