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

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

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

See Also:
Serialized Form

Constructor Summary
KeyMap()
           
 
Method Summary
 Action getAction()
          Returns the value of field 'action'.
 java.lang.String getName()
          Returns the value of field 'name'.
 java.lang.String getParentMap()
          Returns the value of field 'parentMap'.
 boolean isValid()
           
 void marshal(org.xml.sax.ContentHandler handler)
           
 void marshal(java.io.Writer out)
           
 void setAction(Action action)
          Sets the value of field 'action'.
 void setName(java.lang.String name)
          Sets the value of field 'name'.
 void setParentMap(java.lang.String parentMap)
          Sets the value of field 'parentMap'.
static KeyMap 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

KeyMap

public KeyMap()
Method Detail

getAction

public Action getAction()
Returns the value of field 'action'.

Returns:
the value of field 'action'.

getName

public java.lang.String getName()
Returns the value of field 'name'.

Returns:
the value of field 'name'.

getParentMap

public java.lang.String getParentMap()
Returns the value of field 'parentMap'.

Returns:
the value of field 'parentMap'.

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

setAction

public void setAction(Action action)
Sets the value of field 'action'.

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

setName

public void setName(java.lang.String name)
Sets the value of field 'name'.

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

setParentMap

public void setParentMap(java.lang.String parentMap)
Sets the value of field 'parentMap'.

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

unmarshal

public static KeyMap 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