Interface PolymorphicVariableFormatterFactory
- All Known Implementing Classes:
DefaultPolymorphicVariableFormats
public interface PolymorphicVariableFormatterFactory
Factory interface for creating polymorphic variable formatters.
- Since:
- 2.0.0
- Author:
- Frank Fock
-
Method Summary
Modifier and TypeMethodDescriptionbooleanregisterFormatter(String module, PolymorphicVariableFormatter formatter) Register the polymorphic variable formatter for a specific MIB module.booleanunregisterFormatter(String module, PolymorphicVariableFormatter formatter) Unregister the polymorphic variable formatter for a specific MIB module.
-
Method Details
-
registerFormatter
Register the polymorphic variable formatter for a specific MIB module.- Parameters:
module- the MIB module name.formatter- the polymorphic variable formatter.- Returns:
- true if the formatter was successfully registered, false otherwise.
-
unregisterFormatter
Unregister the polymorphic variable formatter for a specific MIB module.- Parameters:
module- the MIB module name.formatter- the polymorphic variable formatter.- Returns:
- true if the formatter was successfully unregistered, false otherwise.
-