org.geotools.wfs
Class PropertyValueCollection

Object
  extended by AbstractCollection<Attribute>
      extended by PropertyValueCollection
All Implemented Interfaces:
Iterable<Attribute>, Collection<Attribute>

public class PropertyValueCollection
extends AbstractCollection<Attribute>

Wrapping feature collection used by GetPropertyValue operation.

This feature collection pulls only the specified property out of the delegate feature collection.

Author:
Justin Deoliveira, OpenGeo

Constructor Summary
PropertyValueCollection(FeatureCollection delegate, AttributeDescriptor descriptor, PropertyName propName)
           
 
Method Summary
 Iterator iterator()
           
 int size()
           
 
Methods inherited from class AbstractCollection
add, addAll, clear, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface Collection
equals, hashCode
 

Constructor Detail

PropertyValueCollection

public PropertyValueCollection(FeatureCollection delegate,
                               AttributeDescriptor descriptor,
                               PropertyName propName)
Method Detail

size

public int size()
Specified by:
size in interface Collection<Attribute>
Specified by:
size in class AbstractCollection<Attribute>

iterator

public Iterator iterator()
Specified by:
iterator in interface Iterable<Attribute>
Specified by:
iterator in interface Collection<Attribute>
Specified by:
iterator in class AbstractCollection<Attribute>


Copyright © 1996-2014 Geotools. All Rights Reserved.