01: /*
02: * Copyright (c) 2001 World Wide Web Consortium,
03: * (Massachusetts Institute of Technology, Institut National de
04: * Recherche en Informatique et en Automatique, Keio University). All
05: * Rights Reserved. This program is distributed under the W3C's Software
06: * Intellectual Property License. This program is distributed in the
07: * hope that it will be useful, but WITHOUT ANY WARRANTY; without even
08: * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
09: * 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: /**
36: * An attribute specifying whether continuous checking for the validity of
37: * the document is enforced or not. Setting this to <code>true</code>
38: * will result in an exception being thrown, i.e.,
39: * <code>VALIDATION_ERR</code>, for documents that are invalid at the
40: * time of the call. If the document is invalid, then this attribute
41: * will remain <code>false</code>. This attribute is <code>false</code>
42: * by default.Add VALIDATION_ERR code to the list of constants in
43: * DOMASException.
44: */
45: public void setContinuousValidityChecking(
46: boolean continuousValidityChecking);
47:
48: }
|