286N/A/*
286N/A * reserved comment block
286N/A * DO NOT REMOVE OR ALTER!
286N/A */
286N/A/*
286N/A * Copyright 2001, 2002,2004 The Apache Software Foundation.
286N/A *
286N/A * Licensed under the Apache License, Version 2.0 (the "License");
286N/A * you may not use this file except in compliance with the License.
286N/A * You may obtain a copy of the License at
286N/A *
286N/A * http://www.apache.org/licenses/LICENSE-2.0
286N/A *
286N/A * Unless required by applicable law or agreed to in writing, software
286N/A * distributed under the License is distributed on an "AS IS" BASIS,
286N/A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
286N/A * See the License for the specific language governing permissions and
286N/A * limitations under the License.
286N/A */
286N/A
286N/Apackage com.sun.org.apache.xerces.internal.xni.parser;
286N/A
286N/Aimport com.sun.org.apache.xerces.internal.xni.XMLDTDHandler;
286N/A
286N/A/**
286N/A * Defines a DTD source. In other words, any object that implements
286N/A * this interface is able to emit DTD "events" to the registered
286N/A * DTD handler. These events could be produced by parsing an XML
286N/A * document's internal or external subset, could be generated from
286N/A * some other source, or could be created programmatically. This
286N/A * interface does not say <em>how</em> the events are created, only
286N/A * that the implementor is able to emit them.
286N/A *
286N/A * @author Andy Clark, IBM
286N/A *
286N/A */
286N/Apublic interface XMLDTDSource {
286N/A
286N/A //
286N/A // XMLDTDSource methods
286N/A //
286N/A
286N/A /** Sets the DTD handler. */
286N/A public void setDTDHandler(XMLDTDHandler handler);
286N/A
286N/A /** Returns the DTD handler. */
286N/A public XMLDTDHandler getDTDHandler();
286N/A
286N/A} // interface XMLDTDSource