org.apache.xerces.impl.validation
Class Grammar
java.lang.Object
|
+--org.apache.xerces.impl.validation.Grammar
- Direct Known Subclasses:
- Grammar, SchemaGrammar
- public abstract class Grammar
- extends java.lang.Object
A generic grammar for use in validating XML documents. The Grammar
object stores the validation information in a compiled form. Specific
subclasses extend this class and "populate" the grammar by compiling
the specific syntax (DTD, Schema, etc) into the data structures used
by this object.
Note: The Grammar object is not useful as a generic
grammar access or query object. In other words, you cannot round-trip
specific grammar syntaxes with the compiled grammar information in
the Grammar object. You can create equivalent validation
rules in your choice of grammar syntax but there is no guarantee that
the input and output will be the same.
Right now, this class is a shell; eventually, code
will be moved from dtd.Grammar here.
- Version:
- $Id: Grammar.java,v 1.6 2001/12/06 21:49:36 neilg Exp $
- Author:
- Stubs generated by DesignDoc on Mon Sep 11 11:10:57 PDT 2000, Jeffrey Rodriguez, IBM, Eric Ye, IBM, Andy Clark, IBM, Neil Graham, IBM
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Grammar
public Grammar()
Copyright © 1999-2001 Apache XML Project. All Rights Reserved.