com.moximedia.ows
Class IdentifyLink

java.lang.Object
  extended bycom.moximedia.ows.IdentifyLink
All Implemented Interfaces:
LayerIdentifyType, java.io.Serializable

public class IdentifyLink
extends java.lang.Object
implements LayerIdentifyType, java.io.Serializable

Used to define links that appear in default identify and drill down identify reports in the IMF.

Author:
Doug Cates - www.moximedia.com
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.moximedia.ows.types.LayerIdentifyType
LAYER_IDENTIFY_TYPE_DEFAULT, LAYER_IDENTIFY_TYPE_NONE, LAYER_IDENTIFY_TYPE_URL_APPEND_FIELD_VALUE, LAYER_IDENTIFY_TYPE_URL_FIELD_VALUES, LAYER_IDENTIFY_TYPE_URL_INSERT_FIELD_VALUE, LAYER_IDENTIFY_TYPE_URL_MULTIPLE_FIELD_VALUES
 
Constructor Summary
IdentifyLink()
          Creates new IdentifyLink
 
Method Summary
 java.lang.String[] getFieldNames()
          Gets the field names of the key fields.
 java.lang.String getHandler()
          Gets the handler URL
 java.lang.String getSuffix()
          Gets the suffix used in urlInsertFieldValue routine.
 java.lang.String getText()
          Gets the text used for the link.
 int getType()
          Gets the identify type.
 boolean isPopup()
          Gets an indicator of whether the report should pop up in a separate window.
 void setType(java.lang.String type)
          Sets the identify type
 void setXmlAttribute(java.lang.String tag, java.lang.String name, java.lang.String value, java.lang.String frameworkPath, java.lang.String mapConfigPath)
          Sets one of the attributes of this object using a string value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IdentifyLink

public IdentifyLink()
Creates new IdentifyLink

Method Detail

getFieldNames

public java.lang.String[] getFieldNames()
Gets the field names of the key fields.

Returns:
An array of field names.

getType

public int getType()
Gets the identify type.

Returns:
The identify type.

setType

public void setType(java.lang.String type)
Sets the identify type

Parameters:
type - The identify type.

getHandler

public java.lang.String getHandler()
Gets the handler URL

Returns:
The handler URL.

getSuffix

public java.lang.String getSuffix()
Gets the suffix used in urlInsertFieldValue routine.

Returns:
The suffix used in urlInsertFieldValue routine, or null.

getText

public java.lang.String getText()
Gets the text used for the link.

Returns:
The text used for the link, or null.

isPopup

public boolean isPopup()
Gets an indicator of whether the report should pop up in a separate window.

Returns:
True if it should pop up, otherwise false.

setXmlAttribute

public void setXmlAttribute(java.lang.String tag,
                            java.lang.String name,
                            java.lang.String value,
                            java.lang.String frameworkPath,
                            java.lang.String mapConfigPath)
Sets one of the attributes of this object using a string value. This method should only be called from the SAX event handler.

Parameters:
tag - The XML element tag containing this attribute (not used).
name - The XML attribute name.
value - The XML attribute value.
frameworkPath - The URL path to the IMF.
mapConfigPath - The URL path to the map configuration XML file.


Internet Mapping Framework for OpenGIS Java Object Model API (v1.3.007)
Copyright © 2005 Moxi Media Inc. and Province of British Columbia. All Rights Reserved.