ContentModel is an interface that can be used by your own custom validators to plug in various types of content models. It is used internally as well for the same purposes.
Since there are a number of optimizations that can be used for simple or special content models, this class provides the interface via which all of the various content model types are managed. So the validation handler class has a list of things derived from this class. It finds the one for the desired element, then asks it to validate the element contents.
The validation interface from the scanner to the validation handle provides a child count and an array of element name indices into the string pool. So it is assumed that those same parameters will be passed to the content model to be validated. Therefore the validateContent() method accepts this standard view of the elements to be validated.
@author Dean Roddey, Eric Ye
@version $Id: XMLContentModel.java,v 1.7 2001/05/18 20:31:16 neilg Exp $