public class MibImport extends java.lang.Object implements MibContext
| Modifier and Type | Method and Description |
|---|---|
MibSymbol |
findSymbol(java.lang.String name,
boolean expanded)
Searches for a named MIB symbol.
|
java.util.List<java.lang.String> |
getAllSymbolNames()
Returns all symbol names in this MIB import declaration.
|
Mib |
getMib()
Returns the imported MIB.
|
java.lang.String |
getName()
Returns the imported MIB name.
|
void |
initialize(MibLoaderLog log)
Initializes the MIB import.
|
java.lang.String |
toString()
Returns a string representation of this object.
|
protected void |
validateSmiVersion(MibLoaderLog log,
Mib mib)
Validates the imported MIB module SMI version.
|
public void initialize(MibLoaderLog log)
log - the MIB loader logprotected void validateSmiVersion(MibLoaderLog log, Mib mib)
log - the MIB loader logmib - the importing MIB modulepublic java.lang.String getName()
public Mib getMib()
public java.util.List<java.lang.String> getAllSymbolNames()
public MibSymbol findSymbol(java.lang.String name, boolean expanded)
NOTE: This is an internal method that should only be called by the MIB loader.
findSymbol in interface MibContextname - the symbol nameexpanded - the expanded scope flagpublic java.lang.String toString()
toString in class java.lang.Object