Codota Logo
Wfs20Factory.createDescribeStoredQueriesResponseType
Code IndexAdd Codota to your IDE (free)

How to use
createDescribeStoredQueriesResponseType
method
in
net.opengis.wfs20.Wfs20Factory

Best Java code snippets using net.opengis.wfs20.Wfs20Factory.createDescribeStoredQueriesResponseType (Showing top 1 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
BufferedReader b =
  • Codota IconInputStream in;new BufferedReader(new InputStreamReader(in))
  • Codota IconReader in;new BufferedReader(in)
  • Codota IconFile file;new BufferedReader(new FileReader(file))
  • Smart code suggestions by Codota
}
origin: org.geoserver/gs-wfs

public DescribeStoredQueriesResponseType run(DescribeStoredQueriesType request)
    throws WFSException {
  Wfs20Factory factory = Wfs20Factory.eINSTANCE;
  DescribeStoredQueriesResponseType response =
      factory.createDescribeStoredQueriesResponseType();
  List<StoredQueryProvider> providers =
      GeoServerExtensions.extensions(StoredQueryProvider.class);
  if (request.getStoredQueryId().isEmpty()) {
    for (StoredQuery query : storedQueryProvider.listStoredQueries()) {
      describeStoredQuery(query, response);
    }
  } else {
    for (URI id : request.getStoredQueryId()) {
      StoredQuery query = storedQueryProvider.getStoredQuery(id.toString());
      if (query == null) {
        WFSException exception =
            new WFSException(
                request,
                "No such stored query: " + id,
                ServiceException.INVALID_PARAMETER_VALUE);
        exception.setLocator("STOREDQUERY_ID");
        throw exception;
      }
      describeStoredQuery(query, response);
    }
  }
  return response;
}
net.opengis.wfs20Wfs20FactorycreateDescribeStoredQueriesResponseType

Javadoc

Returns a new object of class 'Describe Stored Queries Response Type'.

Popular methods of Wfs20Factory

  • createDeleteType
  • createGetFeatureType
  • createParameterType
  • createFeatureCollectionType
  • createInsertType
  • createPropertyType
  • createQueryType
  • createReplaceType
  • createStoredQueryType
  • createTransactionType
  • createUpdateType
  • createValueReferenceType
  • createUpdateType,
  • createValueReferenceType,
  • createActionResultsType,
  • createCreateStoredQueryResponseType,
  • createCreatedOrModifiedFeatureType,
  • createDescribeFeatureTypeType,
  • createDescribeStoredQueriesType,
  • createExecutionStatusType,
  • createFeaturesLockedType

Popular in Java

  • Start an intent from android
  • runOnUiThread (Activity)
  • putExtra (Intent)
  • findViewById (Activity)
  • FileOutputStream (java.io)
    A file output stream is an output stream for writing data to aFile or to a FileDescriptor. Whether
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • LinkedHashMap (java.util)
    Hash table and linked list implementation of the Map interface, with predictable iteration order. Th
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement.A servlet is a small Java program that runs within
  • Loader (org.hibernate.loader)
    Abstract superclass of object loading (and querying) strategies. This class implements useful common
  • Logger (org.slf4j)
    The main user interface to logging. It is expected that logging takes place through concrete impleme
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now