|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.opengis.gml.schema.AbstractGMLType
net.opengis.gml.schema.AbstractGeometryType
net.opengis.gml.schema.AbstractGeometricPrimitiveType
net.opengis.gml.schema.AbstractSurfaceType
net.opengis.gml.schema.PolygonType
public class PolygonType
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.
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>
| Field Summary | |
|---|---|
protected AbstractRingPropertyType |
exterior
|
protected List<AbstractRingPropertyType> |
interiors
|
| Fields inherited from class net.opengis.gml.schema.AbstractGeometryType |
|---|
srsName |
| Fields inherited from class net.opengis.gml.schema.AbstractGMLType |
|---|
description, id, names |
| Constructor Summary | |
|---|---|
PolygonType()
|
|
| Method Summary | |
|---|---|
StringBuilder |
append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
|
StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
|
Object |
clone()
|
Object |
copyTo(Object target)
|
Object |
copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
Object target,
org.jvnet.jaxb2_commons.lang.CopyStrategy strategy)
|
Object |
createNewInstance()
|
boolean |
equals(Object object)
|
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
|
AbstractRingPropertyType |
getExterior()
Gets the value of the exterior property. |
List<AbstractRingPropertyType> |
getInteriors()
Gets the value of the interiors property. |
int |
hashCode()
|
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
|
boolean |
isSetExterior()
|
boolean |
isSetInteriors()
|
void |
setExterior(AbstractRingPropertyType value)
Sets the value of the exterior property. |
void |
setInteriors(List<AbstractRingPropertyType> interiors)
Sets the value of the interiors property. |
String |
toString()
|
void |
unsetInteriors()
|
| Methods inherited from class net.opengis.gml.schema.AbstractGeometryType |
|---|
getSrsName, isSetSrsName, setSrsName |
| Methods inherited from class net.opengis.gml.schema.AbstractGMLType |
|---|
getDescription, getId, getNames, isSetDescription, isSetId, isSetNames, setDescription, setId, setNames, unsetNames |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected AbstractRingPropertyType exterior
protected List<AbstractRingPropertyType> interiors
| Constructor Detail |
|---|
public PolygonType()
| Method Detail |
|---|
public AbstractRingPropertyType getExterior()
AbstractRingPropertyTypepublic void setExterior(AbstractRingPropertyType value)
value - allowed object is
AbstractRingPropertyTypepublic boolean isSetExterior()
public List<AbstractRingPropertyType> getInteriors()
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 interiors property.
For example, to add a new item, do as follows:
getInteriors().add(newItem);
Objects of the following type(s) are allowed in the list
AbstractRingPropertyType
public boolean isSetInteriors()
public void unsetInteriors()
public String toString()
toString in class AbstractSurfaceType
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
append in interface org.jvnet.jaxb2_commons.lang.ToStringappend in class AbstractSurfaceType
public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
appendFields in interface org.jvnet.jaxb2_commons.lang.ToStringappendFields in class AbstractSurfaceType
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equalsequals in class AbstractSurfaceTypepublic boolean equals(Object object)
equals in class AbstractSurfaceType
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCodehashCode in class AbstractSurfaceTypepublic int hashCode()
hashCode in class AbstractSurfaceTypepublic Object clone()
clone in class AbstractSurfaceTypepublic Object copyTo(Object target)
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTocopyTo in class AbstractSurfaceType
public Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
Object target,
org.jvnet.jaxb2_commons.lang.CopyStrategy strategy)
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTocopyTo in class AbstractSurfaceTypepublic Object createNewInstance()
createNewInstance in interface org.jvnet.jaxb2_commons.lang.CopyTocreateNewInstance in class AbstractSurfaceTypepublic void setInteriors(List<AbstractRingPropertyType> interiors)
interiors - allowed object is
AbstractRingPropertyType
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||