Top Description Fields Methods
org.codehaus.stax2.validation

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

Inherited from org.codehaus.stax2.validation.XMLValidationSchema:
SCHEMA_ID_DTDSCHEMA_ID_RELAXNGSCHEMA_ID_TREXSCHEMA_ID_W3C_SCHEMA

Method Summary

Modifier and TypeMethod and Description
public int

Returns:

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

public int

Returns:

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

Inherited from org.codehaus.stax2.validation.XMLValidationSchema:
createValidatorgetSchemaType

Method Detail

getEntityCountback to summary
public int getEntityCount()
Returns:int

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

getNotationCountback to summary
public int getNotationCount()
Returns:int

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