FileDocCategorySizeDatePackage
XMLGrammarDescription.javaAPI DocJava SE 5 API4181Fri Aug 26 14:55:58 BST 2005com.sun.org.apache.xerces.internal.xni.grammars

XMLGrammarDescription

public interface XMLGrammarDescription implements XMLResourceIdentifier

This interface describes basic attributes of XML grammars--their physical location and their type.

author
Neil Graham, IBM
version
$Id: XMLGrammarDescription.java,v 1.6 2003/11/14 16:54:05 mrglavas Exp $

Fields Summary
public static final String
XML_SCHEMA
The grammar type constant for XML Schema grammars. When getGrammarType() method returns this constant, the object should be an instance of the XMLSchemaDescription interface.
public static final String
XML_DTD
The grammar type constant for DTD grammars. When getGrammarType() method returns this constant, the object should be an instance of the XMLDTDDescription interface.
Constructors Summary
Methods Summary
public java.lang.StringgetGrammarType()
Return the type of this grammar.

return
the type of this grammar