APIdia Launch Partner
Top Methods
com.sun.org.apache.xerces.internal.impl.dtd.models

public Interface ContentModelValidator

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

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.