/*
* GeoTools - The Open Source Java GIS Toolkit
* http://geotools.org
*
* (C) 2003-2008, Open Source Geospatial Foundation (OSGeo)
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation;
* version 2.1 of the License.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* Created on August 12, 2003, 7:29 PM
*/
package org.geotools.feature;
import java.util.Collection;
import java.util.Iterator;
import org.geotools.data.simple.SimpleFeatureCollection;
import org.geotools.data.simple.SimpleFeatureIterator;
import org.geotools.geometry.jts.ReferencedEnvelope;
import org.opengis.feature.simple.SimpleFeature;
import org.opengis.feature.simple.SimpleFeatureType;
import org.opengis.filter.Filter;
import org.opengis.filter.sort.SortBy;
/**
* @author jamesm
*
* @source $URL$
*/
public class MockFeatureCollection implements SimpleFeatureCollection {
/** Creates a new instance of MockFeatureCollection */
public MockFeatureCollection() {
}
public void accepts(org.opengis.feature.FeatureVisitor visitor,
org.opengis.util.ProgressListener progress) {
}
public void addListener(CollectionListener listener)
throws NullPointerException {
}
public void close(FeatureIterator<SimpleFeature> close) {
}
public void close(Iterator close) {
}
public SimpleFeatureIterator features() {
return null;
}
public SimpleFeatureType getSchema() {
return null;
}
public void removeListener(CollectionListener listener)
throws NullPointerException {
}
public SimpleFeatureCollection sort(SortBy order) {
return null;
}
public SimpleFeatureCollection subCollection(Filter filter) {
return null;
}
public Iterator iterator() {
return null;
}
public void purge() {
}
public boolean add(SimpleFeature o) {
return false;
}
public boolean addAll(Collection c) {
return false;
}
public boolean addAll(
FeatureCollection<? extends SimpleFeatureType, ? extends SimpleFeature> resource) {
return false;
}
public void clear() {
}
public boolean contains(Object o) {
return false;
}
public boolean containsAll(Collection c) {
return false;
}
public boolean isEmpty() {
return false;
}
public boolean remove(Object o) {
return false;
}
public boolean removeAll(Collection c) {
return false;
}
public boolean retainAll(Collection c) {
return false;
}
public int size() {
return 0;
}
public Object[] toArray() {
return null;
}
public Object[] toArray(Object[] a) {
return null;
}
public ReferencedEnvelope getBounds() {
return null;
}
public String getID() {
return null;
}
}