org.citygml4j.jaxb.gml._3_1_1
Class PolygonType

java.lang.Object
  extended by org.citygml4j.jaxb.gml._3_1_1.AbstractGMLType
      extended by org.citygml4j.jaxb.gml._3_1_1.AbstractGeometryType
          extended by org.citygml4j.jaxb.gml._3_1_1.AbstractGeometricPrimitiveType
              extended by org.citygml4j.jaxb.gml._3_1_1.AbstractSurfaceType
                  extended by org.citygml4j.jaxb.gml._3_1_1.PolygonType

public class PolygonType
extends AbstractSurfaceType

A Polygon is a special surface that is defined by a single surface patch. The boundary of this patch is coplanar and the polygon uses planar interpolation in its interior. It is backwards compatible with the Polygon of GML 2, GM_Polygon of ISO 19107 is implemented by PolygonPatch.

Java class for PolygonType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="PolygonType">
   <complexContent>
     <extension base="{http://www.opengis.net/gml}AbstractSurfaceType">
       <sequence>
         <element ref="{http://www.opengis.net/gml}exterior" minOccurs="0"/>
         <element ref="{http://www.opengis.net/gml}interior" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 


Constructor Summary
PolygonType()
           
 
Method Summary
 javax.xml.bind.JAXBElement<AbstractRingPropertyType> getExterior()
          Gets the value of the exterior property.
 java.util.List<javax.xml.bind.JAXBElement<AbstractRingPropertyType>> getInterior()
          Gets the value of the interior property.
 boolean isSetExterior()
           
 boolean isSetInterior()
           
 void setExterior(javax.xml.bind.JAXBElement<AbstractRingPropertyType> value)
          Sets the value of the exterior property.
 void setInterior(java.util.List<javax.xml.bind.JAXBElement<AbstractRingPropertyType>> interior)
          Sets the value of the interior property.
 void unsetInterior()
           
 
Methods inherited from class org.citygml4j.jaxb.gml._3_1_1.AbstractGeometryType
getAxisLabels, getGid, getSrsDimension, getSrsName, getUomLabels, isSetAxisLabels, isSetGid, isSetSrsDimension, isSetSrsName, isSetUomLabels, setAxisLabels, setGid, setSrsDimension, setSrsName, setUomLabels, unsetAxisLabels, unsetUomLabels
 
Methods inherited from class org.citygml4j.jaxb.gml._3_1_1.AbstractGMLType
getDescription, getId, getMetaDataProperty, getName, isSetDescription, isSetId, isSetMetaDataProperty, isSetName, setDescription, setId, setMetaDataProperty, setName, unsetMetaDataProperty, unsetName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PolygonType

public PolygonType()
Method Detail

getExterior

public javax.xml.bind.JAXBElement<AbstractRingPropertyType> getExterior()
Gets the value of the exterior property.

Returns:
possible object is JAXBElement<AbstractRingPropertyType> JAXBElement<AbstractRingPropertyType>

setExterior

public void setExterior(javax.xml.bind.JAXBElement<AbstractRingPropertyType> value)
Sets the value of the exterior property.

Parameters:
value - allowed object is JAXBElement<AbstractRingPropertyType> JAXBElement<AbstractRingPropertyType>

isSetExterior

public boolean isSetExterior()

getInterior

public java.util.List<javax.xml.bind.JAXBElement<AbstractRingPropertyType>> getInterior()
Gets the value of the interior 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 interior property.

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

    getInterior().add(newItem);
 

Objects of the following type(s) are allowed in the list JAXBElement<AbstractRingPropertyType> JAXBElement<AbstractRingPropertyType>


isSetInterior

public boolean isSetInterior()

unsetInterior

public void unsetInterior()

setInterior

public void setInterior(java.util.List<javax.xml.bind.JAXBElement<AbstractRingPropertyType>> interior)
Sets the value of the interior property.

Parameters:
interior - allowed object is JAXBElement<AbstractRingPropertyType> JAXBElement<AbstractRingPropertyType>