
Configures the wrapped element and all its children.
The attributes and text for the wrapped element are configured,
and then each child is configured and added. Each time the
wrapper is configured, the attributes and text for it are
reset.
If the element has an
id
attribute, a reference
is added to the project as well.
Parameters:
-
p - The project containing the wrapped element.
Must not be
null
.
Throws:
-
BuildException - if the configuration fails, for instance due
to invalid attributes or children, or text being added to
an element which doesn't accept it.