public class HandlerClass extends Object implements Serializable
| Constructor and Description | 
|---|
| HandlerClass() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addInitParams(InitParams vInitParams) | 
| void | addInitParams(int index,
             InitParams vInitParams) | 
| Enumeration<InitParams> | enumerateInitParams()Method enumerateInitParams. | 
| boolean | equals(Object obj)Overrides the java.lang.Object.equals method. | 
| InitParams[] | getInitParams()Method getInitParams.Returns the contents of the collection
 in an Array. | 
| InitParams | getInitParams(int index)Method getInitParams. | 
| List<InitParams> | getInitParamsCollection()Method getInitParamsCollection.Returns a reference to
 '_initParamsList'. | 
| int | getInitParamsCount()Method getInitParamsCount. | 
| String | getName()Returns the value of field 'name'. | 
| int | hashCode()Overrides the java.lang.Object.hashCode method. | 
| boolean | isValid()Method isValid. | 
| Iterator<InitParams> | iterateInitParams()Method iterateInitParams. | 
| void | marshal(ContentHandler handler) | 
| void | marshal(Writer out) | 
| void | removeAllInitParams() | 
| boolean | removeInitParams(InitParams vInitParams)Method removeInitParams. | 
| InitParams | removeInitParamsAt(int index)Method removeInitParamsAt. | 
| void | setInitParams(InitParams[] vInitParamsArray) | 
| void | setInitParams(int index,
             InitParams vInitParams) | 
| void | setInitParams(List<InitParams> vInitParamsList)Sets the value of '_initParamsList' by copying the given
 Vector. | 
| void | setInitParamsCollection(List<InitParams> initParamsList)Deprecated.   | 
| void | setName(String name)Sets the value of field 'name'. | 
| static HandlerClass | unmarshal(Reader reader)Method unmarshal. | 
| void | validate() | 
public void addInitParams(InitParams vInitParams) throws IndexOutOfBoundsException
vInitParams - IndexOutOfBoundsException - if the index
 given is outside the bounds of the collectionpublic void addInitParams(int index,
                          InitParams vInitParams)
                   throws IndexOutOfBoundsException
index - vInitParams - IndexOutOfBoundsException - if the index
 given is outside the bounds of the collectionpublic Enumeration<InitParams> enumerateInitParams()
public boolean equals(Object obj)
public InitParams getInitParams(int index) throws IndexOutOfBoundsException
index - IndexOutOfBoundsException - if the index
 given is outside the bounds of the collectionpublic InitParams[] getInitParams()
Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.
public List<InitParams> getInitParamsCollection()
public int getInitParamsCount()
public String getName()
public int hashCode()
The following steps came from Effective Java Programming Language Guide by Joshua Bloch, Chapter 3
public boolean isValid()
public Iterator<InitParams> iterateInitParams()
public void marshal(Writer out) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
out - org.exolab.castor.xml.MarshalException - if object is
 null or if any SAXException is thrown during marshalingorg.exolab.castor.xml.ValidationException - if this
 object is an invalid instance according to the schemapublic void marshal(ContentHandler handler) throws IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
handler - IOException - if an IOException occurs during
 marshalingorg.exolab.castor.xml.ValidationException - if this
 object is an invalid instance according to the schemaorg.exolab.castor.xml.MarshalException - if object is
 null or if any SAXException is thrown during marshalingpublic void removeAllInitParams()
public boolean removeInitParams(InitParams vInitParams)
vInitParams - public InitParams removeInitParamsAt(int index)
index - public void setInitParams(int index,
                          InitParams vInitParams)
                   throws IndexOutOfBoundsException
index - vInitParams - IndexOutOfBoundsException - if the index
 given is outside the bounds of the collectionpublic void setInitParams(InitParams[] vInitParamsArray)
vInitParamsArray - public void setInitParams(List<InitParams> vInitParamsList)
vInitParamsList - the Vector to copy.public void setInitParamsCollection(List<InitParams> initParamsList)
initParamsList - the Vector to set.public void setName(String name)
name - the value of field 'name'.public static HandlerClass unmarshal(Reader reader) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
reader - org.exolab.castor.xml.MarshalException - if object is
 null or if any SAXException is thrown during marshalingorg.exolab.castor.xml.ValidationException - if this
 object is an invalid instance according to the schemapublic void validate()
              throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException - if this
 object is an invalid instance according to the schemaCopyright © 2017. All rights reserved.