49 * <p> The expectation is that an instance of the |
49 * <p> The expectation is that an instance of the |
50 * <code>DOMImplementationLS</code> interface can be obtained by using |
50 * <code>DOMImplementationLS</code> interface can be obtained by using |
51 * binding-specific casting methods on an instance of the |
51 * binding-specific casting methods on an instance of the |
52 * <code>DOMImplementation</code> interface or, if the <code>Document</code> |
52 * <code>DOMImplementation</code> interface or, if the <code>Document</code> |
53 * supports the feature <code>"Core"</code> version <code>"3.0"</code> |
53 * supports the feature <code>"Core"</code> version <code>"3.0"</code> |
54 * defined in [<a href='http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407'>DOM Level 3 Core</a>] |
54 * defined in |
|
55 * [<a href='http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407'>DOM Level 3 Core</a>] |
55 * , by using the method <code>DOMImplementation.getFeature</code> with |
56 * , by using the method <code>DOMImplementation.getFeature</code> with |
56 * parameter values <code>"LS"</code> (or <code>"LS-Async"</code>) and |
57 * parameter values <code>"LS"</code> (or <code>"LS-Async"</code>) and |
57 * <code>"3.0"</code> (respectively). |
58 * <code>"3.0"</code> (respectively). |
58 * <p>See also the <a href='http://www.w3.org/TR/2004/REC-DOM-Level-3-LS-20040407'>Document Object Model (DOM) Level 3 Load |
59 * <p>See also the <a href='http://www.w3.org/TR/2004/REC-DOM-Level-3-LS-20040407'> |
59 and Save Specification</a>. |
60 Document Object Model (DOM) Level 3 Load and Save Specification</a>. |
60 * |
61 * |
61 * @since 1.5 |
62 * @since 1.5 |
62 */ |
63 */ |
63 public interface DOMImplementationLS { |
64 public interface DOMImplementationLS { |
64 // DOMImplementationLSMode |
65 // DOMImplementationLSMode |
88 * newly created <code>LSParser</code>. Note that no lexical checking |
89 * newly created <code>LSParser</code>. Note that no lexical checking |
89 * is done on the absolute URI. In order to create a |
90 * is done on the absolute URI. In order to create a |
90 * <code>LSParser</code> for any kind of schema types (i.e. the |
91 * <code>LSParser</code> for any kind of schema types (i.e. the |
91 * LSParser will be free to use any schema found), use the value |
92 * LSParser will be free to use any schema found), use the value |
92 * <code>null</code>. |
93 * <code>null</code>. |
93 * <p ><b>Note:</b> For W3C XML Schema [<a href='http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/'>XML Schema Part 1</a>] |
94 * <p ><b>Note:</b> For W3C XML Schema |
|
95 * [<a href='http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/'>XML Schema Part 1</a>] |
94 * , applications must use the value |
96 * , applications must use the value |
95 * <code>"http://www.w3.org/2001/XMLSchema"</code>. For XML DTD [<a href='http://www.w3.org/TR/2004/REC-xml-20040204'>XML 1.0</a>], |
97 * <code>"http://www.w3.org/2001/XMLSchema"</code>. For XML DTD |
|
98 * [<a href='http://www.w3.org/TR/2004/REC-xml-20040204'>XML 1.0</a>], |
96 * applications must use the value |
99 * applications must use the value |
97 * <code>"http://www.w3.org/TR/REC-xml"</code>. Other Schema languages |
100 * <code>"http://www.w3.org/TR/REC-xml"</code>. Other Schema languages |
98 * are outside the scope of the W3C and therefore should recommend an |
101 * are outside the scope of the W3C and therefore should recommend an |
99 * absolute URI in order to use this method. |
102 * absolute URI in order to use this method. |
100 * @return The newly created <code>LSParser</code> object. This |
103 * @return The newly created <code>LSParser</code> object. This |
101 * <code>LSParser</code> is either synchronous or asynchronous |
104 * <code>LSParser</code> is either synchronous or asynchronous |
102 * depending on the value of the <code>mode</code> argument. |
105 * depending on the value of the <code>mode</code> argument. |
103 * <p ><b>Note:</b> By default, the newly created <code>LSParser</code> |
106 * <p ><b>Note:</b> By default, the newly created <code>LSParser</code> |
104 * does not contain a <code>DOMErrorHandler</code>, i.e. the value of |
107 * does not contain a <code>DOMErrorHandler</code>, i.e. the value of |
105 * the "<a href='http://www.w3.org/TR/DOM-Level-3-Core/core.html#parameter-error-handler'> |
108 * the "<a href='https://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core.html#parameter-error-handler'>error-handler</a>" |
106 * error-handler</a>" configuration parameter is <code>null</code>. However, implementations |
109 * configuration parameter is <code>null</code>. However, implementations |
107 * may provide a default error handler at creation time. In that case, |
110 * may provide a default error handler at creation time. In that case, |
108 * the initial value of the <code>"error-handler"</code> configuration |
111 * the initial value of the <code>"error-handler"</code> configuration |
109 * parameter on the new <code>LSParser</code> object contains a |
112 * parameter on the new <code>LSParser</code> object contains a |
110 * reference to the default error handler. |
113 * reference to the default error handler. |
111 * @exception DOMException |
114 * @exception DOMException |