/** * Create an instance of {@link AbstractSurfaceType } * */ public AbstractSurfaceType createAbstractSurfaceType() { return new AbstractSurfaceType(); }
/** * Sets ith "_Surface" element */ public void setSurfaceArray(int i, net.opengis.gml.AbstractSurfaceType surface) { synchronized (monitor()) { check_orphaned(); net.opengis.gml.AbstractSurfaceType target = null; target = (net.opengis.gml.AbstractSurfaceType)get_store().find_element_user(SURFACE$1, i); if (target == null) { throw new IndexOutOfBoundsException(); } target.set(surface); } }
/** * Sets the "_Surface" element */ public void setSurface(net.opengis.gml.AbstractSurfaceType surface) { synchronized (monitor()) { check_orphaned(); net.opengis.gml.AbstractSurfaceType target = null; target = (net.opengis.gml.AbstractSurfaceType)get_store().find_element_user(SURFACE$1, 0); if (target == null) { target = (net.opengis.gml.AbstractSurfaceType)get_store().add_element_user(SURFACE$0); } target.set(surface); } }
/** * Sets the "_Surface" element */ public void setSurface(net.opengis.gml.AbstractSurfaceType surface) { synchronized (monitor()) { check_orphaned(); net.opengis.gml.AbstractSurfaceType target = null; target = (net.opengis.gml.AbstractSurfaceType)get_store().find_element_user(SURFACE$1, 0); if (target == null) { target = (net.opengis.gml.AbstractSurfaceType)get_store().add_element_user(SURFACE$0); } target.set(surface); } }
addValuesToFeature(xbSamplingSurface, sampFeat); XmlObject xbGeomety = getEncodedGeometry(sampFeat.getGeometry(), absFeature.getGmlId()); xbSamplingSurface.addNewShape().addNewSurface().set(xbGeomety); sampFeat.wasEncoded(); return xbSamplingSurfaceDoc;
addValuesToFeature(xbSamplingSurface, sampFeat); XmlObject xbGeomety = getEncodedGeometry(sampFeat.getGeometry(), absFeature.getGmlId()); xbSamplingSurface.addNewShape().addNewSurface().set(xbGeomety); sampFeat.wasEncoded(); return xbSamplingSurfaceDoc;