public SmiMib process(Object input) throws PhaseException { ASNMib asnMib = (ASNMib) input; SmiMib result = new SmiMib(new SmiJavaCodeNamingStrategy("org.jsmiparser.mib")); // TODO for (ASNModule am : asnMib.getModules()) { SmiModule sm = result.createModule(am.getIdToken()); processModule(result, am, sm); } return result; }
public void setIdToken(IdToken id) { assert (m_idToken == null); m_idToken = id; m_mib.addModule(id.getId(), this); }