コード例 #1
0
 /*     */ public static DocumentBuilderFactory newInstance(
     String factoryClassName, ClassLoader classLoader)
       /*     */ {
   /*     */ try
   /*     */ {
     /* 170 */ return (DocumentBuilderFactory)
         FactoryFinder.newInstance(factoryClassName, classLoader, false);
     /*     */ } catch (FactoryFinder.ConfigurationError e) {
     /* 172 */ throw new FactoryConfigurationError(e.getException(), e.getMessage());
     /*     */ }
   /*     */ }
コード例 #2
0
 /*      */ public static DatatypeFactory newInstance(
     String factoryClassName, ClassLoader classLoader)
     /*      */ throws DatatypeConfigurationException
       /*      */ {
   /*      */ try
   /*      */ {
     /*  176 */ return (DatatypeFactory)
         FactoryFinder.newInstance(factoryClassName, classLoader, false);
     /*      */ } catch (FactoryFinder.ConfigurationError e) {
     /*  178 */ throw new DatatypeConfigurationException(e.getMessage(), e.getException());
     /*      */ }
   /*      */ }