Interface XMLGrammarDescription
-
- All Superinterfaces:
XMLResourceIdentifier
- All Known Subinterfaces:
XMLDTDDescription
,XMLSchemaDescription
- All Known Implementing Classes:
XMLDTDDescription
,XSDDescription
public interface XMLGrammarDescription extends XMLResourceIdentifier
This interface describes basic attributes of XML grammars--their physical location and their type.
- Version:
- $Id$
- Author:
- Neil Graham, IBM
-
-
Field Summary
Fields Modifier and Type Field Description static String
XML_DTD
The grammar type constant for DTD grammars.static String
XML_SCHEMA
The grammar type constant for XML Schema grammars.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getGrammarType()
Return the type of this grammar.-
Methods inherited from interface org.smooks.engine.delivery.sax.ng.org.apache.xerces.xni.XMLResourceIdentifier
getBaseSystemId, getExpandedSystemId, getLiteralSystemId, getNamespace, getPublicId, setBaseSystemId, setExpandedSystemId, setLiteralSystemId, setNamespace, setPublicId
-
-
-
-
Field Detail
-
XML_SCHEMA
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.- See Also:
- Constant Field Values
-
XML_DTD
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.- See Also:
- Constant Field Values
-
-
Method Detail
-
getGrammarType
String getGrammarType()
Return the type of this grammar.- Returns:
- the type of this grammar
-
-