com.moximedia.aims
Class AimsFeatures

java.lang.Object
  extended bycom.moximedia.aims.AimsFeatures
All Implemented Interfaces:
java.io.Serializable

public class AimsFeatures
extends java.lang.Object
implements java.io.Serializable

Implementation of ArcIMS FEATURES object. Note that the programmer doesn't need to use this class as convenience methods in the recordset object perform all the functions relating to recordsets and features.

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

Constructor Summary
AimsFeatures()
          Creates new AimsFeatures object
 
Method Summary
protected  boolean addFeature(AimsFeature feature)
          Adds a feature to the collection ¶m feature The feature to add to the collection.
 void clear()
           
 int getCount()
          Returns the total number of features &return The total number of features.
 AimsFeature getFeature(java.lang.String id)
           
 java.util.Vector getFeatures()
          Gets the feature collection &return A vector containing the features.
 AimsEnvelope getGlobalExtent()
          Gets the extent of the features.
 boolean getHasMore()
           
 void setAxlAttribute(java.lang.String tag, java.lang.String name, java.lang.String value)
          Sets one of the attributes of this object using a string value.
protected  void setGlobalExtent(AimsEnvelope env)
          Sets the extent of all the features in the collection.
 int size()
           
 void sort(AimsField field)
          Sorts the elements by the specified field.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AimsFeatures

public AimsFeatures()
Creates new AimsFeatures object

Method Detail

sort

public void sort(AimsField field)
Sorts the elements by the specified field.

Parameters:
field - The field to sort by.

size

public int size()

clear

public void clear()

addFeature

protected boolean addFeature(AimsFeature feature)
Adds a feature to the collection ¶m feature The feature to add to the collection.


getCount

public int getCount()
Returns the total number of features &return The total number of features.


getFeature

public AimsFeature getFeature(java.lang.String id)

getFeatures

public java.util.Vector getFeatures()
Gets the feature collection &return A vector containing the features.


getGlobalExtent

public AimsEnvelope getGlobalExtent()
Gets the extent of the features. &return The extent of all of the features in the collection.


getHasMore

public boolean getHasMore()

setGlobalExtent

protected void setGlobalExtent(AimsEnvelope env)
Sets the extent of all the features in the collection. ¶m env An envelope that is the extent of all the features.


setAxlAttribute

public void setAxlAttribute(java.lang.String tag,
                            java.lang.String name,
                            java.lang.String value)
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 AXL element tag containing this attribute (not used).
name - The AXL attribute name.
value - The AXL attribute value.


Internet Mapping Framework for ArcIMS Java Object Model API (v5.1.00)
Copyright © 2006 Moxi Media Inc. and Province of British Columbia. All Rights Reserved.