예제 #1
0
파일: Parser.java 프로젝트: vadeq/repotest
 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));
 }
예제 #2
0
파일: Parser.java 프로젝트: vadeq/repotest
 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("---------------------------------------------------------------------------------------");
 }