|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbe.fedict.eid.applet.service.util.KmlLightDocument
public class KmlLightDocument
A "light" implementation of a KML document
| Field Summary | |
|---|---|
static String |
KML_NS
|
| Constructor Summary | |
|---|---|
KmlLightDocument()
Constructor |
|
| Method Summary | |
|---|---|
void |
addPlacemark(Node name,
Node address,
Node description,
Node timespan)
Create a |
Element |
createAddress(String street,
String municipality,
String zip)
Create a Note: it's up to the processing application to convert the address to (GPS) coordinates. |
Element |
createDescriptionNode(String description)
Create a |
Element |
createName(String name)
Create a |
Element |
createTimespan(Date begin,
Date end)
Create a |
byte[] |
getDocumentAsBytes()
Get the raw KML bytes |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String KML_NS
| Constructor Detail |
|---|
public KmlLightDocument()
throws IOException
IOException| Method Detail |
|---|
public Element createName(String name)
name - name to be used
public Element createAddress(String street,
String municipality,
String zip)
street - street name and numbermunicipality - muncipality / cityzip - zip code
public Element createDescriptionNode(String description)
description - text to be used
public Element createTimespan(Date begin,
Date end)
begin -
public void addPlacemark(Node name,
Node address,
Node description,
Node timespan)
name - the name (title)address - the addressdescription - the short descriptiontimespan - day of birth
public byte[] getDocumentAsBytes()
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||