Class GeometryOperand

  • All Implemented Interfaces:
    Serializable, Name

    public final class GeometryOperand
    extends Object
    implements Name, Serializable
    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"/>
    Justin Deoliveira (The Open Planning Project), Martin Desruisseaux (Geomatys)
    See Also:
    Serialized Form
    • Field Detail

      • Envelope

        public static final GeometryOperand Envelope
      • Point

        public static final GeometryOperand Point
      • LineString

        public static final GeometryOperand LineString
      • Polygon

        public static final GeometryOperand Polygon
      • ArcByCenterPoint

        public static final GeometryOperand ArcByCenterPoint
      • CircleByCenterPoint

        public static final GeometryOperand CircleByCenterPoint
      • Arc

        public static final GeometryOperand Arc
      • Circle

        public static final GeometryOperand Circle
      • ArcByBulge

        public static final GeometryOperand ArcByBulge
      • Bezier

        public static final GeometryOperand Bezier
      • Clothoid

        public static final GeometryOperand Clothoid
      • CubicSpline

        public static final GeometryOperand CubicSpline
      • Geodesic

        public static final GeometryOperand Geodesic
      • OffsetCurve

        public static final GeometryOperand OffsetCurve
      • Triangle

        public static final GeometryOperand Triangle
      • PolyhedralSurface

        public static final GeometryOperand PolyhedralSurface
      • TriangulatedSurface

        public static final GeometryOperand TriangulatedSurface
      • Tin

        public static final GeometryOperand Tin
      • Solid

        public static final GeometryOperand Solid
    • Method Detail

      • get

        public static GeometryOperand get​(String namespaceURI,
                                          String name)
        Returns the geometry operand for the given name.
        namespaceURI - The namespace URI, or null for the default one.
        name - The operand name.
        The geometry operand, or null if none was found.
      • getLocalPart

        public String getLocalPart()
        Retrieve the Local name.
        Specified by:
        getLocalPart in interface Name
        local name (can be used in namespace lookup)
      • getNamespaceURI

        public String getNamespaceURI()
        Returns the name space, which is usually "".
        Specified by:
        getNamespaceURI in interface Name
      • getURI

        public String getURI()
        Convert this name to a complete URI.
        Specified by:
        getURI in interface Name
        a complete URI constructed of namespace URI and the local part.
      • isGlobal

        public boolean isGlobal()
        Returns false since this name has a namespace.
        Specified by:
        isGlobal in interface Name
        Returns true if getNamespaceURI is null
      • 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 interface Name
        A separator (such as "/" or ":").
      • hashCode

        public int hashCode()
        Returns a hash code value for this operand.
        Specified by:
        hashCode in interface Name
        hashCode in class Object
        a hascode based on getURI()
      • equals

        public boolean equals​(Object other)
        Compares this operand with the specified value for equality.
        Specified by:
        equals in interface Name
        equals in class Object
        true if getURI is equal.
      • toString

        public String toString()
        Returns a string representation of this operand.
        Specified by:
        toString in interface Name
        toString in class Object