org.geotools.data.wfs
Class WFSFeatureReader

java.lang.Object
  extended byjava.lang.Thread
      extended byorg.geotools.xml.gml.FCBuffer
          extended byorg.geotools.data.wfs.WFSFeatureReader
All Implemented Interfaces:
FeatureReader, java.lang.Runnable

public class WFSFeatureReader
extends FCBuffer

DOCUMENT ME!

Author:
dzwiers

Nested Class Summary
 
Nested classes inherited from class org.geotools.xml.gml.FCBuffer
FCBuffer.StopException
 
Field Summary
 
Fields inherited from class org.geotools.xml.gml.FCBuffer
exception, FINISH, ft, logger, state, STOP
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Method Summary
static WFSFeatureReader getFeatureReader(java.io.InputStream is, int capacity, int timeout, WFSTransactionState transaction, FeatureType ft)
           
static FeatureReader getFeatureReader(java.net.URI document, int capacity, int timeout, WFSTransactionState transaction, FeatureType ft)
           
 boolean hasNext()
          Query whether this FeatureReader has another Feature.
 Feature next()
          Reads the next Feature in the FeatureReader.
 void run()
           
 
Methods inherited from class org.geotools.xml.gml.FCBuffer
addFeature, close, getCapacity, getFeatureReader, getFeatureReader, getFeatureReader, getFeatureReader, getFeatureType, getSize, getTimeout, peek
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getFeatureReader

public static FeatureReader getFeatureReader(java.net.URI document,
                                             int capacity,
                                             int timeout,
                                             WFSTransactionState transaction,
                                             FeatureType ft)
                                      throws org.xml.sax.SAXException
Parameters:
document -
capacity -
timeout -
transaction -
ft -
Returns:
WFSFeatureReader
Throws:
org.xml.sax.SAXException

getFeatureReader

public static WFSFeatureReader getFeatureReader(java.io.InputStream is,
                                                int capacity,
                                                int timeout,
                                                WFSTransactionState transaction,
                                                FeatureType ft)
                                         throws org.xml.sax.SAXException
Parameters:
is -
capacity -
timeout -
transaction -
ft -
Returns:
WFSFeatureReader
Throws:
org.xml.sax.SAXException

run

public void run()
Specified by:
run in interface java.lang.Runnable
Overrides:
run in class FCBuffer
See Also:
Runnable.run()

hasNext

public boolean hasNext()
                throws java.io.IOException
Description copied from interface: FeatureReader
Query whether this FeatureReader has another Feature.

Specified by:
hasNext in interface FeatureReader
Overrides:
hasNext in class FCBuffer
Throws:
java.io.IOException
See Also:
FeatureReader.hasNext()

next

public Feature next()
             throws java.io.IOException,
                    java.util.NoSuchElementException
Description copied from interface: FeatureReader
Reads the next Feature in the FeatureReader.

Specified by:
next in interface FeatureReader
Overrides:
next in class FCBuffer
Throws:
java.io.IOException
java.util.NoSuchElementException
See Also:
FeatureReader.next()


Copyright © GeoTools. All Rights Reserved.