public class SecureASTCustomizerFactory
extends AbstractFactory
This factory allows the generation of a SecureASTCustomizer. Embedded elements are delegated to a SecureASTCustomizer instance.
| Type Params | Return Type | Name and description |
|---|---|---|
|
public boolean |
isHandlesNodeChildren()Indicates that secure AST customizer nodes accept nested closure content. |
|
public Object |
newInstance(FactoryBuilderSupport builder, Object name, Object value, Map attributes)Creates a secure AST customizer. |
|
public boolean |
onNodeChildren(FactoryBuilderSupport builder, Object node, Closure childContent)Executes nested builder content against the secure customizer. |
| Methods inherited from class | Name |
|---|---|
class AbstractFactory |
isHandlesNodeChildren, isLeaf, onFactoryRegistration, onHandleNodeAttributes, onNodeChildren, onNodeCompleted, setChild, setParent |
Indicates that secure AST customizer nodes accept nested closure content.
trueCreates a secure AST customizer.
builder - the active buildername - the node namevalue - the supplied node valueattributes - the node attributesExecutes nested builder content against the secure customizer.
builder - the active buildernode - the current nodechildContent - the nested closure contentfalse to continue normal processing