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 allows creation of an <code>ASModel</code>. The expectation
  16. * is that an instance of the <code>DOMImplementationAS</code> interface can
  17. * be obtained by using binding-specific casting methods on an instance of
  18. * the <code>DOMImplementation</code> interface when the DOM implementation
  19. * supports the feature "<code>AS-EDIT</code>".
  20. * <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
  21. and Save Specification</a>.
  22. */
  23. public interface DOMImplementationAS {
  24. /**
  25. * Creates an ASModel.
  26. * @param isNamespaceAware Allow creation of <code>ASModel</code> with
  27. * this attribute set to a specific value.
  28. * @return A <code>null</code> return indicates failure.what is a
  29. * failure? Could be a system error.
  30. */
  31. public ASModel createAS(boolean isNamespaceAware);
  32. /**
  33. * Creates an <code>DOMASBuilder</code>.Do we need the method since we
  34. * already have <code>DOMImplementationLS.createDOMParser</code>?
  35. * @return a DOMASBuilder
  36. */
  37. public DOMASBuilder createDOMASBuilder();
  38. /**
  39. * Creates an <code>DOMASWriter</code>.
  40. * @return a DOMASWriter
  41. */
  42. public DOMASWriter createDOMASWriter();
  43. }