Top Description Fields Methods
org.apache.xerces.xni.grammars

public Interface XMLGrammarDescription

extends XMLResourceIdentifier
Known Direct Subinterfaces
org.apache.xerces.xni.grammars.XMLSchemaDescription, org.apache.xerces.xni.grammars.XMLDTDDescription
Imports
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 $

Field Summary

Modifier and TypeField and Description
public static final String
XML_DTD

The grammar type constant for DTD grammars.

public static final String
XML_SCHEMA

The grammar type constant for XML Schema grammars.

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

the type of this grammar
getGrammarType
()

Return the type of this grammar.

Inherited from org.apache.xerces.xni.XMLResourceIdentifier:
getBaseSystemIdgetExpandedSystemIdgetLiteralSystemIdgetNamespacegetPublicIdsetBaseSystemIdsetExpandedSystemIdsetLiteralSystemIdsetNamespacesetPublicId

Field Detail

XML_DTDback to summary
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_SCHEMAback to 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.

Method Detail

getGrammarTypeback to summary
public String getGrammarType()

Return the type of this grammar.

Returns:String

the type of this grammar