| java.lang.Object org.geotools.data.AbstractDataStore org.geotools.data.wfs.WFSDataStore
Constructor Summary | |
protected | WFSDataStore(URL host, Boolean protocol, String username, String password, int timeout, int buffer, boolean tryGZIP, boolean lenient, String encoding) | protected | WFSDataStore(URL host, Boolean protocol, String username, String password, int timeout, int buffer, boolean tryGZIP) Construct WFSDataStore . | protected | WFSDataStore(URL host, Boolean protocol, String username, String password, int timeout, int buffer, boolean tryGZIP, boolean lenient) Construct WFSDataStore .
Parameters: host - - may not yet be a capabilities url Parameters: protocol - - true,false,null (post,get,auto) Parameters: username - - iff password Parameters: password - - iff username Parameters: timeout - - default 3000 (ms) Parameters: buffer - - default 10 (features) Parameters: tryGZIP - - indicates to use GZIP if server supports it. Parameters: lenient - - if true the parsing will be very forgiving to bad data. |
Method Summary | |
public synchronized void | addFidMapping(String original, String finalFid) Adds a new fid mapping to the fid map. | protected static URL | createGetCapabilitiesRequest(URL host) | protected Envelope | getBounds(Query query) | protected HttpURLConnection | getConnection(URL url, Authenticator auth, boolean isPost) | protected FeatureReader | getFeatureReader(String typeName) | protected FeatureReader | getFeatureReader(String typeName, Query query) | public FeatureReader | getFeatureReader(Query query, Transaction transaction) | protected FeatureReader | getFeatureReaderGet(Query request, Transaction transaction) | protected FeatureReader | getFeatureReaderPost(Query query, Transaction transaction) | public FeatureSource | getFeatureSource(String typeName) | InputStream | getInputStream(HttpURLConnection hc) If the field useGZIP is true Adds gzip to the connection accept-encoding property and creates a gzip inputstream
(if server supports it). | Writer | getOutputStream(HttpURLConnection hc) | public FeatureType | getSchema(String typeName) | protected FeatureType | getSchemaGet(String typeName) | protected FeatureType | getSchemaPost(String typeName) | public String[] | getTypeNames() | protected Filter | getUnsupportedFilter(String typeName, Filter filter) | static FeatureType | parseDescribeFeatureTypeResponse(String typeName, Schema schema) | public Filter | processFilter(Filter filter) Runs
FidFilterVisitor on the filter and returns the result as long as transaction is not AUTO_COMMIT or null.
Parameters: filter - filter to process. | protected Filter[] | splitFilters(Query q, Transaction t) |
AUTO_PROTOCOL | final protected static int AUTO_PROTOCOL(Code) | | |
GET_PROTOCOL | final protected static int GET_PROTOCOL(Code) | | |
POST_PROTOCOL | final protected static int POST_PROTOCOL(Code) | | |
protocol | protected int protocol(Code) | | |
WFSDataStore | protected WFSDataStore(URL host, Boolean protocol, String username, String password, int timeout, int buffer, boolean tryGZIP) throws SAXException, IOException(Code) | | Construct WFSDataStore .
Parameters: host - - may not yet be a capabilities url Parameters: protocol - - true,false,null (post,get,auto) Parameters: username - - iff password Parameters: password - - iff username Parameters: timeout - - default 3000 (ms) Parameters: buffer - - default 10 (features) Parameters: tryGZIP - - indicates to use GZIP if server supports it. throws: SAXException - throws: IOException - |
WFSDataStore | protected WFSDataStore(URL host, Boolean protocol, String username, String password, int timeout, int buffer, boolean tryGZIP, boolean lenient) throws SAXException, IOException(Code) | | Construct WFSDataStore .
Parameters: host - - may not yet be a capabilities url Parameters: protocol - - true,false,null (post,get,auto) Parameters: username - - iff password Parameters: password - - iff username Parameters: timeout - - default 3000 (ms) Parameters: buffer - - default 10 (features) Parameters: tryGZIP - - indicates to use GZIP if server supports it. Parameters: lenient - - if true the parsing will be very forgiving to bad data. Errors will be logged rather than exceptions. throws: SAXException - throws: IOException - |
addFidMapping | public synchronized void addFidMapping(String original, String finalFid)(Code) | | Adds a new fid mapping to the fid map.
Parameters: original - the before fid Parameters: finalFid - the final fid; |
createGetCapabilitiesRequest | protected static URL createGetCapabilitiesRequest(URL host)(Code) | | |
getInputStream | InputStream getInputStream(HttpURLConnection hc) throws IOException(Code) | | If the field useGZIP is true Adds gzip to the connection accept-encoding property and creates a gzip inputstream
(if server supports it). Otherwise returns a normal buffered input stream.
Parameters: hc - the connection to use to create the stream an input steam from the provided connection |
processFilter | public Filter processFilter(Filter filter)(Code) | | Runs
FidFilterVisitor on the filter and returns the result as long as transaction is not AUTO_COMMIT or null.
Parameters: filter - filter to process. Runs FidFilterVisitor on the filter and returns the result as long as transaction is not AUTO_COMMIT or null. |
Methods inherited from org.geotools.data.AbstractDataStore | protected FeatureWriter createFeatureWriter(String typeName, Transaction transaction) throws IOException(Code)(Java Doc) protected InProcessLockingManager createLockingManager()(Code)(Java Doc) protected Map createMetadata(String typeName)(Code)(Java Doc) public void createSchema(FeatureType featureType) throws IOException(Code)(Java Doc) public void dispose()(Code)(Java Doc) protected Envelope getBounds(Query query) throws IOException(Code)(Java Doc) protected int getCount(Query query) throws IOException(Code)(Java Doc) abstract protected FeatureReader getFeatureReader(String typeName) throws IOException(Code)(Java Doc) public FeatureReader getFeatureReader(Query query, Transaction transaction) throws IOException(Code)(Java Doc) protected FeatureReader getFeatureReader(String typeName, Query query) throws IOException(Code)(Java Doc) public FeatureSource getFeatureSource(String typeName) throws IOException(Code)(Java Doc) protected FeatureWriter getFeatureWriter(String typeName) throws IOException(Code)(Java Doc) public FeatureWriter getFeatureWriter(String typeName, Filter filter, Transaction transaction) throws IOException(Code)(Java Doc) public FeatureWriter getFeatureWriter(String typeName, Transaction transaction) throws IOException(Code)(Java Doc) public FeatureWriter getFeatureWriterAppend(String typeName, Transaction transaction) throws IOException(Code)(Java Doc) public LockingManager getLockingManager()(Code)(Java Doc) abstract public FeatureType getSchema(String typeName) throws IOException(Code)(Java Doc) protected Set getSupportedHints()(Code)(Java Doc) abstract public String[] getTypeNames() throws IOException(Code)(Java Doc) protected Filter getUnsupportedFilter(String typeName, Filter filter)(Code)(Java Doc) public FeatureSource getView(Query query) throws IOException, SchemaException(Code)(Java Doc) public void updateSchema(String typeName, FeatureType featureType)(Code)(Java Doc)
|
|
|