uk.ac.essex.ia.keymap.xml
Class Action

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

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

See Also:
Serialized Form

Constructor Summary
Action()
           
 
Method Summary
 java.lang.String getId()
          Returns the value of field 'id'.
 java.lang.String getKeyStroke()
          Returns the value of field 'keyStroke'.
 boolean isValid()
           
 void marshal(org.xml.sax.ContentHandler handler)
           
 void marshal(java.io.Writer out)
           
 void setId(java.lang.String id)
          Sets the value of field 'id'.
 void setKeyStroke(java.lang.String keyStroke)
          Sets the value of field 'keyStroke'.
static Action 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

Action

public Action()
Method Detail

getId

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

Returns:
the value of field 'id'.

getKeyStroke

public java.lang.String getKeyStroke()
Returns the value of field 'keyStroke'.

Returns:
the value of field 'keyStroke'.

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 -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

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
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

setId

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

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

setKeyStroke

public void setKeyStroke(java.lang.String keyStroke)
Sets the value of field 'keyStroke'.

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

unmarshal

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

validate

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