Add a "factory create" rule for the specified parameters. @param pattern Element matching pattern @param creationFactory Previously instantiated ObjectCreationFactory to be utilized @param ignoreCreateExceptions when true any exceptions thrown during object creati
(String pattern, ObjectCreationFactory creationFactory,
boolean ignoreCreateExceptions)
| 1759 | * @see FactoryCreateRule |
| 1760 | */ |
| 1761 | public void addFactoryCreate(String pattern, ObjectCreationFactory creationFactory, |
| 1762 | boolean ignoreCreateExceptions) { |
| 1763 | |
| 1764 | creationFactory.setDigester(this); |
| 1765 | addRule(pattern, new FactoryCreateRule(creationFactory, ignoreCreateExceptions)); |
| 1766 | |
| 1767 | } |
| 1768 | |
| 1769 | /** |
| 1770 | * Add an "object create" rule for the specified parameters. |
no test coverage detected