1. /*
  2. * Copyright (c) 2000 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 org.w3c.dom;
  13. /**
  14. * This interface represents a notation declared in the DTD. A notation either
  15. * declares, by name, the format of an unparsed entity (see section 4.7 of
  16. * the XML 1.0 specification ), or is used for formal declaration of
  17. * processing instruction targets (see section 2.6 of the XML 1.0
  18. * specification ). The <code>nodeName</code> attribute inherited from
  19. * <code>Node</code> is set to the declared name of the notation.
  20. * <p>The DOM Level 1 does not support editing <code>Notation</code> nodes;
  21. * they are therefore readonly.
  22. * <p>A <code>Notation</code> node does not have any parent.
  23. * <p>See also the <a href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113'>Document Object Model (DOM) Level 2 Core Specification</a>.
  24. */
  25. public interface Notation extends Node {
  26. /**
  27. * The public identifier of this notation. If the public identifier was
  28. * not specified, this is <code>null</code>.
  29. */
  30. public String getPublicId();
  31. /**
  32. * The system identifier of this notation. If the system identifier was
  33. * not specified, this is <code>null</code>.
  34. */
  35. public String getSystemId();
  36. }