GXml.Collection.validate_append – GXml-0.20 Reference Manual

# validate_append

## Description:

public abstract bool validate_append (int index, DomElement element) throws Error

Validate if given node and index, should be added to collection.

Implementations should use this method to perform any action before element is added to collection, like setup internal pointers to given index, in order to get access to referenced node.

Return: true if node and index should be added to collection.