@Test public void testInit() { Assert.assertNotNull(jcf); Component actual = jcf.buildComponent(componentXhtml); Assert.assertNotNull(actual); JaxbUtil.debug(actual); }
public Component buildComponent(String resourceName) { component = new Component(); try {read(resourceName);} catch (FileNotFoundException e) {e.printStackTrace();} catch (Exception e) {e.printStackTrace();} return component; }
JsfComponentFactory { public Component buildComponent(String resourceName) { component = new Component(); try {read(resourceName);} catch (FileNotFoundException e) {e.printStackTrace();} catch (Exception e) {e.printStackTrace();} return component; } }
JsfComponentFactory { public Component buildComponent(String resourceName) { component = new Component(); try {read(resourceName);} catch (FileNotFoundException e) {e.printStackTrace();} catch (Exception e) {e.printStackTrace();} return component; } JsfComponentFactory(); }
JsfComponentFactory { public Component buildComponent(String resourceName) { component = new Component(); try {read(resourceName);} catch (FileNotFoundException e) {e.printStackTrace();} catch (Exception e) {e.printStackTrace();} return component; } JsfComponentFactory(); Component buildComponent(String resourceName); }
JsfComponentFactory { public Component buildComponent(String resourceName) { component = new Component(); try {read(resourceName);} catch (FileNotFoundException e) {e.printStackTrace();} catch (Exception e) {e.printStackTrace();} return component; } JsfComponentFactory(); Component buildComponent(String resourceName);  }