*/
private void printType(SnmpAgentCapabilities type,
String indent,
int smiVersion) {
SnmpModuleSupport module;
ArrayList list;
os.println("AGENT-CAPABILITIES");
os.print(" PRODUCT-RELEASE ");
os.println(getQuote(type.getProductRelease()));
os.print(" STATUS ");
os.println(type.getStatus());
printDescription(type.getDescription());
if (type.getReference() != null) {
os.println();
os.print(" REFERENCE ");
os.print(getQuote(type.getReference()));
}
for (int i = 0; i < type.getModules().size(); i++) {
module = (SnmpModuleSupport) type.getModules().get(i);
os.println();
os.print(" SUPPORTS ");
os.println(module.getModule());
os.print(" INCLUDES ");
printReferenceList(module.getGroups(),
" ");
list = module.getVariations();
for (int j = 0; j < list.size(); j++) {
os.println();
os.println();
printVariation((SnmpVariation) list.get(j), smiVersion);
}