return NAMESPACES;
}
public void generate(Module module, Element element) {
if (module instanceof MediaModule) {
MediaModule m = (MediaModule) module;
this.generateMetadata(m.getMetadata(), element);
this.generatePlayer(m.getPlayer(), element);
}
if (module instanceof MediaEntryModule) {
MediaEntryModule m = (MediaEntryModule) module;
MediaGroup[] g = m.getMediaGroups();
for (int i = 0; i < g.length; i++) {
this.generateGroup(g[i], element);
}
MediaContent[] c = m.getMediaContents();
for (int i = 0; i < c.length; i++) {
this.generateContent(c[i], element);
}
}