org.apache.xerces.impl.dtd.models
Interface ContentModelValidator
- DFAContentModel, MixedContentModel, SimpleContentModel
public interface ContentModelValidator
$Id: ContentModelValidator.java,v 1.6 2004/10/04 22:00:42 mrglavas Exp $ int | validate(org.apache.xerces.xni.QName[] children, int offset, int length) - validate
|
validate
public int validate(org.apache.xerces.xni.QName[] children,
int offset,
int length)
validate
children
- offset
- length
-
- 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.
Copyright B) 1999-2005 Apache XML Project. All Rights Reserved.