Package org.c3s.reflection

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


   
    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

Related Classes of org.c3s.reflection.XMLReflectionObj

Copyright © 2018 www.massapicom. 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.