* @param type the type to print
* @param indent the indentation to use on new lines
*/
private void printType(SnmpModuleIdentity type, String indent) {
ArrayList list;
SnmpRevision rev;
os.println("MODULE-IDENTITY");
os.print(" LAST-UPDATED ");
os.println(getQuote(type.getLastUpdated()));
os.print(" ORGANIZATION ");
os.println(getQuote(type.getOrganization()));
os.println(" CONTACT-INFO");
printIndent(" ", getQuote(type.getContactInfo()));
os.println();
printDescription(type.getDescription());
list = type.getRevisions();
for (int i = 0; i < list.size(); i++) {
rev = (SnmpRevision) list.get(i);
os.println();
if (rev.getComment() != null) {
os.println();
printComment(rev.getComment(), " ", true);
}
os.print(" REVISION ");
printValue(rev.getValue());
os.println();
os.println(" DESCRIPTION");
printIndent(" ", getQuote(rev.getDescription()));
}
}