KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > xerces > dom3 > as > DocumentEditAS


1 /*
2  * Copyright (c) 2001 World Wide Web Consortium,
3  * (Massachusetts Institute of Technology, Institut National de
4  * Recherche en Informatique et en Automatique, Keio University). All
5  * Rights Reserved. This program is distributed under the W3C's Software
6  * Intellectual Property License. This program is distributed in the
7  * hope that it will be useful, but WITHOUT ANY WARRANTY; without even
8  * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
9  * PURPOSE.
10  * See W3C License http://www.w3.org/Consortium/Legal/ for more details.
11  */

12
13 package org.apache.xerces.dom3.as;
14
15 /**
16  * @deprecated
17  * This interface extends the <code>NodeEditAS</code> interface with
18  * additional methods for both document and AS editing.
19  * <p>See also the <a HREF='http://www.w3.org/TR/2001/WD-DOM-Level-3-ASLS-20011025'>Document Object Model (DOM) Level 3 Abstract Schemas and Load
20 and Save Specification</a>.
21  */

22 public interface DocumentEditAS extends NodeEditAS {
23     /**
24      * An attribute specifying whether continuous checking for the validity of
25      * the document is enforced or not. Setting this to <code>true</code>
26      * will result in an exception being thrown, i.e.,
27      * <code>VALIDATION_ERR</code>, for documents that are invalid at the
28      * time of the call. If the document is invalid, then this attribute
29      * will remain <code>false</code>. This attribute is <code>false</code>
30      * by default.Add VALIDATION_ERR code to the list of constants in
31      * DOMASException.
32      */

33     public boolean getContinuousValidityChecking();
34     /**
35      * An attribute specifying whether continuous checking for the validity of
36      * the document is enforced or not. Setting this to <code>true</code>
37      * will result in an exception being thrown, i.e.,
38      * <code>VALIDATION_ERR</code>, for documents that are invalid at the
39      * time of the call. If the document is invalid, then this attribute
40      * will remain <code>false</code>. This attribute is <code>false</code>
41      * by default.Add VALIDATION_ERR code to the list of constants in
42      * DOMASException.
43      */

44     public void setContinuousValidityChecking(boolean continuousValidityChecking);
45
46 }
47
Popular Tags