Punto.java | searchcode Home About API searchcode server PageRenderTime 20ms CodeModel.GetById 13ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 0ms /Prototipo/Servlet/src/java/Punto.java http://prototipomemoria.googlecode.com/ Java | 35 lines | 18 code | 9 blank | 8 comment | 0 complexity | 2bd5caef194ea8924227c953ca60c60a MD5 | raw file  1/*  2 * To change this template, choose Tools | Templates  3 * and open the template in the editor.  4 */  5  6/**  7 *  8 * @author Fran  9 */ 10public class Punto implements ElemGeograf { 11    private Coordenadas coord; 12    private String descr; 13 14    public String getDescr() 15    { 16        return this.descr; 17    } 18 19    public Punto(Coordenadas unaCoordenada) 20    { 21         22        coord = unaCoordenada; 23    } 24 25 26    public String ToKml(int nivel) 27    { 28        String result =  "<Placemark>\n\t <Point>\n\t <coordinates> "+this.coord.ToKml() 29                +"</coordinates>\n </Point> \n </Placemark> \n"; 30 31        return result; 32    } 33     34 35} searchcode is proudly made in Sydney by ben boyter