/** * parseXml * * @param stream a {@link java.io.InputStream} object. * @throws org.exolab.castor.xml.MarshalException if any. * @throws org.exolab.castor.xml.ValidationException if any. */ protected synchronized void parseXml(InputStream stream) throws MarshalException, ValidationException { Groupinfo groupinfo = CastorUtils.unmarshal(Groupinfo.class, stream); initializeGroupsAndRoles(groupinfo); }