|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--net.percederberg.mibble.snmp.SnmpTextualConvention
An SNMP textual convention.
| Constructor Summary | |
SnmpTextualConvention(java.lang.String displayHint,
SnmpStatus status,
java.lang.String description,
java.lang.String reference,
MibType syntax)
Creates a new SNMP textual convention. |
|
| Method Summary | |
java.lang.String |
getDescription()
Returns the type description. |
java.lang.String |
getDisplayHint()
Returns the display hint. |
java.lang.String |
getReference()
Returns the type reference. |
SnmpStatus |
getStatus()
Returns the type status. |
MibSymbol |
getSymbol(java.lang.String name)
Returns a named MIB symbol. |
MibType |
getSyntax()
Returns the type syntax. |
MibType |
initialize(MibLoaderLog log)
Initializes the MIB type. |
boolean |
isCompatible(MibValue value)
Checks if the specified value is compatible with this type. |
java.lang.String |
toString()
Returns a string representation of this object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public SnmpTextualConvention(java.lang.String displayHint,
SnmpStatus status,
java.lang.String description,
java.lang.String reference,
MibType syntax)
displayHint - the display hint, or nullstatus - the type statusdescription - the type descriptionreference - the type reference, or nullsyntax - the type syntax| Method Detail |
public MibType initialize(MibLoaderLog log)
throws MibException
initialize in interface MibTypelog - the MIB loader log
MibException - if an error was encountered during the
initializationpublic boolean isCompatible(MibValue value)
isCompatible in interface MibTypevalue - the value to check
public java.lang.String getDisplayHint()
public SnmpStatus getStatus()
public java.lang.String getDescription()
public java.lang.String getReference()
public MibType getSyntax()
public MibSymbol getSymbol(java.lang.String name)
getSymbol in interface MibContextname - the symbol name
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||