|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.config.notifd.HandlerClass
public class HandlerClass
Class HandlerClass.
| Constructor Summary | |
|---|---|
HandlerClass()
|
|
| Method Summary | |
|---|---|
void |
addInitParams(InitParams vInitParams)
|
void |
addInitParams(int index,
InitParams vInitParams)
|
Enumeration<InitParams> |
enumerateInitParams()
Method enumerateInitParams. |
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'. |
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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HandlerClass()
| Method Detail |
|---|
public void addInitParams(InitParams vInitParams)
throws IndexOutOfBoundsException
vInitParams -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public 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 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 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 marshaling
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
public void marshal(ContentHandler handler)
throws IOException,
org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
handler -
IOException - if an IOException occurs during
marshaling
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
org.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 marshaling
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
public void validate()
throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||