APIdia Launch Partner
Top Description Fields Methods
com.sun.org.apache.xerces.internal.xni.grammars

public Interface XMLGrammarDescription

extends XMLResourceIdentifier
Known Direct Subinterfaces
com.sun.org.apache.xerces.internal.xni.grammars.XMLSchemaDescription, com.sun.org.apache.xerces.internal.xni.grammars.XMLDTDDescription
Imports
com.sun.org.apache.xerces.internal.xni.XMLResourceIdentifier

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

Author
Neil Graham, IBM

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 com.sun.org.apache.xerces.internal.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