com.lamatek.tags.google
Class GoogleMapKeyTag

java.lang.Object
  extended by TagSupport
      extended by com.lamatek.tags.google.GoogleMapKeyTag
All Implemented Interfaces:
java.io.Serializable

public class GoogleMapKeyTag
extends TagSupport
implements java.io.Serializable

GoogleMapKeyTag This tag represents a <googlemaps:key> tag. Developers should not extend or override this class.

Version:
0.40
Author:
Tom Cole

Constructor Summary
GoogleMapKeyTag()
           
 
Method Summary
 int doEndTag()
          Overrides doEndTag() from TagSupport.
 void setDomain(java.lang.String domain)
          Sets the domain name (i.e.
 void setKey(java.lang.String key)
          Sets the Google Maps API key that refers to this key's domain.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GoogleMapKeyTag

public GoogleMapKeyTag()
Method Detail

doEndTag

public int doEndTag()
Overrides doEndTag() from TagSupport. Developers should not override this method.


setDomain

public void setDomain(java.lang.String domain)
Sets the domain name (i.e. www.lamatek.com) that this key was issued for.

Parameters:
domain - This key's registered domain.

setKey

public void setKey(java.lang.String key)
Sets the Google Maps API key that refers to this key's domain.

Parameters:
key - A valid Google Maps API key for the current domain.