Code example for DOMImplementationRegistry

Methods: getDOMImplementation

0
			if (registry == null) {
				registry = DOMImplementationRegistry.newInstance();
			} 
 
			if (impl == null) {
				impl = registry.getDOMImplementation("Core 3.0 XML 3.0 LS");
				if (impl == null) {
					throw new OrccRuntimeException( 
							"no DOM 3 implementation found"); 
				} 
			} 
		} catch (ClassNotFoundException e) {
			throw new OrccRuntimeException("DOM error", e);
		} catch (InstantiationException e) {
			throw new OrccRuntimeException("DOM error", e);
		} catch (IllegalAccessException e) {
			throw new OrccRuntimeException("DOM error", e);
		} 
	}