org.opennms.netmgt.config.notifd
Class HandlerClass

java.lang.Object
  extended by org.opennms.netmgt.config.notifd.HandlerClass
All Implemented Interfaces:
java.io.Serializable

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

Class HandlerClass.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
HandlerClass()
           
 
Method Summary
 void addInitParams(InitParams vInitParams)
          Method addInitParams
 void addInitParams(int index, InitParams vInitParams)
          Method addInitParams
 void clearInitParams()
          Method clearInitParams
 java.util.Enumeration enumerateInitParams()
          Method enumerateInitParams
 InitParams[] getInitParams()
          Method getInitParams
 InitParams getInitParams(int index)
          Method getInitParams
 java.util.ArrayList getInitParamsCollection()
          Method getInitParamsCollection Returns a reference to 'initParams'.
 int getInitParamsCount()
          Method getInitParamsCount
 java.lang.String getName()
          Returns the value of field 'name'.
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 boolean removeInitParams(InitParams vInitParams)
          Method removeInitParams
 void setInitParams(java.util.ArrayList initParamsCollection)
          Method setInitParams Sets the value of 'initParams' by copying the given ArrayList.
 void setInitParams(InitParams[] initParamsArray)
          Method setInitParams
 void setInitParams(int index, InitParams vInitParams)
          Method setInitParams
 void setInitParamsCollection(java.util.ArrayList initParamsCollection)
          Method setInitParamsCollection Sets the value of 'initParams' by setting it to the given ArrayList.
 void setName(java.lang.String name)
          Sets the value of field 'name'.
static java.lang.Object unmarshal(java.io.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

HandlerClass

public HandlerClass()
Method Detail

addInitParams

public void addInitParams(InitParams vInitParams)
                   throws java.lang.IndexOutOfBoundsException
Method addInitParams

Parameters:
vInitParams -
Throws:
java.lang.IndexOutOfBoundsException

addInitParams

public void addInitParams(int index,
                          InitParams vInitParams)
                   throws java.lang.IndexOutOfBoundsException
Method addInitParams

Parameters:
index -
vInitParams -
Throws:
java.lang.IndexOutOfBoundsException

clearInitParams

public void clearInitParams()
Method clearInitParams


enumerateInitParams

public java.util.Enumeration enumerateInitParams()
Method enumerateInitParams

Returns:
Enumeration

getInitParams

public InitParams getInitParams(int index)
                         throws java.lang.IndexOutOfBoundsException
Method getInitParams

Parameters:
index -
Returns:
InitParams
Throws:
java.lang.IndexOutOfBoundsException

getInitParams

public InitParams[] getInitParams()
Method getInitParams

Returns:
InitParams

getInitParamsCollection

public java.util.ArrayList getInitParamsCollection()
Method getInitParamsCollection Returns a reference to 'initParams'. No type checking is performed on any modications to the Collection.

Returns:
ArrayList

getInitParamsCount

public int getInitParamsCount()
Method getInitParamsCount

Returns:
int

getName

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

Returns:
String

isValid

public boolean isValid()
Method isValid

Returns:
boolean

marshal

public void marshal(java.io.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(org.xml.sax.ContentHandler handler)
             throws java.io.IOException,
                    org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal

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

removeInitParams

public boolean removeInitParams(InitParams vInitParams)
Method removeInitParams

Parameters:
vInitParams -
Returns:
boolean

setInitParams

public void setInitParams(int index,
                          InitParams vInitParams)
                   throws java.lang.IndexOutOfBoundsException
Method setInitParams

Parameters:
index -
vInitParams -
Throws:
java.lang.IndexOutOfBoundsException

setInitParams

public void setInitParams(InitParams[] initParamsArray)
Method setInitParams

Parameters:
initParamsArray -

setInitParams

public void setInitParams(java.util.ArrayList initParamsCollection)
Method setInitParams Sets the value of 'initParams' by copying the given ArrayList.

Parameters:
initParamsCollection - the Vector to copy.

setInitParamsCollection

public void setInitParamsCollection(java.util.ArrayList initParamsCollection)
Method setInitParamsCollection Sets the value of 'initParams' by setting it to the given ArrayList. No type checking is performed.

Parameters:
initParamsCollection - the ArrayList to copy.

setName

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

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

unmarshal

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

Parameters:
reader -
Returns:
Object
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


Copyright © 2007. All Rights Reserved.