com.sony.csl.j2me.locationapitools.tracking
Class KMLStyle

java.lang.Object
  extended by com.sony.csl.j2me.locationapitools.tracking.KMLStyle
Direct Known Subclasses:
DefaultKMLStyle

public abstract class KMLStyle
extends java.lang.Object

Subclasses of this class can specify custom KML styles to be used by KMLTrackWriter ¨

Author:
mstevens (Sony CSL Paris / Vrije Universiteit Brussel)

Constructor Summary
KMLStyle()
           
 
Method Summary
abstract  java.lang.String getApplicationName()
           
abstract  java.lang.String getBoundingBoxStyleURL()
           
abstract  java.lang.String getLocationStyleURL()
           
 java.lang.String getStyleDefinitions()
          Gives the style definitions that should be included in the header of the KML file
abstract  java.lang.String getStyleDefinitions(int tabs)
          Gives the style definitions that should be included in the header of the KML file, tabbed with tabs \t's
abstract  java.lang.String getTrackLineStyleURL()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KMLStyle

public KMLStyle()
Method Detail

getApplicationName

public abstract java.lang.String getApplicationName()

getStyleDefinitions

public java.lang.String getStyleDefinitions()
Gives the style definitions that should be included in the header of the KML file

Returns:
a String with all style definitions

getStyleDefinitions

public abstract java.lang.String getStyleDefinitions(int tabs)
Gives the style definitions that should be included in the header of the KML file, tabbed with tabs \t's

Parameters:
tabs - number of \t's to go in front of every line
Returns:
a String with all style definitions that should be included in the header of the KML file

getLocationStyleURL

public abstract java.lang.String getLocationStyleURL()

getBoundingBoxStyleURL

public abstract java.lang.String getBoundingBoxStyleURL()

getTrackLineStyleURL

public abstract java.lang.String getTrackLineStyleURL()