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

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

public class NetworkLink
extends java.lang.Object

Build the NetworkLink section of a KML document.

    
 


Constructor Summary
NetworkLink(org.w3c.dom.Document doc)
          NetworkLink constructor
 
Method Summary
 org.w3c.dom.Element getElement()
           
 org.w3c.dom.Element setUrl(java.lang.String url, int interval, java.lang.String mode)
          Add an Url with href attribute
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NetworkLink

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

Parameters:
doc - Document
Method Detail

getElement

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

setUrl

public org.w3c.dom.Element setUrl(java.lang.String url,
                                  int interval,
                                  java.lang.String mode)
Add an Url with href attribute
 Note: The url can have one of the the forms:
   http://node:port/address
   c:/path/file.kml
  
 The valid URL of "file:///c:/path/file.kml 
 does not work with GoogleEarth NetworkLink.   
 

Parameters:
url - URL to be downloaded
interval - seconds between refresh
mode -
refresh - mode If null then "onInterval"
Returns:
XML element