Examples of XMLReflectionObj


Examples of org.c3s.reflection.XMLReflectionObj

    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));
  }
View Full Code Here

Examples of org.c3s.reflection.XMLReflectionObj

   
    data = new RequestStoredData(StorageFactory.getStorage(StorageType.SESSION));
    data.setData(currentGame);
    data.register(this, "getEdit");
   
    Document xml = new XMLReflectionObj(currentGame).toXML();
    xml.getDocumentElement().setAttribute("__fid", data.getGuid());
    xml.getDocumentElement().setAttribute("__url", url);
    ContentObject.getInstance().setData(tag, xml, template, new HashMap<String, Object>() {{
      put("mode", "edit");
    }});
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.