286N/A/*
286N/A * reserved comment block
286N/A * DO NOT REMOVE OR ALTER!
286N/A */
286N/A/*
286N/A * Copyright 2000-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.grammars;
286N/A
286N/A/**
286N/A * A generic grammar for use in validating XML documents. The Grammar
286N/A * object stores the validation information in a compiled form. Specific
286N/A * subclasses extend this class and "populate" the grammar by compiling
286N/A * the specific syntax (DTD, Schema, etc) into the data structures used
286N/A * by this object.
286N/A * <p>
286N/A * <strong>Note:</strong> The Grammar object is not useful as a generic
286N/A * grammar access or query object. In other words, you cannot round-trip
286N/A * specific grammar syntaxes with the compiled grammar information in
286N/A * the Grammar object. You <em>can</em> create equivalent validation
286N/A * rules in your choice of grammar syntax but there is no guarantee that
286N/A * the input and output will be the same.
286N/A *
286N/A * <p> Right now, this class is largely a shell; eventually,
286N/A * it will be enriched by having more expressive methods added. </p>
286N/A * will be moved from dtd.Grammar here.
286N/A *
286N/A * @author Jeffrey Rodriguez, IBM
286N/A * @author Eric Ye, IBM
286N/A * @author Andy Clark, IBM
286N/A * @author Neil Graham, IBM
286N/A *
286N/A */
286N/A
286N/Apublic interface Grammar {
286N/A
286N/A /**
286N/A * get the <code>XMLGrammarDescription</code> associated with this
286N/A * object
286N/A */
286N/A public XMLGrammarDescription getGrammarDescription ();
286N/A} // interface Grammar