HPSearch

cgl.hpsearch.common.xml
Class ErrorAction

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

public class ErrorAction
extends Object
implements Serializable

Class ErrorAction.

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

Constructor Summary
ErrorAction()
           
 
Method Summary
 String getAction()
          Returns the value of field 'action'.
 String getActionType()
          Returns the value of field 'actionType'.
 String getError()
          Returns the value of field 'error'.
 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 setError(String error)
          Sets the value of field 'error'.
 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

ErrorAction

public ErrorAction()
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'.

getError

public String getError()
Returns the value of field 'error'.

Returns:
the value of field 'error'.

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'.

setError

public void setError(String error)
Sets the value of field 'error'.

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

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