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. package com.sun.org.apache.xerces.internal.dom3.as;
  13. /**
  14. * @deprecated
  15. * This interface extends the <code>NodeEditAS</code> interface with
  16. * additional methods for both document and AS editing.
  17. * <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
  18. and Save Specification</a>.
  19. */
  20. public interface DocumentEditAS extends NodeEditAS {
  21. /**
  22. * An attribute specifying whether continuous checking for the validity of
  23. * the document is enforced or not. Setting this to <code>true</code>
  24. * will result in an exception being thrown, i.e.,
  25. * <code>VALIDATION_ERR</code>, for documents that are invalid at the
  26. * time of the call. If the document is invalid, then this attribute
  27. * will remain <code>false</code>. This attribute is <code>false</code>
  28. * by default.Add VALIDATION_ERR code to the list of constants in
  29. * DOMASException.
  30. */
  31. public boolean getContinuousValidityChecking();
  32. /**
  33. * An attribute specifying whether continuous checking for the validity of
  34. * the document is enforced or not. Setting this to <code>true</code>
  35. * will result in an exception being thrown, i.e.,
  36. * <code>VALIDATION_ERR</code>, for documents that are invalid at the
  37. * time of the call. If the document is invalid, then this attribute
  38. * will remain <code>false</code>. This attribute is <code>false</code>
  39. * by default.Add VALIDATION_ERR code to the list of constants in
  40. * DOMASException.
  41. */
  42. public void setContinuousValidityChecking(boolean continuousValidityChecking);
  43. }