|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--net.percederberg.mibble.type.TypeReference
A reference to a type symbol.
| Constructor Summary | |
TypeReference(FileLocation location,
MibContext context,
java.lang.String name)
Creates a new type reference. |
|
TypeReference(FileLocation location,
MibContext context,
java.lang.String name,
java.util.ArrayList values)
Creates a new type reference. |
|
TypeReference(FileLocation location,
MibContext context,
java.lang.String name,
Constraint constraint)
Creates a new type reference. |
|
| Method Summary | |
FileLocation |
getLocation()
Returns the file containing the reference. |
MibSymbol |
getSymbol(java.lang.String name)
Returns a named MIB symbol. |
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 TypeReference(FileLocation location,
MibContext context,
java.lang.String name)
location - the reference locationcontext - the reference contextname - the reference name
public TypeReference(FileLocation location,
MibContext context,
java.lang.String name,
Constraint constraint)
location - the reference locationcontext - the reference contextname - the reference nameconstraint - the additional type constraint
public TypeReference(FileLocation location,
MibContext context,
java.lang.String name,
java.util.ArrayList values)
location - the reference locationcontext - the reference contextname - the reference namevalues - the additional defined symbols| 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 FileLocation getLocation()
public boolean isCompatible(MibValue value)
isCompatible in interface MibTypevalue - the value to check
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 | ||||||||||