public static void addModel(String name, InputStream in) throws Exception {
        Document doc = SAXReaderUtil.readDocument(in);
        addModel(name, (Element)doc.selectSingleNode("/adminconsole"));
    }
Adds XML stream to the tabs/sidebar model.

@param name the name.
@param in the XML input stream.
@throws Exception if an error occurs when parsing the XML or adding it to the model.
xmppserver/src/main/java/org/jivesoftware/admin/AdminConsole.java