org.opennms.netmgt.config.notifications
Class Varbind

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

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

The varbind element

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

Constructor Summary
Varbind()
           
 
Method Summary
 java.lang.String getVbname()
          Returns the value of field 'vbname'.
 java.lang.String getVbvalue()
          Returns the value of field 'vbvalue'.
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 void setVbname(java.lang.String vbname)
          Sets the value of field 'vbname'.
 void setVbvalue(java.lang.String vbvalue)
          Sets the value of field 'vbvalue'.
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

Varbind

public Varbind()
Method Detail

getVbname

public java.lang.String getVbname()
Returns the value of field 'vbname'. The field 'vbname' has the following description: The varbind element number

Returns:
String

getVbvalue

public java.lang.String getVbvalue()
Returns the value of field 'vbvalue'. The field 'vbvalue' has the following description: The varbind element value

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

setVbname

public void setVbname(java.lang.String vbname)
Sets the value of field 'vbname'. The field 'vbname' has the following description: The varbind element number

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

setVbvalue

public void setVbvalue(java.lang.String vbvalue)
Sets the value of field 'vbvalue'. The field 'vbvalue' has the following description: The varbind element value

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

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.