uk.ac.essex.ia.opview.xml
Class Edge

java.lang.Object
  extended by uk.ac.essex.ia.opview.xml.Edge
All Implemented Interfaces:
java.io.Serializable

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

Class Edge.

See Also:
Serialized Form

Constructor Summary
Edge()
           
 
Method Summary
 java.lang.String getFrom()
          Returns the value of field 'from'.
 java.lang.String getId()
          Returns the value of field 'id'.
 java.lang.String getTo()
          Returns the value of field 'to'.
 boolean isValid()
          Method isValid.
 void marshal(org.xml.sax.ContentHandler handler)
           
 void marshal(java.io.Writer out)
           
 void setFrom(java.lang.String from)
          Sets the value of field 'from'.
 void setId(java.lang.String id)
          Sets the value of field 'id'.
 void setTo(java.lang.String to)
          Sets the value of field 'to'.
static Edge unmarshal(java.io.Reader reader)
          Method unmarshal.
 void validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Edge

public Edge()
Method Detail

getFrom

public java.lang.String getFrom()
Returns the value of field 'from'.

Returns:
the value of field 'From'.

getId

public java.lang.String getId()
Returns the value of field 'id'.

Returns:
the value of field 'Id'.

getTo

public java.lang.String getTo()
Returns the value of field 'to'.

Returns:
the value of field 'To'.

isValid

public boolean isValid()
Method isValid.

Returns:
true if this object is valid according to the schema

marshal

public void marshal(java.io.Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Parameters:
out -
Throws:
org.exolab.castor.xml.MarshalException - if object is null or if any SAXException is thrown during marshaling
org.exolab.castor.xml.ValidationException - if this object is an invalid instance according to the schema

marshal

public void marshal(org.xml.sax.ContentHandler handler)
             throws java.io.IOException,
                    org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Parameters:
handler -
Throws:
java.io.IOException - if an IOException occurs during marshaling
org.exolab.castor.xml.ValidationException - if this object is an invalid instance according to the schema
org.exolab.castor.xml.MarshalException - if object is null or if any SAXException is thrown during marshaling

setFrom

public void setFrom(java.lang.String from)
Sets the value of field 'from'.

Parameters:
from - the value of field 'from'.

setId

public void setId(java.lang.String id)
Sets the value of field 'id'.

Parameters:
id - the value of field 'id'.

setTo

public void setTo(java.lang.String to)
Sets the value of field 'to'.

Parameters:
to - the value of field 'to'.

unmarshal

public static Edge unmarshal(java.io.Reader reader)
                      throws org.exolab.castor.xml.MarshalException,
                             org.exolab.castor.xml.ValidationException
Method unmarshal.

Parameters:
reader -
Returns:
the unmarshaled uk.ac.essex.ia.opview.xml.Edge
Throws:
org.exolab.castor.xml.MarshalException - if object is null or if any SAXException is thrown during marshaling
org.exolab.castor.xml.ValidationException - if this object is an invalid instance according to the schema

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException
Throws:
org.exolab.castor.xml.ValidationException - if this object is an invalid instance according to the schema