org.opennms.netmgt.config.notifications
Class Varbind

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

public class Varbind
extends Object
implements Serializable

The varbind element

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

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

Varbind

public Varbind()
Method Detail

getVbname

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

Returns:
the value of field 'Vbname'.

getVbvalue

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

Returns:
the value of field 'Vbvalue'.

isValid

public boolean isValid()
Method isValid.

Returns:
true if this object is valid according to the schema

marshal

public void marshal(Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Parameters:
out -
Throws:
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

marshal

public void marshal(ContentHandler handler)
             throws IOException,
                    org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Parameters:
handler -
Throws:
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 marshaling

setVbname

public void setVbname(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(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 Varbind unmarshal(Reader reader)
                         throws org.exolab.castor.xml.MarshalException,
                                org.exolab.castor.xml.ValidationException
Method unmarshal.

Parameters:
reader -
Returns:
the unmarshaled org.opennms.netmgt.config.notifications.Varbind
Throws:
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

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException
Throws:
org.exolab.castor.xml.ValidationException - if this object is an invalid instance according to the schema


Copyright © 2008. All Rights Reserved.