Class GeometryOperand
Object
GeometryOperand
- All Implemented Interfaces:
Serializable,Name
Enumeration of the different
GeometryOperand types.
<xsd:simpleType name="GeometryOperandType">
<xsd:restriction base="xsd:QName">
<xsd:enumeration value="gml:Envelope"/>
<xsd:enumeration value="gml:Point"/>
<xsd:enumeration value="gml:LineString"/>
<xsd:enumeration value="gml:Polygon"/>
<xsd:enumeration value="gml:ArcByCenterPoint"/>
<xsd:enumeration value="gml:CircleByCenterPoint"/>
<xsd:enumeration value="gml:Arc"/>
<xsd:enumeration value="gml:Circle"/>
<xsd:enumeration value="gml:ArcByBulge"/>
<xsd:enumeration value="gml:Bezier"/>
<xsd:enumeration value="gml:Clothoid"/>
<xsd:enumeration value="gml:CubicSpline"/>
<xsd:enumeration value="gml:Geodesic"/>
<xsd:enumeration value="gml:OffsetCurve"/>
<xsd:enumeration value="gml:Triangle"/>
<xsd:enumeration value="gml:PolyhedralSurface"/>
<xsd:enumeration value="gml:TriangulatedSurface"/>
<xsd:enumeration value="gml:Tin"/>
<xsd:enumeration value="gml:Solid"/>
</xsd:restriction>
</xsd:simpleType>
- Author:
- Justin Deoliveira (The Open Planning Project), Martin Desruisseaux (Geomatys)
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final GeometryOperand"http://www.opengis.net/gml/Arc"static final GeometryOperand"http://www.opengis.net/gml/ArcByBulge"static final GeometryOperand"http://www.opengis.net/gml/ArcByCenterPoint"static final GeometryOperand"http://www.opengis.net/gml/Bezier"static final GeometryOperand"http://www.opengis.net/gml/Circle"static final GeometryOperand"http://www.opengis.net/gml/CircleByCenterPoint"static final GeometryOperand"http://www.opengis.net/gml/Clothoid"static final GeometryOperand"http://www.opengis.net/gml/CubicSpline"static final GeometryOperand"http://www.opengis.net/gml/Envelope"static final GeometryOperand"http://www.opengis.net/gml/Geodesic"static final GeometryOperand"http://www.opengis.net/gml/LineString"static final GeometryOperand"http://www.opengis.net/gml/OffsetCurve"static final GeometryOperand"http://www.opengis.net/gml/Point"static final GeometryOperand"http://www.opengis.net/gml/Polygon"static final GeometryOperand"http://www.opengis.net/gml/PolyhedralSurface"static final GeometryOperand"http://www.opengis.net/gml/Solid"static final GeometryOperand"http://www.opengis.net/gml/Tin"static final GeometryOperand"http://www.opengis.net/gml/Triangle"static final GeometryOperand"http://www.opengis.net/gml/TriangulatedSurface" -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompares this operand with the specified value for equality.static GeometryOperandReturns the geometry operand for the given name.Retrieve the Local name.Returns the name space, which is usually"http://www.opengis.net/gml".Separator to use between getNamespaceURI() and getLocalPart() when constructing getURI().getURI()Convert this name to a complete URI.inthashCode()Returns a hash code value for this operand.booleanisGlobal()Returnsfalsesince this name has a namespace.toString()Returns a string representation of this operand.
-
Field Details
-
Envelope
"http://www.opengis.net/gml/Envelope" -
Point
"http://www.opengis.net/gml/Point" -
LineString
"http://www.opengis.net/gml/LineString" -
Polygon
"http://www.opengis.net/gml/Polygon" -
ArcByCenterPoint
"http://www.opengis.net/gml/ArcByCenterPoint" -
CircleByCenterPoint
"http://www.opengis.net/gml/CircleByCenterPoint" -
Arc
"http://www.opengis.net/gml/Arc" -
Circle
"http://www.opengis.net/gml/Circle" -
ArcByBulge
"http://www.opengis.net/gml/ArcByBulge" -
Bezier
"http://www.opengis.net/gml/Bezier" -
Clothoid
"http://www.opengis.net/gml/Clothoid" -
CubicSpline
"http://www.opengis.net/gml/CubicSpline" -
Geodesic
"http://www.opengis.net/gml/Geodesic" -
OffsetCurve
"http://www.opengis.net/gml/OffsetCurve" -
Triangle
"http://www.opengis.net/gml/Triangle" -
PolyhedralSurface
"http://www.opengis.net/gml/PolyhedralSurface" -
TriangulatedSurface
"http://www.opengis.net/gml/TriangulatedSurface" -
Tin
"http://www.opengis.net/gml/Tin" -
Solid
"http://www.opengis.net/gml/Solid"
-
-
Method Details
-
get
Returns the geometry operand for the given name.- Parameters:
namespaceURI- The namespace URI, ornullfor the default one.name- The operand name.- Returns:
- The geometry operand, or
nullif none was found.
-
getLocalPart
Retrieve the Local name.- Specified by:
getLocalPartin interfaceName- Returns:
- local name (can be used in namespace lookup)
-
getNamespaceURI
Returns the name space, which is usually"http://www.opengis.net/gml".- Specified by:
getNamespaceURIin interfaceName
-
getURI
Convert this name to a complete URI. -
isGlobal
public boolean isGlobal()Returnsfalsesince this name has a namespace. -
getSeparator
Description copied from interface:NameSeparator to use between getNamespaceURI() and getLocalPart() when constructing getURI().This separator is only used to construct a visually pleasing getURI() result. The value to use as a separator depends on the registry or namespace you are working with. JNDI naming services have been known to use "/" and ":". Referring to an element in an XMLSchema document has been represented with a "#" symbol.
- Specified by:
getSeparatorin interfaceName- Returns:
- A separator (such as "/" or ":").
-
hashCode
public int hashCode()Returns a hash code value for this operand. -
equals
Compares this operand with the specified value for equality. -
toString
Returns a string representation of this operand.
-