public interface

ContentModelValidator

org.apache.xerces.impl.dtd.models.ContentModelValidator
Known Indirect Subclasses

Class Overview

@xerces.internal

Summary

Public Methods
abstract int validate(QName[] children, int offset, int length)
validate

Public Methods

public abstract int validate (QName[] children, int offset, int length)

validate

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.