net.opengis.gml
Class LineStringType

java.lang.Object
  extended by net.opengis.gml.AbstractGMLType
      extended by net.opengis.gml.AbstractGeometryType
          extended by net.opengis.gml.AbstractGeometricPrimitiveType
              extended by net.opengis.gml.AbstractCurveType
                  extended by net.opengis.gml.LineStringType

public class LineStringType
extends AbstractCurveType

A LineString is a special curve that consists of a single segment with linear interpolation. It is defined by two or more coordinate tuples, with linear interpolation between them. It is backwards compatible with the LineString of GML 2, GM_LineString of ISO 19107 is implemented by LineStringSegment.

Classe Java pour LineStringType complex type.

Le fragment de schéma suivant indique le contenu attendu figurant dans cette classe.

 <complexType name="LineStringType">
   <complexContent>
     <extension base="{http://www.opengis.net/gml}AbstractCurveType">
       <sequence>
         <choice>
           <choice maxOccurs="unbounded" minOccurs="2">
             <element ref="{http://www.opengis.net/gml}pos"/>
             <element ref="{http://www.opengis.net/gml}pointProperty"/>
             <element ref="{http://www.opengis.net/gml}pointRep"/>
             <element ref="{http://www.opengis.net/gml}coord"/>
           </choice>
           <element ref="{http://www.opengis.net/gml}posList"/>
           <element ref="{http://www.opengis.net/gml}coordinates"/>
         </choice>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  CoordinatesType coordinates
           
protected  DirectPositionListType posList
           
protected  List<JAXBElement<?>> posOrPointPropertyOrPointRep
           
 
Fields inherited from class net.opengis.gml.AbstractGeometryType
axisLabels, gid, srsDimension, srsName, uomLabels
 
Fields inherited from class net.opengis.gml.AbstractGMLType
description, id, metaDataProperty, name
 
Constructor Summary
LineStringType()
           
 
Method Summary
 CoordinatesType getCoordinates()
          Deprecated with GML version 3.1.0.
 DirectPositionListType getPosList()
          Obtient la valeur de la propriété posList.
 List<JAXBElement<?>> getPosOrPointPropertyOrPointRep()
          Gets the value of the posOrPointPropertyOrPointRep property.
 boolean isSetCoordinates()
           
 boolean isSetPosList()
           
 boolean isSetPosOrPointPropertyOrPointRep()
           
 void setCoordinates(CoordinatesType value)
          Définit la valeur de la propriété coordinates.
 void setPosList(DirectPositionListType value)
          Définit la valeur de la propriété posList.
 void unsetPosOrPointPropertyOrPointRep()
           
 
Methods inherited from class net.opengis.gml.AbstractGeometryType
getAxisLabels, getGid, getSrsDimension, getSrsName, getUomLabels, isSetAxisLabels, isSetGid, isSetSrsDimension, isSetSrsName, isSetUomLabels, setGid, setSrsDimension, setSrsName, unsetAxisLabels, unsetUomLabels
 
Methods inherited from class net.opengis.gml.AbstractGMLType
getDescription, getId, getMetaDataProperty, getName, isSetDescription, isSetId, isSetMetaDataProperty, isSetName, setDescription, setId, unsetMetaDataProperty, unsetName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

posOrPointPropertyOrPointRep

protected List<JAXBElement<?>> posOrPointPropertyOrPointRep

posList

protected DirectPositionListType posList

coordinates

protected CoordinatesType coordinates
Constructor Detail

LineStringType

public LineStringType()
Method Detail

getPosOrPointPropertyOrPointRep

public List<JAXBElement<?>> getPosOrPointPropertyOrPointRep()
Gets the value of the posOrPointPropertyOrPointRep property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the posOrPointPropertyOrPointRep property.

For example, to add a new item, do as follows:

    getPosOrPointPropertyOrPointRep().add(newItem);
 

Objects of the following type(s) are allowed in the list JAXBElement<DirectPositionType> JAXBElement<CoordType> JAXBElement<PointPropertyType> JAXBElement<PointPropertyType>


isSetPosOrPointPropertyOrPointRep

public boolean isSetPosOrPointPropertyOrPointRep()

unsetPosOrPointPropertyOrPointRep

public void unsetPosOrPointPropertyOrPointRep()

getPosList

public DirectPositionListType getPosList()
Obtient la valeur de la propriété posList.

Returns:
possible object is DirectPositionListType

setPosList

public void setPosList(DirectPositionListType value)
Définit la valeur de la propriété posList.

Parameters:
value - allowed object is DirectPositionListType

isSetPosList

public boolean isSetPosList()

getCoordinates

public CoordinatesType getCoordinates()
Deprecated with GML version 3.1.0. Use "posList" instead.

Returns:
possible object is CoordinatesType

setCoordinates

public void setCoordinates(CoordinatesType value)
Définit la valeur de la propriété coordinates.

Parameters:
value - allowed object is CoordinatesType

isSetCoordinates

public boolean isSetCoordinates()


Copyright © 2014 IRSTV CNRS-FR-2488. All Rights Reserved.