net.percederberg.mibble
Interface MibValue

All Known Implementing Classes:
BitSetValue, BooleanValue, NullValue, NumberValue, ObjectIdentifierValue, StringValue, ValueReference

public interface MibValue

A MIB value.

Since:
2.0

Method Summary
 MibValue initialize(MibLoaderLog log)
          Initializes the MIB value.
 java.lang.Object toObject()
          Returns a Java object representation of this value.
 

Method Detail

initialize

public MibValue initialize(MibLoaderLog log)
                    throws MibException
Initializes the MIB value. This will remove all levels of indirection present, such as references to other values, and returns the basic value. No value information is lost by this operation. This method may modify this object as a side-effect, and will be called by the MIB loader.

Parameters:
log - the MIB loader log
Returns:
the basic MIB value
Throws:
MibException - if an error was encountered during the initialization

toObject

public java.lang.Object toObject()
Returns a Java object representation of this value.

Returns:
a Java object representation of this value