LineBuilder builder = new LineBuilder();
if (entry.getType() == EntryType.LOCATION_TYPE) {
Location loc = entry.getLocation();
builder.addLine("<Placemark>");
builder.addLine("<description>");
builder.addLine("accuracy = " + loc.getAccuracy());
builder.addLine("distance from last network location = "
+ entry.getDistFromNetLocation());
builder.addLine("</description>");
builder.addLine("<TimeStamp>");
builder.addLine("<when>" + entry.getTimestamp() + "</when>");
builder.addLine("</TimeStamp>");
builder.addLine("<Point>");
builder.addLine("<coordinates>");
builder.addLine(loc.getLongitude() + "," + loc.getLatitude() + ","
+ loc.getAltitude());
builder.addLine("</coordinates>");
builder.addLine("</Point>");
builder.addLine("</Placemark>");
}
return builder.toString();