Lines Matching refs:uri

32  *<p>See {@link #newInstance(String uri)} for lookup mechanism.</p>
69 * <p>Protected constructor as {@link #newInstance()} or {@link #newInstance(String uri)}
70 * or {@link #newInstance(String uri, String factoryClassName, ClassLoader classLoader)}
114 * If the system property {@link #DEFAULT_PROPERTY_NAME} + ":uri" is present,
115 * where uri is the parameter to this method, then its value is read as a class name.
148 * @param uri Identifies the underlying object model.
156 * @throws NullPointerException If <code>uri</code> is <code>null</code>.
157 * @throws IllegalArgumentException If <code>uri</code> is <code>null</code>
158 * or <code>uri.length() == 0</code>.
160 public static final XPathFactory newInstance(final String uri)
163 if (uri == null) {
165 "XPathFactory#newInstance(String uri) cannot be called with uri == null"
169 if (uri.length() == 0) {
171 "XPathFactory#newInstance(String uri) cannot be called with uri == \"\""
182 XPathFactory xpathFactory = new XPathFactoryFinder(classLoader).newFactory(uri);
187 + uri
212 * @param uri Identifies the underlying object model. The specification only defines the URI
229 * in the <code>uri</code> parameter.
231 * @throws NullPointerException If <code>uri</code> is <code>null</code>.
232 * @throws IllegalArgumentException If <code>uri</code> is <code>null</code>
233 * or <code>uri.length() == 0</code>.
236 * @see #newInstance(String uri)
240 public static XPathFactory newInstance(String uri, String factoryClassName, ClassLoader classLoader)
244 if (uri == null) {
246 "XPathFactory#newInstance(String uri) cannot be called with uri == null"
250 if (uri.length() == 0) {
252 "XPathFactory#newInstance(String uri) cannot be called with uri == \"\""
265 + uri
269 if(f.isObjectModelSupported(uri)){
272 throw new XPathFactoryConfigurationException("Factory " + factoryClassName + " doesn't support given " + uri + " object model");