FileDocCategorySizeDatePackage
XMLGrammarDescription.javaAPI DocApache Xerces 3.0.12306Fri Sep 14 20:33:54 BST 2007org.apache.xerces.xni.grammars

XMLGrammarDescription

public interface XMLGrammarDescription implements org.apache.xerces.xni.XMLResourceIdentifier

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

author
Neil Graham, IBM
version
$Id: XMLGrammarDescription.java 447245 2006-09-18 05:22:10Z mrglavas $

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