org.apache.xerces.xni.grammars
Interface XMLGrammarDescription
- XMLResourceIdentifier
- XMLDTDDescription, XMLSchemaDescription
public interface XMLGrammarDescription
This interface describes basic attributes of XML grammars--their
physical location and their type.
$Id: XMLGrammarDescription.java 447245 2006-09-18 05:22:10Z mrglavas $static String | XML_DTD - The grammar type constant for DTD grammars.
|
static String | XML_SCHEMA - The grammar type constant for XML Schema grammars.
|
XML_DTD
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.
XML_SCHEMA
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.
getGrammarType
public String getGrammarType()
Return the type of this grammar.
Copyright © 1999-2007 The Apache Software Foundation. All Rights Reserved.