HPSearch

cgl.hpsearch.common.xml
Class EventAction

java.lang.Object
  extended bycgl.hpsearch.common.xml.EventAction
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
EventHandler

public class EventAction
extends Object
implements Serializable

Class EventAction.

Version:
$Revision: 1.1 $ $Date: 2005/10/16 14:40:47 $
See Also:
Serialized Form

Constructor Summary
EventAction()
           
 
Method Summary
 String getAction()
          Returns the value of field 'action'.
 String getActionType()
          Returns the value of field 'actionType'.
 String getEvent()
          Returns the value of field 'event'.
 String getScript()
          Returns the value of field 'script'.
 boolean isValid()
          Method isValid
 void marshal(ContentHandler handler)
          Method marshal
 void marshal(Writer out)
          Method marshal
 void setAction(String action)
          Sets the value of field 'action'.
 void setActionType(String actionType)
          Sets the value of field 'actionType'.
 void setEvent(String event)
          Sets the value of field 'event'.
 void setScript(String script)
          Sets the value of field 'script'.
static Object unmarshal(Reader reader)
          Method unmarshal
 void validate()
          Method validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventAction

public EventAction()
Method Detail

getAction

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

Returns:
the value of field 'action'.

getActionType

public String getActionType()
Returns the value of field 'actionType'.

Returns:
the value of field 'actionType'.

getEvent

public String getEvent()
Returns the value of field 'event'.

Returns:
the value of field 'event'.

getScript

public String getScript()
Returns the value of field 'script'.

Returns:
the value of field 'script'.

isValid

public boolean isValid()
Method isValid


marshal

public void marshal(Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal

Parameters:
out -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

marshal

public void marshal(ContentHandler handler)
             throws IOException,
                    org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal

Parameters:
handler -
Throws:
IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

setAction

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

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

setActionType

public void setActionType(String actionType)
Sets the value of field 'actionType'.

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

setEvent

public void setEvent(String event)
Sets the value of field 'event'.

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

setScript

public void setScript(String script)
Sets the value of field 'script'.

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

unmarshal

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

Parameters:
reader -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

validate

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

Throws:
org.exolab.castor.xml.ValidationException

HPSearch

For comments and suggestions please send e-mail to Harshawardhan Gadgil
Last updated: June 9 2006