test_class.file: idstax-gen/src/test/java/org/cthul/xml/idstax/gen/ElementParserGeneratorMojoTest.java
test_class.identifier: ElementParserGeneratorMojoTest
test_case.body: @Test
      public void testExecute() throws Exception {
          ElementParserGeneratorMojo instance = new ElementParserGeneratorMojo(
                      new File("target/generated-sources/test"),
                      new File("src/test/resources/schema/menu.xsd"),
                      "test.menu", "MenuTest"
                  );
          instance.execute();
      }
test_case.class_method_signature: ElementParserGeneratorMojoTest.testExecute()
test_case.full_signature: @Test public void testExecute()
test_case.identifier: testExecute
test_case.invocations: execute
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testExecute()
focal_class.declarator: Version = "0.1-SNAPSHOT"
focal_class.modifier: public static
focal_class.original_string: public static String Version = "0.1-SNAPSHOT";
focal_class.type: String
focal_class.var_name: Version
focal_class.declarator: outputDirectory
focal_class.modifier: private
focal_class.original_string: private File outputDirectory;
focal_class.type: File
focal_class.var_name: outputDirectory
focal_class.declarator: schema
focal_class.modifier: private
focal_class.original_string: private File schema;
focal_class.type: File
focal_class.var_name: schema
focal_class.declarator: pkg
focal_class.modifier: private
focal_class.original_string: private String pkg;
focal_class.type: String
focal_class.var_name: pkg
focal_class.declarator: name
focal_class.modifier: private
focal_class.original_string: private String name;
focal_class.type: String
focal_class.var_name: name
focal_class.declarator: project
focal_class.modifier: private
focal_class.original_string: private MavenProject project;
focal_class.type: MavenProject
focal_class.var_name: project
focal_class.declarator: projectRequired = true
focal_class.modifier: private
focal_class.original_string: private boolean projectRequired = true;
focal_class.type: boolean
focal_class.var_name: projectRequired
focal_class.file: idstax-gen/src/main/java/org/cthul/xml/idstax/gen/ElementParserGeneratorMojo.java
focal_class.identifier: ElementParserGeneratorMojo
focal_class.class_method_signature: ElementParserGeneratorMojo.ElementParserGeneratorMojo()
focal_class.full_signature: public  ElementParserGeneratorMojo()
focal_class.identifier: ElementParserGeneratorMojo
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  ElementParserGeneratorMojo()
focal_class.class_method_signature: ElementParserGeneratorMojo.ElementParserGeneratorMojo(File outputDirectory, File schema, String pkg, String name)
focal_class.full_signature:   ElementParserGeneratorMojo(File outputDirectory, File schema, String pkg, String name)
focal_class.identifier: ElementParserGeneratorMojo
focal_class.parameters: (File outputDirectory, File schema, String pkg, String name)
focal_class.signature:  ElementParserGeneratorMojo(File outputDirectory, File schema, String pkg, String name)
focal_class.class_method_signature: ElementParserGeneratorMojo.execute()
focal_class.full_signature: @Override public void execute()
focal_class.identifier: execute
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void execute()
focal_class.superclass: extends AbstractMojo
focal_method.body: @Override
      public void execute() throws MojoExecutionException {
          try {
  
              SAXParserFactory factory = SAXParserFactory.newInstance();
              SAXParser saxParser = factory.newSAXParser();
  
              IDCollector idCollector = new IDCollector();
  
              SaxIDCollector schemaHandler = new SaxIDCollector(idCollector);
              saxParser.parse(schema, schemaHandler);
              idCollector.finish();
  
              ElementParserGenerator generator = new ElementParserGenerator(
                      outputDirectory, name, pkg, idCollector,
                      project, projectRequired, getLog());
  
              generator.run();
              
          } catch (RuntimeException ex) {
              throw ex;
          } catch (ParserConfigurationException ex) {
              throw new MojoExecutionException("Parser Configuration Exception");
          } catch (IOException ex) {
              throw new MojoExecutionException("IO Exception", ex);
          } catch (SAXException ex) {
              throw new MojoExecutionException("Invalid Schema", ex);
          } catch (TemplateException ex) {
              throw new MojoExecutionException("Template error", ex);
          }
  
      }
focal_method.class_method_signature: ElementParserGeneratorMojo.execute()
focal_method.full_signature: @Override public void execute()
focal_method.identifier: execute
focal_method.invocations: newInstance newSAXParser parse finish getLog run
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: void
focal_method.signature: void execute()