Ejemplo n.º 1
0
 public void load(String xml, String mapping)
     throws SAXException, ParserConfigurationException, IOException {
   XMLValidator.validate(xml, false);
   TagMap loader = new TagMap();
   loader.load(mapping, actionMap, targetMap, attributeMaps);
   getParser(false).parse(xml, new Parser(actionMap, targetMap, attributeMaps));
 }
Ejemplo n.º 2
0
 public void load(File xml, File mapping)
     throws SAXException, ParserConfigurationException, IOException {
   System.out.println("Loading " + xml.getPath() + " with " + mapping.getPath());
   XMLValidator.validate(xml, false);
   TagMap loader = new TagMap();
   loader.load(mapping, actionMap, targetMap, attributeMaps);
   getParser(false).parse(xml, new Parser(actionMap, targetMap, attributeMaps));
   {
   } // System.out.println("---------------------------------------------------------------------------------------");
 }