Package net.opengis.wfsv

Examples of net.opengis.wfsv.GetLogType


     */
    public boolean canHandle(Operation operation) {
        //GetFeature operation?
        if ("GetLog".equalsIgnoreCase(operation.getId())) {
            //also check that the resultType is "results"
            GetLogType request = (GetLogType) OwsUtils.parameter(operation.getParameters(),
                    GetLogType.class);

            return request.getResultType() == ResultTypeType.RESULTS_LITERAL;
        }

        return false;
    }
View Full Code Here


     *
     * @generated modifiable
     */
    public Object parse(ElementInstance instance, Node node, Object value)
        throws Exception {
        GetLogType result = wfsvFactory.createGetLogType();
        result.getDifferenceQuery().addAll(node.getChildValues(DifferenceQueryType.class));

        if (node.hasAttribute("resultType")) {
            result.setResultType((ResultTypeType) node.getAttributeValue("resultType"));
        }
        if(node.hasAttribute("version"))
            result.setVersion((String) node.getAttributeValue("version"));
        else
            result.setVersion("1.1.0");

        if (node.hasAttribute("outputFormat")) {
            result.setOutputFormat((String) node.getAttributeValue("outputFormat"));
        } else {
            if("1.0.0".equals(result.getVersion()))
                result.setOutputFormat("GML2");
            else
                result.setOutputFormat("text/xml; subtype=gml/3.1.1");
        }
       
        if(node.hasAttribute("maxFeatures")) {
            result.setMaxFeatures((BigInteger) node.getAttributeValue("maxFeatures"));
        }

        return result;
    }
View Full Code Here

  public boolean canHandle(Operation operation) {
         //GetFeature operation?
        if ("GetLog".equalsIgnoreCase(operation.getId())) {
            //also check that the resultType is "results"
            GetLogType request = (GetLogType) OwsUtils.parameter(operation.getParameters(),
                    GetLogType.class);

            return request.getResultType() == ResultTypeType.RESULTS_LITERAL;
        }

        return false;
  }
View Full Code Here

        super(geoserver);
    }

    protected void write(FeatureCollectionType featureCollection, OutputStream output,
            Operation getFeature) throws IOException, ServiceException {
        GetLogType request = (GetLogType) getFeature.getParameters()[0];
        GetFeatureType ftRequest = toGetFeatureType(featureCollection, request);

        prepare(ftRequest.getOutputFormat(), featureCollection, ftRequest);
        encode(output, featureCollection, ftRequest);
    }
View Full Code Here

    public boolean canHandle(Operation operation) {
        // GetFeature operation?
        if ("GetLog".equalsIgnoreCase(operation.getId())) {
            // also check that the resultType is "results"
            GetLogType request = (GetLogType) OwsUtils.parameter(operation.getParameters(),
                    GetLogType.class);

            return request.getResultType() == ResultTypeType.RESULTS_LITERAL;
        }

        return false;
    }
View Full Code Here

    }

    public boolean canHandle(Operation operation) {
        if ("GetLog".equalsIgnoreCase(operation.getId())) {
            //also check that the resultType is "results"
            GetLogType request = (GetLogType) OwsUtils.parameter(operation.getParameters(),
                    GetLogType.class);

            return request.getResultType() == ResultTypeType.RESULTS_LITERAL;
        }

        return false;
    }
View Full Code Here

        super(geoserver);
    }

    protected void write(FeatureCollectionType featureCollection, OutputStream output,
            Operation getFeature) throws IOException, ServiceException {
        GetLogType request = (GetLogType) getFeature.getParameters()[0];
        GetFeatureType ftRequest = toGetFeatureType(featureCollection, request);

        prepare(ftRequest.getOutputFormat(), featureCollection, ftRequest);
        encode(output, featureCollection, ftRequest);
    }
View Full Code Here

    public boolean canHandle(Operation operation) {
        // GetFeature operation?
        if ("GetLog".equalsIgnoreCase(operation.getId())) {
            // also check that the resultType is "results"
            GetLogType request = (GetLogType) OwsUtils.parameter(operation.getParameters(),
                    GetLogType.class);

            return request.getResultType() == ResultTypeType.RESULTS_LITERAL;
        }

        return false;
    }
View Full Code Here

    }

    public boolean canHandle(Operation operation) {
        if ("GetLog".equalsIgnoreCase(operation.getId())) {
            //also check that the resultType is "results"
            GetLogType request = (GetLogType) OwsUtils.parameter(operation.getParameters(),
                    GetLogType.class);

            return request.getResultType() == ResultTypeType.RESULTS_LITERAL;
        }

        return false;
    }
View Full Code Here

     */
    public boolean canHandle(Operation operation) {
        //GetFeature operation?
        if ("GetLog".equalsIgnoreCase(operation.getId())) {
            //also check that the resultType is "results"
            GetLogType request = (GetLogType) OwsUtils.parameter(operation.getParameters(),
                    GetLogType.class);

            return request.getResultType() == ResultTypeType.RESULTS_LITERAL;
        }

        return false;
    }
View Full Code Here

TOP

Related Classes of net.opengis.wfsv.GetLogType

Copyright © 2018 www.massapicom. 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.