|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.percederberg.mibble.type.StringType
A string MIB type.
Constructor Summary | |
StringType()
Creates a new string MIB type. |
|
StringType(Constraint constraint)
Creates a new string MIB type. |
Method Summary | |
boolean |
hasConstraint()
Checks if this type has any constraint. |
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 type. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public StringType()
public StringType(Constraint constraint)
constraint
- the additional type constraintMethod Detail |
public MibType initialize(MibLoaderLog log) throws MibException
initialize
in interface MibType
log
- the MIB loader log
MibException
- if an error was encountered during the
initializationpublic boolean hasConstraint()
public boolean isCompatible(MibValue value)
isCompatible
in interface MibType
value
- the value to check
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |