Examples of GetFeatureParser


Examples of org.geotools.data.wfs.protocol.wfs.GetFeatureParser

    /**
     * @see FeatureReader#close()
     */
    public void close() throws IOException {
        // System.err.println("Closing WFSFeatureReader for " + featureType.getName());
        final GetFeatureParser parser = this.parser;
        this.parser = null;
        this.next = null;
        if (parser != null) {
            parser.close();
        }
    }
View Full Code Here

Examples of org.geotools.data.wfs.protocol.wfs.GetFeatureParser

    @Override
    protected GetFeatureParser getParser(final QName featureName, final String schemaLocation,
            final SimpleFeatureType featureType, final URL getFeaturesRequest) throws IOException {

        InputStream inputStream = new BufferedInputStream(getFeaturesRequest.openStream());
        GetFeatureParser parser = new XmlSimpleFeatureParser(inputStream,
                featureType, featureName, WFSDataStore.AXIS_ORDER_COMPLIANT,
                new HashMap<String, String>());
        return parser;
    }
View Full Code Here

Examples of org.geotools.data.wfs.protocol.wfs.GetFeatureParser

        WFSResponse response = executeGetFeatures(query, transaction, ResultType.RESULTS);

        Object result = WFSExtensions.process(this, response, mappedURIs);

        GetFeatureParser parser;
        if (result instanceof WFSException) {
            // try to recover from common server implementation errors
            throw (WFSException) result;
        } else if (result instanceof GetFeatureParser) {
            parser = (GetFeatureParser) result;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.