62 * </p>
63 *
64 * <pre class='example'>
65 * // get an instance of the DOMImplementation registry
66 * DOMImplementationRegistry registry =
67 * DOMImplementationRegistry.newInstance();
68 * // get a DOM implementation the Level 3 XML module
69 * DOMImplementation domImpl =
70 * registry.getDOMImplementation("XML 3.0");
71 * </pre>
72 *
73 * <p>
74 * This provides an application with an implementation-independent starting
75 * point. DOM implementations may modify this class to meet new security
76 * standards or to provide *additional* fallbacks for the list of
77 * DOMImplementationSources.
78 * </p>
79 *
80 * @see DOMImplementation
81 * @see DOMImplementationSource
82 * @since DOM Level 3
83 */
84 public final class DOMImplementationRegistry {
85 /**
86 * The system property to specify the
87 * DOMImplementationSource class names.
88 */
89 public static final String PROPERTY =
90 "org.w3c.dom.DOMImplementationSourceList";
91
92 /**
93 * Default columns per line.
94 */
95 private static final int DEFAULT_LINE_LENGTH = 80;
96
97 /**
98 * The list of DOMImplementationSources.
99 */
100 private Vector sources;
101
102 /**
|
62 * </p>
63 *
64 * <pre class='example'>
65 * // get an instance of the DOMImplementation registry
66 * DOMImplementationRegistry registry =
67 * DOMImplementationRegistry.newInstance();
68 * // get a DOM implementation the Level 3 XML module
69 * DOMImplementation domImpl =
70 * registry.getDOMImplementation("XML 3.0");
71 * </pre>
72 *
73 * <p>
74 * This provides an application with an implementation-independent starting
75 * point. DOM implementations may modify this class to meet new security
76 * standards or to provide *additional* fallbacks for the list of
77 * DOMImplementationSources.
78 * </p>
79 *
80 * @see DOMImplementation
81 * @see DOMImplementationSource
82 * @since 1.5, DOM Level 3
83 */
84 public final class DOMImplementationRegistry {
85 /**
86 * The system property to specify the
87 * DOMImplementationSource class names.
88 */
89 public static final String PROPERTY =
90 "org.w3c.dom.DOMImplementationSourceList";
91
92 /**
93 * Default columns per line.
94 */
95 private static final int DEFAULT_LINE_LENGTH = 80;
96
97 /**
98 * The list of DOMImplementationSources.
99 */
100 private Vector sources;
101
102 /**
|