Note that the incoming content model to test must be valid at least up to the insertion point. If not, then -1 will be returned and the info object will not have been filled in.
If, on return, the info.isValidEOC flag is set, then the 'insert after' element is a valid end of content. In other words, nothing needs to be inserted after it to make the parent element's content model valid. @param fullyValid Only return elements that can be inserted and stillmaintain the validity of subsequent elements past the insertion point (if any). If the insertion point is at the end, and this is true, then only elements that can be legal final states will be returned. @param info An object that contains the required input data for the method,and which will contain the output information if successful. @return The value -1 if fully valid, else the 0 based index of the childthat first failed before the insertion point. 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. @see InsertableElementsInfo
|
|
|
|