Top Methods
org.apache.xerces.impl.dtd.models

public Interface ContentModelValidator

Known Direct Implementers
org.apache.xerces.impl.dtd.models.DFAContentModel, org.apache.xerces.impl.dtd.models.MixedContentModel, org.apache.xerces.impl.dtd.models.SimpleContentModel
Imports
org.apache.xerces.xni.QName

Version
$Id: ContentModelValidator.java 446752 2006-09-15 21:55:19Z mrglavas $

Method Summary

Modifier and TypeMethod and Description
public int

Returns:

The value -1 if fully valid, else the 0 based index of the child that first failed. If the value returned is equal to the number of children, then the specified children are valid but additional content is required to reach a valid ending state.
validate
(QName[] children, int offset, int length)

validate

Method Detail

validateback to summary
public int validate(QName[] children, int offset, int length)

validate

Returns:int

The value -1 if fully valid, else the 0 based index of the child that first failed. If the value returned is equal to the number of children, then the specified children are valid but additional content is required to reach a valid ending state.