001/* 002 * Copyright (c) 2000 World Wide Web Consortium, 003 * (Massachusetts Institute of Technology, Institut National de 004 * Recherche en Informatique et en Automatique, Keio University). All 005 * Rights Reserved. This program is distributed under the W3C's Software 006 * Intellectual Property License. This program is distributed in the 007 * hope that it will be useful, but WITHOUT ANY WARRANTY; without even 008 * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 009 * PURPOSE. 010 * See W3C License http://www.w3.org/Consortium/Legal/ for more details. 011 */ 012 013package org.w3c.dom; 014 015/** 016 * This interface represents a notation declared in the DTD. A notation either 017 * declares, by name, the format of an unparsed entity (see section 4.7 of 018 * the XML 1.0 specification ), or is used for formal declaration of 019 * processing instruction targets (see section 2.6 of the XML 1.0 020 * specification ). The <code>nodeName</code> attribute inherited from 021 * <code>Node</code> is set to the declared name of the notation. 022 * <p>The DOM Level 1 does not support editing <code>Notation</code> nodes; 023 * they are therefore readonly. 024 * <p>A <code>Notation</code> node does not have any parent. 025 * <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>. 026 */ 027public interface Notation extends Node { 028 /** 029 * The public identifier of this notation. If the public identifier was 030 * not specified, this is <code>null</code>. 031 */ 032 public String getPublicId(); 033 034 /** 035 * The system identifier of this notation. If the system identifier was 036 * not specified, this is <code>null</code>. 037 */ 038 public String getSystemId(); 039 040}