Package org.apache.xerces.xni.grammars
Interface XMLGrammarDescription
- All Superinterfaces:
XMLResourceIdentifier
- All Known Subinterfaces:
XMLDTDDescription
,XMLSchemaDescription
This interface describes basic attributes of XML grammars--their physical location and their type.
- Version:
- $Id: XMLGrammarDescription.java 447245 2006-09-18 05:22:10Z mrglavas $
- Author:
- Neil Graham, IBM
-
Field Summary
Fields -
Method Summary
Methods inherited from interface org.apache.xerces.xni.XMLResourceIdentifier
getBaseSystemId, getExpandedSystemId, getLiteralSystemId, getNamespace, getPublicId, setBaseSystemId, setExpandedSystemId, setLiteralSystemId, setNamespace, setPublicId
-
Field Details
-
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.- See Also:
-
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.- See Also:
-
-
Method Details
-
getGrammarType
String getGrammarType()Return the type of this grammar.- Returns:
- the type of this grammar
-