Class GeometryOperand
- Object
-
- GeometryOperand
-
- All Implemented Interfaces:
Serializable
,Name
public final class GeometryOperand extends Object implements Name, Serializable
Enumeration of the differentGeometryOperand
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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static GeometryOperand
Arc
"http://www.opengis.net/gml/Arc"
static GeometryOperand
ArcByBulge
"http://www.opengis.net/gml/ArcByBulge"
static GeometryOperand
ArcByCenterPoint
"http://www.opengis.net/gml/ArcByCenterPoint"
static GeometryOperand
Bezier
"http://www.opengis.net/gml/Bezier"
static GeometryOperand
Circle
"http://www.opengis.net/gml/Circle"
static GeometryOperand
CircleByCenterPoint
"http://www.opengis.net/gml/CircleByCenterPoint"
static GeometryOperand
Clothoid
"http://www.opengis.net/gml/Clothoid"
static GeometryOperand
CubicSpline
"http://www.opengis.net/gml/CubicSpline"
static GeometryOperand
Envelope
"http://www.opengis.net/gml/Envelope"
static GeometryOperand
Geodesic
"http://www.opengis.net/gml/Geodesic"
static GeometryOperand
LineString
"http://www.opengis.net/gml/LineString"
static GeometryOperand
OffsetCurve
"http://www.opengis.net/gml/OffsetCurve"
static GeometryOperand
Point
"http://www.opengis.net/gml/Point"
static GeometryOperand
Polygon
"http://www.opengis.net/gml/Polygon"
static GeometryOperand
PolyhedralSurface
"http://www.opengis.net/gml/PolyhedralSurface"
static GeometryOperand
Solid
"http://www.opengis.net/gml/Solid"
static GeometryOperand
Tin
"http://www.opengis.net/gml/Tin"
static GeometryOperand
Triangle
"http://www.opengis.net/gml/Triangle"
static GeometryOperand
TriangulatedSurface
"http://www.opengis.net/gml/TriangulatedSurface"
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object other)
Compares this operand with the specified value for equality.static GeometryOperand
get(String namespaceURI, String name)
Returns the geometry operand for the given name.String
getLocalPart()
Retrieve the Local name.String
getNamespaceURI()
Returns the name space, which is usually"http://www.opengis.net/gml"
.String
getSeparator()
Separator to use between getNamespaceURI() and getLocalPart() when constructing getURI().String
getURI()
Convert this name to a complete URI.int
hashCode()
Returns a hash code value for this operand.boolean
isGlobal()
Returnsfalse
since this name has a namespace.String
toString()
Returns a string representation of this operand.
-
-
-
Field Detail
-
Envelope
public static final GeometryOperand Envelope
"http://www.opengis.net/gml/Envelope"
-
Point
public static final GeometryOperand Point
"http://www.opengis.net/gml/Point"
-
LineString
public static final GeometryOperand LineString
"http://www.opengis.net/gml/LineString"
-
Polygon
public static final GeometryOperand Polygon
"http://www.opengis.net/gml/Polygon"
-
ArcByCenterPoint
public static final GeometryOperand ArcByCenterPoint
"http://www.opengis.net/gml/ArcByCenterPoint"
-
CircleByCenterPoint
public static final GeometryOperand CircleByCenterPoint
"http://www.opengis.net/gml/CircleByCenterPoint"
-
Arc
public static final GeometryOperand Arc
"http://www.opengis.net/gml/Arc"
-
Circle
public static final GeometryOperand Circle
"http://www.opengis.net/gml/Circle"
-
ArcByBulge
public static final GeometryOperand ArcByBulge
"http://www.opengis.net/gml/ArcByBulge"
-
Bezier
public static final GeometryOperand Bezier
"http://www.opengis.net/gml/Bezier"
-
Clothoid
public static final GeometryOperand Clothoid
"http://www.opengis.net/gml/Clothoid"
-
CubicSpline
public static final GeometryOperand CubicSpline
"http://www.opengis.net/gml/CubicSpline"
-
Geodesic
public static final GeometryOperand Geodesic
"http://www.opengis.net/gml/Geodesic"
-
OffsetCurve
public static final GeometryOperand OffsetCurve
"http://www.opengis.net/gml/OffsetCurve"
-
Triangle
public static final GeometryOperand Triangle
"http://www.opengis.net/gml/Triangle"
-
PolyhedralSurface
public static final GeometryOperand PolyhedralSurface
"http://www.opengis.net/gml/PolyhedralSurface"
-
TriangulatedSurface
public static final GeometryOperand TriangulatedSurface
"http://www.opengis.net/gml/TriangulatedSurface"
-
Tin
public static final GeometryOperand Tin
"http://www.opengis.net/gml/Tin"
-
Solid
public static final GeometryOperand Solid
"http://www.opengis.net/gml/Solid"
-
-
Method Detail
-
get
public static GeometryOperand get(String namespaceURI, String name)
Returns the geometry operand for the given name.- Parameters:
namespaceURI
- The namespace URI, ornull
for the default one.name
- The operand name.- Returns:
- The geometry operand, or
null
if none was found.
-
getLocalPart
public String getLocalPart()
Retrieve the Local name.- Specified by:
getLocalPart
in interfaceName
- Returns:
- local name (can be used in namespace lookup)
-
getNamespaceURI
public String getNamespaceURI()
Returns the name space, which is usually"http://www.opengis.net/gml"
.- Specified by:
getNamespaceURI
in interfaceName
-
getURI
public String getURI()
Convert this name to a complete URI.
-
isGlobal
public boolean isGlobal()
Returnsfalse
since this name has a namespace.
-
getSeparator
public String getSeparator()
Description copied from interface:Name
Separator 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:
getSeparator
in interfaceName
- Returns:
- A separator (such as "/" or ":").
-
hashCode
public int hashCode()
Returns a hash code value for this operand.
-
equals
public boolean equals(Object other)
Compares this operand with the specified value for equality.
-
-