com.esri.arcgisws
Class Segment

java.lang.Object
  extended bycom.esri.arcgisws.Geometry
      extended bycom.esri.arcgisws.Curve
          extended bycom.esri.arcgisws.Segment
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
BezierCurve, CircularArc, EllipticArc, Line

public abstract class Segment
extends Curve
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
Segment()
           
Segment(Point fromPoint, Point toPoint)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Deserializer
 Point getFromPoint()
          Gets the fromPoint value for this Segment.
static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Serializer
 Point getToPoint()
          Gets the toPoint value for this Segment.
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void setFromPoint(Point fromPoint)
          Sets the fromPoint value for this Segment.
 void setToPoint(Point toPoint)
          Sets the toPoint value for this Segment.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Segment

public Segment()

Segment

public Segment(Point fromPoint,
               Point toPoint)
Method Detail

getFromPoint

public Point getFromPoint()
Gets the fromPoint value for this Segment.

Returns:
fromPoint

setFromPoint

public void setFromPoint(Point fromPoint)
Sets the fromPoint value for this Segment.

Parameters:
fromPoint -

getToPoint

public Point getToPoint()
Gets the toPoint value for this Segment.

Returns:
toPoint

setToPoint

public void setToPoint(Point toPoint)
Sets the toPoint value for this Segment.

Parameters:
toPoint -

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class Curve

hashCode

public int hashCode()
Overrides:
hashCode in class Curve

getTypeDesc

public static org.apache.axis.description.TypeDesc getTypeDesc()
Return type metadata object


getSerializer

public static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType,
                                                                java.lang.Class _javaType,
                                                                javax.xml.namespace.QName _xmlType)
Get Custom Serializer


getDeserializer

public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType,
                                                                    java.lang.Class _javaType,
                                                                    javax.xml.namespace.QName _xmlType)
Get Custom Deserializer