org.codehaus.stax2.validation
Interface DTDValidationSchema
- All Superinterfaces:
- XMLValidationSchema
- All Known Implementing Classes:
- DTDSubset
- public interface DTDValidationSchema
- extends XMLValidationSchema
Specialized interface that covers schema features unique to DTDs.
Necessary to have basic level of support for entities and notations.
getEntityCount
public int getEntityCount()
- Returns:
- Number of general (non-parameter) entities (of all types)
declared in this DTD
schema (in subsets [internal, external] included)
getNotationCount
public int getNotationCount()
- Returns:
- Number of notations declared in this DTD
schema (in subsets [internal, external] included)