1 // SAXCatalogParser.java - An interface for reading catalog files 2 3 /* 4 * Copyright 2001-2004 The Apache Software Foundation or its licensors, 5 * as applicable. 6 * 7 * Licensed under the Apache License, Version 2.0 (the "License"); 8 * you may not use this file except in compliance with the License. 9 * You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, software 14 * distributed under the License is distributed on an "AS IS" BASIS, 15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 * See the License for the specific language governing permissions and 17 * limitations under the License. 18 */ 19 20 package com.sun.org.apache.xml.internal.resolver.readers; 21 22 import com.sun.org.apache.xml.internal.resolver.Catalog; 23 import org.xml.sax.*; 24 25 /** 26 * The SAXCatalogParser interface. 27 * 28 * <p>This interface must be implemented in order for a class to 29 * participate as a parser for the SAXCatalogReader. 30 * 31 * @see Catalog 32 * @see SAXCatalogReader 33 * 34 * @author Norman Walsh 35 * <a HREF="mailto:Norman.Walsh@Sun.COM">Norman.Walsh@Sun.COM</a> 36 * 37 * @version 1.0 38 */ 39 public interface SAXCatalogParser extends ContentHandler, DocumentHandler { 40 /** Set the Catalog for which parsing is being performed. */ 41 public void setCatalog(Catalog catalog); 42 } 43