286N/A/*
286N/A * reserved comment block
286N/A * DO NOT REMOVE OR ALTER!
286N/A */
286N/A// DOMCatalogParser.java - An interface for reading catalog files
286N/A
286N/A/*
286N/A * Copyright 2001-2004 The Apache Software Foundation or its licensors,
286N/A * as applicable.
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.xml.internal.resolver.readers;
286N/A
286N/Aimport com.sun.org.apache.xml.internal.resolver.Catalog;
286N/Aimport org.w3c.dom.Node;
286N/A
286N/A/**
286N/A * The DOMCatalogParser interface.
286N/A *
286N/A * <p>This interface must be implemented in order for a class to
286N/A * participate as a parser for the DOMCatalogReader.
286N/A *
286N/A * @see Catalog
286N/A * @see DOMCatalogReader
286N/A *
286N/A * @author Norman Walsh
286N/A * <a href="mailto:Norman.Walsh@Sun.COM">Norman.Walsh@Sun.COM</a>
286N/A *
286N/A */
286N/Apublic interface DOMCatalogParser {
286N/A /**
286N/A * Parse a DOM node as a catalog entry.
286N/A *
286N/A * <p>This method is expected to analyze the specified node and
286N/A * construct appropriate catalog entry(ies) from it.</p>
286N/A *
286N/A * @param catalog The catalog for which this node is being considered.
286N/A * @param node The DOM Node from the catalog.
286N/A */
286N/A public void parseCatalogEntry(Catalog catalog, Node node);
286N/A}