congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
GeometryPropertyType.set
Code IndexAdd Tabnine to your IDE (free)

How to use
set
method
in
net.opengis.gml.x32.GeometryPropertyType

Best Java code snippets using net.opengis.gml.x32.GeometryPropertyType.set (Showing top 13 results out of 315)

origin: org.n52.sensorweb/52n-xml-cv-v022

/**
 * Sets ith "spatialElement" element
 */
public void setSpatialElementArray(int i, net.opengis.gml.x32.GeometryPropertyType spatialElement)
{
  synchronized (monitor())
  {
    check_orphaned();
    net.opengis.gml.x32.GeometryPropertyType target = null;
    target = (net.opengis.gml.x32.GeometryPropertyType)get_store().find_element_user(SPATIALELEMENT$0, i);
    if (target == null)
    {
      throw new IndexOutOfBoundsException();
    }
    target.set(spatialElement);
  }
}

origin: org.n52.sensorweb.sos/inspire-coding

private void setGeometry(AbstractMonitoringObjectType amot, AbstractMonitoringObject abstractMonitoringObject) throws OwsExceptionReport {
  if (abstractMonitoringObject.isSetGeometry()) {
    if (abstractMonitoringObject.isSetGmlID()) {
      Map<HelperValues, String> additionalValues = Maps.newHashMap();
      additionalValues.put(HelperValues.GMLID, abstractMonitoringObject.getGmlId());
      amot.addNewGeometry().set(encodeGML32(abstractMonitoringObject.getGeometry(), additionalValues));
    } else {
      amot.addNewGeometry().set(encodeGML32(abstractMonitoringObject.getGeometry()));
    }
  }
}
origin: org.n52.sensorweb/52n-xml-gml-v321

/**
 * Sets ith "geometryMember" element
 */
public void setGeometryMemberArray(int i, net.opengis.gml.x32.GeometryPropertyType geometryMember)
{
  synchronized (monitor())
  {
    check_orphaned();
    net.opengis.gml.x32.GeometryPropertyType target = null;
    target = (net.opengis.gml.x32.GeometryPropertyType)get_store().find_element_user(GEOMETRYMEMBER$0, i);
    if (target == null)
    {
      throw new IndexOutOfBoundsException();
    }
    target.set(geometryMember);
  }
}

origin: org.n52.svalbard/svalbard-xmlbeans

private void addSamplingLocation(SFSpecimenType sfst, SfSpecimen specimen) throws EncodingException {
  if (specimen.isSetSamplingLocation()) {
    sfst.addNewSamplingLocation().set(encodeGML32(specimen.getSamplingLocation(),
        EncodingContext.of(XmlBeansEncodingFlags.PROPERTY_TYPE, "true")));
  }
}
origin: org.n52.svalbard/svalbard-xmlbeans

private void setGeometry(AbstractMonitoringObjectType amot, AbstractMonitoringObject abstractMonitoringObject)
    throws EncodingException {
  if (abstractMonitoringObject.isSetGeometry()) {
    if (abstractMonitoringObject.isSetGmlID()) {
      amot.addNewGeometry().set(encodeGML32(abstractMonitoringObject.getGeometry(),
          new EncodingContext().with(XmlBeansEncodingFlags.GMLID, abstractMonitoringObject.getGmlId())));
    } else {
      amot.addNewGeometry().set(encodeGML32(abstractMonitoringObject.getGeometry()));
    }
  }
}
origin: org.n52.sensorweb/52n-xml-inspire-gn-v40

/**
 * Sets the "geometry" element
 */
public void setGeometry(net.opengis.gml.x32.GeometryPropertyType geometry)
{
  synchronized (monitor())
  {
    check_orphaned();
    net.opengis.gml.x32.GeometryPropertyType target = null;
    target = (net.opengis.gml.x32.GeometryPropertyType)get_store().find_element_user(GEOMETRY$4, 0);
    if (target == null)
    {
      target = (net.opengis.gml.x32.GeometryPropertyType)get_store().add_element_user(GEOMETRY$4);
    }
    target.set(geometry);
  }
}

origin: org.n52.sensorweb/52n-xml-inspire-ef-v40

/**
 * Sets the "geometry" element
 */
public void setGeometry(net.opengis.gml.x32.GeometryPropertyType geometry)
{
  synchronized (monitor())
  {
    check_orphaned();
    net.opengis.gml.x32.GeometryPropertyType target = null;
    target = (net.opengis.gml.x32.GeometryPropertyType)get_store().find_element_user(GEOMETRY$12, 0);
    if (target == null)
    {
      target = (net.opengis.gml.x32.GeometryPropertyType)get_store().add_element_user(GEOMETRY$12);
    }
    target.set(geometry);
  }
}

origin: org.n52.sensorweb/52n-xml-gml-v33

/**
 * Sets the "elementGeometry" element
 */
public void setElementGeometry(net.opengis.gml.x32.GeometryPropertyType elementGeometry)
{
  synchronized (monitor())
  {
    check_orphaned();
    net.opengis.gml.x32.GeometryPropertyType target = null;
    target = (net.opengis.gml.x32.GeometryPropertyType)get_store().find_element_user(ELEMENTGEOMETRY$6, 0);
    if (target == null)
    {
      target = (net.opengis.gml.x32.GeometryPropertyType)get_store().add_element_user(ELEMENTGEOMETRY$6);
    }
    target.set(elementGeometry);
  }
}

origin: org.n52.sensorweb/52n-xml-sampling-v20

/**
 * Sets the "samplingLocation" element
 */
public void setSamplingLocation(net.opengis.gml.x32.GeometryPropertyType samplingLocation)
{
  synchronized (monitor())
  {
    check_orphaned();
    net.opengis.gml.x32.GeometryPropertyType target = null;
    target = (net.opengis.gml.x32.GeometryPropertyType)get_store().find_element_user(SAMPLINGLOCATION$6, 0);
    if (target == null)
    {
      target = (net.opengis.gml.x32.GeometryPropertyType)get_store().add_element_user(SAMPLINGLOCATION$6);
    }
    target.set(samplingLocation);
  }
}

origin: org.n52.sensorweb/52n-xml-inspire-cp-v40

/**
 * Sets the "geometry" element
 */
public void setGeometry(net.opengis.gml.x32.GeometryPropertyType geometry)
{
  synchronized (monitor())
  {
    check_orphaned();
    net.opengis.gml.x32.GeometryPropertyType target = null;
    target = (net.opengis.gml.x32.GeometryPropertyType)get_store().find_element_user(GEOMETRY$6, 0);
    if (target == null)
    {
      target = (net.opengis.gml.x32.GeometryPropertyType)get_store().add_element_user(GEOMETRY$6);
    }
    target.set(geometry);
  }
}

origin: org.n52.sensorweb/52n-xml-gml-v321

/**
 * Sets the "position" element
 */
public void setPosition(net.opengis.gml.x32.GeometryPropertyType position)
{
  synchronized (monitor())
  {
    check_orphaned();
    net.opengis.gml.x32.GeometryPropertyType target = null;
    target = (net.opengis.gml.x32.GeometryPropertyType)get_store().find_element_user(POSITION$0, 0);
    if (target == null)
    {
      target = (net.opengis.gml.x32.GeometryPropertyType)get_store().add_element_user(POSITION$0);
    }
    target.set(position);
  }
}

origin: org.n52.sensorweb/52n-xml-gml-v321

/**
 * Sets the "geometryMember" element
 */
public void setGeometryMember(net.opengis.gml.x32.GeometryPropertyType geometryMember)
{
  synchronized (monitor())
  {
    check_orphaned();
    net.opengis.gml.x32.GeometryPropertyType target = null;
    target = (net.opengis.gml.x32.GeometryPropertyType)get_store().find_element_user(GEOMETRYMEMBER$0, 0);
    if (target == null)
    {
      target = (net.opengis.gml.x32.GeometryPropertyType)get_store().add_element_user(GEOMETRYMEMBER$0);
    }
    target.set(geometryMember);
  }
}

origin: org.n52.sensorweb/52n-xml-inspire-bu-base-v40

/**
 * Sets the "geometry" element
 */
public void setGeometry(net.opengis.gml.x32.GeometryPropertyType geometry)
{
  synchronized (monitor())
  {
    check_orphaned();
    net.opengis.gml.x32.GeometryPropertyType target = null;
    target = (net.opengis.gml.x32.GeometryPropertyType)get_store().find_element_user(GEOMETRY$0, 0);
    if (target == null)
    {
      target = (net.opengis.gml.x32.GeometryPropertyType)get_store().add_element_user(GEOMETRY$0);
    }
    target.set(geometry);
  }
}

net.opengis.gml.x32GeometryPropertyTypeset

Javadoc

Sets the "AbstractGeometry" element

Popular methods of GeometryPropertyType

  • addNewAbstractGeometry
    Appends and returns a new empty "AbstractGeometry" element
  • getAbstractGeometry
    Gets the "AbstractGeometry" element
  • setAbstractGeometry
    Sets the "AbstractGeometry" element
  • setHref
    Sets the "href" attribute

Popular in Java

  • Updating database using SQL prepared statement
  • findViewById (Activity)
  • setContentView (Activity)
  • getSystemService (Context)
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • Permission (java.security)
    Legacy security code; do not use.
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • Set (java.util)
    A Set is a data structure which does not allow duplicate elements.
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • 21 Best IntelliJ Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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