org.codehaus.stax2.validation
Interface DTDValidationSchema

All Superinterfaces:
XMLValidationSchema
All Known Implementing Classes:
DTDSubset, DTDSubsetImpl

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.


Field Summary
 
Fields inherited from interface org.codehaus.stax2.validation.XMLValidationSchema
SCHEMA_ID_DTD, SCHEMA_ID_RELAXNG, SCHEMA_ID_TREX, SCHEMA_ID_W3C_SCHEMA
 
Method Summary
 int getEntityCount()
           
 int getNotationCount()
           
 
Methods inherited from interface org.codehaus.stax2.validation.XMLValidationSchema
createValidator, getSchemaType
 

Method Detail

getEntityCount

int getEntityCount()
Returns:
Number of general (non-parameter) entities (of all types) declared in this DTD schema (in subsets [internal, external] included)

getNotationCount

int getNotationCount()
Returns:
Number of notations declared in this DTD schema (in subsets [internal, external] included)