|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.percederberg.mibble.MibSymbol
net.percederberg.mibble.MibValueSymbol
A MIB value symbol. This class holds information relevant to a MIB value assignment, i.e. a type and a value. Normally the value is an object identifier.
Constructor Summary | |
MibValueSymbol(FileLocation location,
java.lang.String name,
MibType type,
MibValue value)
Creates a new value symbol |
Method Summary | |
MibType |
getType()
Returns the symbol type. |
MibValue |
getValue()
Returns the symbol value. |
void |
initialize(MibLoaderLog log)
Initializes the MIB symbol. |
java.lang.String |
toString()
Returns a string representation of this object. |
Methods inherited from class net.percederberg.mibble.MibSymbol |
getLocation, getName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public MibValueSymbol(FileLocation location, java.lang.String name, MibType type, MibValue value)
location
- the symbol locationname
- the symbol nametype
- the symbol typevalue
- the symbol valueMethod Detail |
public void initialize(MibLoaderLog log) throws MibException
initialize
in class MibSymbol
log
- the MIB loader log
MibException
- if an error was encountered during the
initializationpublic MibType getType()
public MibValue getValue()
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |