|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.xml.eventconf.Varbindsdecode
public class Varbindsdecode
This element is used for converting event varbind value in static decoded string.
| Constructor Summary | |
|---|---|
Varbindsdecode()
|
|
| Method Summary | |
|---|---|
void |
addDecode(Decode vDecode)
|
void |
addDecode(int index,
Decode vDecode)
|
Enumeration<Decode> |
enumerateDecode()
Method enumerateDecode. |
Decode[] |
getDecode()
Method getDecode.Returns the contents of the collection in an Array. |
Decode |
getDecode(int index)
Method getDecode. |
List<Decode> |
getDecodeCollection()
Method getDecodeCollection.Returns a reference to '_decodeList'. |
int |
getDecodeCount()
Method getDecodeCount. |
String |
getParmid()
Returns the value of field 'parmid'. |
boolean |
isValid()
Method isValid. |
Iterator<Decode> |
iterateDecode()
Method iterateDecode. |
void |
marshal(ContentHandler handler)
|
void |
marshal(Writer out)
|
void |
removeAllDecode()
|
boolean |
removeDecode(Decode vDecode)
Method removeDecode. |
Decode |
removeDecodeAt(int index)
Method removeDecodeAt. |
void |
setDecode(Decode[] vDecodeArray)
|
void |
setDecode(int index,
Decode vDecode)
|
void |
setDecode(List<Decode> vDecodeList)
Sets the value of '_decodeList' by copying the given Vector. |
void |
setDecodeCollection(List<Decode> decodeList)
Deprecated. |
void |
setParmid(String parmid)
Sets the value of field 'parmid'. |
static Varbindsdecode |
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 Varbindsdecode()
| Method Detail |
|---|
public void addDecode(Decode vDecode)
throws IndexOutOfBoundsException
vDecode -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addDecode(int index,
Decode vDecode)
throws IndexOutOfBoundsException
index - vDecode -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic Enumeration<Decode> enumerateDecode()
public Decode getDecode(int index)
throws IndexOutOfBoundsException
index -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic Decode[] getDecode()
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<Decode> getDecodeCollection()
public int getDecodeCount()
public String getParmid()
public boolean isValid()
public Iterator<Decode> iterateDecode()
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 removeAllDecode()
public boolean removeDecode(Decode vDecode)
vDecode -
public Decode removeDecodeAt(int index)
index -
public void setDecode(int index,
Decode vDecode)
throws IndexOutOfBoundsException
index - vDecode -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void setDecode(Decode[] vDecodeArray)
vDecodeArray - public void setDecode(List<Decode> vDecodeList)
vDecodeList - the Vector to copy.public void setDecodeCollection(List<Decode> decodeList)
decodeList - the Vector to set.public void setParmid(String parmid)
parmid - the value of field 'parmid'.
public static Varbindsdecode 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 | ||||||||