Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Currently all node closures for a FactoryBuilderSupport node are always handled by the Builder. This allows the factory to handle the closure node themselfs, and permit or deny builder handling of the node.
Two APIs added:
boolean isHandlesNodeChildren() - must return true for the next API to be called in the factory lifecycle
boolean onHandleNodeAttributes(FactoryBuilderSupport builder, Object node, Map attributes) - if teh previous API was true this will be called boefre each child closure is processe. If false is returned the builder will not process the child, otherwise if true is passed the child will be processed as normal.