ContentObject.getInstance().addPath(pattern.getUrlParsed() + pattern.getPattern(), currentGame.getGameInfo().getName());
}
@SuppressWarnings("serial")
public void getView(@Parameter("tag") String tag, @Parameter("template") String template) throws XMLException, IllegalArgumentException, IllegalAccessException, DOMException, ParserConfigurationException, SAXException, IOException {
Document xml = new XMLReflectionObj(currentGame).toXML();
ContentObject.getInstance().setData(tag, xml, template, new HashMap<String, Object>() {{
put("mode", "view");
}});
logger.debug(XMLUtils.xml2out(xml));
}