Tabnine Logo
SamplingFeatureCollectionDocument$Factory.newInstance
Code IndexAdd Tabnine to your IDE (free)

How to use
newInstance
method
in
net.opengis.sampling.x10.SamplingFeatureCollectionDocument$Factory

Best Java code snippets using net.opengis.sampling.x10.SamplingFeatureCollectionDocument$Factory.newInstance (Showing top 2 results out of 315)

origin: org.n52.svalbard/svalbard-xmlbeans

  private XmlObject createFeatureCollection(FeatureCollection sosFeatureCollection) throws EncodingException {
    SamplingFeatureCollectionDocument xbSampFeatCollDoc =
        SamplingFeatureCollectionDocument.Factory.newInstance(getXmlOptions());
    SamplingFeatureCollectionType xbSampFeatColl = xbSampFeatCollDoc.addNewSamplingFeatureCollection();
    xbSampFeatColl.setId("sfc_" + Long.toString(new DateTime().getMillis()));
    for (AbstractFeature sosAbstractFeature : sosFeatureCollection.getMembers().values()) {
      SamplingFeaturePropertyType xbFeatMember = xbSampFeatColl.addNewMember();
      xbFeatMember.set(createFeature(sosAbstractFeature));
    }
    return xbSampFeatCollDoc;
  }
}
origin: org.n52.sensorweb.sos/coding-sos-v100

  private XmlObject createFeatureCollection(FeatureCollection sosFeatureCollection) throws OwsExceptionReport {
    SamplingFeatureCollectionDocument xbSampFeatCollDoc =
        SamplingFeatureCollectionDocument.Factory.newInstance(XmlOptionsHelper.getInstance().getXmlOptions());
    SamplingFeatureCollectionType xbSampFeatColl = xbSampFeatCollDoc.addNewSamplingFeatureCollection();
    xbSampFeatColl.setId("sfc_" + Long.toString(new DateTime().getMillis()));
    for (AbstractFeature sosAbstractFeature : sosFeatureCollection.getMembers().values()) {
      SamplingFeaturePropertyType xbFeatMember = xbSampFeatColl.addNewMember();
      xbFeatMember.set(createFeature(sosAbstractFeature));
    }
    return xbSampFeatCollDoc;
  }
}
net.opengis.sampling.x10SamplingFeatureCollectionDocument$FactorynewInstance

Popular methods of SamplingFeatureCollectionDocument$Factory

    Popular in Java

    • Start an intent from android
    • scheduleAtFixedRate (ScheduledExecutorService)
    • scheduleAtFixedRate (Timer)
    • onRequestPermissionsResult (Fragment)
    • Window (java.awt)
      A Window object is a top-level window with no borders and no menubar. The default layout for a windo
    • KeyStore (java.security)
      KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
    • ResourceBundle (java.util)
      ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
    • JarFile (java.util.jar)
      JarFile is used to read jar entries and their associated data from jar files.
    • Logger (org.apache.log4j)
      This is the central class in the log4j package. Most logging operations, except configuration, are d
    • Location (org.springframework.beans.factory.parsing)
      Class that models an arbitrary location in a Resource.Typically used to track the location of proble
    • Top plugins for WebStorm
    Tabnine Logo
    • Products

      Search for Java codeSearch for JavaScript code
    • IDE Plugins

      IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
    • Company

      About UsContact UsCareers
    • Resources

      FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
    Get Tabnine for your IDE now