FileDocCategorySizeDatePackage
XMLGrammarDescription.javaAPI DocJava SE 6 API2113Tue Jun 10 00:22:54 BST 2008com.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.2.6.1 2005/09/06 08:56:55 neerajbj 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