This interface describes basic attributes of XML grammars--their physical location and their type.
| Modifier and Type | Field 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. |
| Modifier and Type | Method and Description |
|---|---|
| public String |
| XML_DTD | back 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_SCHEMA | back 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. | |
| getGrammarType | back to summary |
|---|---|
| public String getGrammarType() Return the type of this grammar.
| |