* @throws InvalidModuleXmlException
*/
private void initialize(byte[] xml) throws InvalidModuleXmlException {
DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
try {
DocumentBuilder db = dbf.newDocumentBuilder();
ByteArrayInputStream bis = new ByteArrayInputStream(xml);
document = db.parse(bis);
load();
} catch(Exception e) {
throw new InvalidModuleXmlException(getName(), e);