edu.mssm.crover.domain2d.rbdg.layout.xml
Class Cpoint

java.lang.Object
  |
  +--edu.mssm.crover.domain2d.rbdg.layout.xml.Cpoint
All Implemented Interfaces:
java.io.Serializable

public class Cpoint
extends java.lang.Object
implements java.io.Serializable

A control point. x and y coordinates are doubles.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
Cpoint()
           
 
Method Summary
 double getX()
           
 double getY()
           
 boolean hasX()
           
 boolean hasY()
           
 boolean isValid()
           
 void marshal(org.xml.sax.DocumentHandler handler)
           
 void marshal(java.io.Writer out)
           
 void setX(double x)
           
 void setY(double y)
           
static Cpoint unmarshal(java.io.Reader reader)
           
 void validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Cpoint

public Cpoint()
Method Detail

getX

public double getX()

getY

public double getY()

hasX

public boolean hasX()

hasY

public boolean hasY()

isValid

public boolean isValid()

marshal

public void marshal(java.io.Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Parameters:
out -
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

marshal

public void marshal(org.xml.sax.DocumentHandler handler)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Parameters:
handler -
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

setX

public void setX(double x)
Parameters:
x -

setY

public void setY(double y)
Parameters:
y -

unmarshal

public static Cpoint unmarshal(java.io.Reader reader)
                        throws org.exolab.castor.xml.MarshalException,
                               org.exolab.castor.xml.ValidationException
Parameters:
reader -
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException


Copyright @ 2003 Mount Sinai School of Medicine. All Rights Reserved.