|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.percederberg.mibble.MibValue
net.percederberg.mibble.value.ValueReference
A reference to a value symbol.
NOTE: This class is used internally during the MIB parsing only. After loading a MIB file successfully, all value references will have been resolved to other MIB values. Do NOT use or reference this class.
Constructor Summary | |
ValueReference(FileLocation location,
MibContext context,
java.lang.String name)
Creates a new value reference. |
Method Summary | |
FileLocation |
getLocation()
Returns the reference location. |
MibValue |
initialize(MibLoaderLog log)
Initializes the MIB value. |
java.lang.Object |
toObject()
Returns a Java object representation of this value. |
java.lang.String |
toString()
Returns a string representation of this value. |
Methods inherited from class net.percederberg.mibble.MibValue |
createReference, getName, getReferenceSymbol, isReferenceTo, isReferenceTo, setReferenceSymbol |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ValueReference(FileLocation location, MibContext context, java.lang.String name)
location
- the reference locationcontext
- the reference contextname
- the reference nameMethod Detail |
public MibValue initialize(MibLoaderLog log) throws MibException
NOTE: This is an internal method that should only be called by the MIB loader.
initialize
in class MibValue
log
- the MIB loader log
MibException
- if an error was encountered during the
initializationpublic FileLocation getLocation()
public java.lang.Object toObject()
toObject
in class MibValue
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |