org.eclipse.ohf.stem.ui.ge.kml
Class PlaceMark

java.lang.Object
  extended by org.eclipse.ohf.stem.ui.ge.kml.PlaceMark

public class PlaceMark
extends java.lang.Object

Build the PlaceMark section of a KML document.


Constructor Summary
PlaceMark(org.w3c.dom.Document doc)
          PlaceMark constructor
 
Method Summary
 void appendChild(org.w3c.dom.Element element)
          Add a section (i.e.
 org.w3c.dom.Element getElement()
           
 void setDescription(java.lang.String description)
          Add a description tag to the PlaceMark
 void setName(java.lang.String name)
          Add a description tag to the PlaceMark
 void setStyleUrl(Style style)
          Add a styleUrl pointing to an existing Style
 void setVisibility(java.lang.String value)
          Add a visibility tag to the PlaceMark
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlaceMark

public PlaceMark(org.w3c.dom.Document doc)
PlaceMark constructor

Parameters:
doc -
Method Detail

getElement

public org.w3c.dom.Element getElement()
Returns:
PlaceMark Element

setDescription

public void setDescription(java.lang.String description)
Add a description tag to the PlaceMark

Parameters:
description -

setName

public void setName(java.lang.String name)
Add a description tag to the PlaceMark

Parameters:
name -

setVisibility

public void setVisibility(java.lang.String value)
Add a visibility tag to the PlaceMark

Parameters:
value - Usually "0"

setStyleUrl

public void setStyleUrl(Style style)
Add a styleUrl pointing to an existing Style

Parameters:
style - Style object

appendChild

public void appendChild(org.w3c.dom.Element element)
Add a section (i.e. LookAt) to the PlaceMark

Parameters:
element -