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

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

Best Java code snippets using net.opengis.wfs20.Wfs20Factory.createFeatureCollectionType (Showing top 5 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: geotools/geotools

FeatureCollection featureCollection = it.next();
FeatureCollectionType member = Wfs20Factory.eINSTANCE.createFeatureCollectionType();
member.setTimeStamp((Calendar) EMFUtils.get(fc, "timeStamp"));
member.getMember().add(featureCollection);
origin: org.geoserver/gs-wfs

@Override
public FeatureCollectionResponse create() {
  return FeatureCollectionResponse.adapt(
      ((Wfs20Factory) getFactory()).createFeatureCollectionType());
}
origin: org.geoserver/gs-wfs

@Override
public FeatureCollectionResponse createResponse() {
  return new FeatureCollectionResponse.WFS20(
      ((Wfs20Factory) getFactory()).createFeatureCollectionType());
}
origin: org.geotools.xsd/gt-xsd-wfs

FeatureCollection featureCollection = it.next();
FeatureCollectionType member = Wfs20Factory.eINSTANCE.createFeatureCollectionType();
member.setTimeStamp((Calendar) EMFUtils.get(fc, "timeStamp"));
member.getMember().add(featureCollection);
origin: org.geoserver/gs-wfs

  @Override
  public Object unadapt(Class target) {
    if (target.equals(FeatureCollectionType.class)) {
      return adaptee;
    } else if (target.equals(net.opengis.wfs20.FeatureCollectionType.class)) {
      FeatureCollectionType source = (FeatureCollectionType) adaptee;
      net.opengis.wfs20.FeatureCollectionType result =
          Wfs20Factory.eINSTANCE.createFeatureCollectionType();
      result.getMember().addAll(source.getFeature());
      result.setNumberReturned(source.getNumberOfFeatures());
      result.setLockId(source.getLockId());
      result.setTimeStamp(source.getTimeStamp());
      return result;
    } else {
      throw new WFSException(
          "Cannot transform " + adaptee + " to the specified target class " + target);
    }
  }
}
net.opengis.wfs20Wfs20FactorycreateFeatureCollectionType

Javadoc

Returns a new object of class 'Feature Collection Type'.

Popular methods of Wfs20Factory

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

Popular in Java

  • Reading from database using SQL prepared statement
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • onCreateOptionsMenu (Activity)
  • addToBackStack (FragmentTransaction)
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • Stack (java.util)
    The Stack class represents a last-in-first-out (LIFO) stack of objects. It extends class Vector with
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • JLabel (javax.swing)
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