Lines Matching refs:XPathFactory
44 * Implementation of {@link XPathFactory#newInstance(String)}.
87 * <p><code>ClassLoader</code> to use to find <code>XPathFactory</code>.</p>
93 * to find <code>XPathFactory</code>.</p>
96 * to be used to load resource, {@link XPathFactory}, and
128 * <p>Creates a new {@link XPathFactory} object for the specified
139 public XPathFactory newFactory(String uri) {
141 XPathFactory f = _newFactory(uri);
151 * <p>Lookup a {@link XPathFactory} for the given object model.</p>
155 * @return {@link XPathFactory} for the given object model.
157 private XPathFactory _newFactory(String uri) {
158 XPathFactory xpathFactory;
234 if(uri.equals(XPathFactory.DEFAULT_OBJECT_MODEL_URI)) {
282 XPathFactory createInstance( String className ) {
285 XPathFactory createInstance( String className, boolean useServicesMechanism ) {
286 XPathFactory xPathFactory = null;
298 // instantiate Class as a XPathFactory
301 xPathFactory = (XPathFactory) newInstanceNoServiceLoader(clazz);
304 xPathFactory = (XPathFactory) clazz.newInstance();
361 * @return <code>XPathFactory</code> as determined by <code>keyName</code> value or <code>null</code> if there was an error.
365 private XPathFactory loadFromService(
371 XPathFactory xPathFactory = null;
406 xPathFactory = (XPathFactory) clazz.newInstance();
439 // return new instance of XPathFactory or null
465 private XPathFactory loadFromProperty( String keyName, String resourceName, InputStream in )
525 private static final Class SERVICE_CLASS = XPathFactory.class;