DTD.java revision 286
286N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 286N/A * This code is free software; you can redistribute it and/or modify it 286N/A * under the terms of the GNU General Public License version 2 only, as 286N/A * published by the Free Software Foundation. Oracle designates this 286N/A * particular file as subject to the "Classpath" exception as provided 286N/A * by Oracle in the LICENSE file that accompanied this code. 286N/A * This code is distributed in the hope that it will be useful, but WITHOUT 286N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 286N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 286N/A * version 2 for more details (a copy is included in the LICENSE file that 286N/A * accompanied this code). 286N/A * You should have received a copy of the GNU General Public License version 286N/A * 2 along with this work; if not, write to the Free Software Foundation, 286N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 286N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 286N/A * or visit www.oracle.com if you need additional information or have any 286N/A * Copyright (c) 2009 by Oracle Corporation. All Rights Reserved. 286N/A * This is the top level interface for events dealing with DTDs 286N/A * @author Copyright (c) 2009 by Oracle Corporation. All Rights Reserved. 286N/A * Returns the entire Document Type Declaration as a string, including 286N/A * the internal DTD subset. 286N/A * This may be null if there is not an internal subset. 286N/A * If it is not null it must return the entire 286N/A * Document Type Declaration which matches the doctypedecl 286N/A * production in the XML 1.0 specification 286N/A * Returns an implementation defined representation of the DTD. 286N/A * This method may return null if no representation is available. 286N/A * Return a List containing the notations declared in the DTD. 286N/A * This list must contain NotationDeclaration events. 286N/A * @see NotationDeclaration 286N/A * @return an unordered list of NotationDeclaration events 286N/A * Return a List containing the general entities, 286N/A * both external and internal, declared in the DTD. 286N/A * This list must contain EntityDeclaration events. 286N/A * @see EntityDeclaration 286N/A * @return an unordered list of EntityDeclaration events