ImportCustomizerFactory (groovy 2.4.11 API)
Date: 2017-04-27

Package: org.codehaus.groovy.control.customizers.builder

## [Java] Class ImportCustomizerFactory

- org.codehaus.groovy.control.customizers.builder.ImportCustomizerFactory

- This factory allows the generation of an import customizer. You may embed several elements:

  - normal for "regular" imports
  - star for "star" imports
  - staticStar for "static star" imports
  - alias for imports with alias
  - staticMember for static imports of individual members
  For example:

      builder.imports {
       alias 'AI', 'java.util.concurrent.atomic.AtomicInteger'
       alias 'AL', 'java.util.concurrent.atomic.AtomicLong'
      }

  Authors:
    Cedric Champeau
  Since:
    2.1.0

- - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `boolean` | `isHandlesNodeChildren()`
    `` | `Object` | `newInstance(FactoryBuilderSupport builder, Object name, Object value, Map attributes)`
    `` | `boolean` | `onNodeChildren(FactoryBuilderSupport builder, Object node, Closure childContent)`

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class AbstractFactory` | `isHandlesNodeChildren, isLeaf, onFactoryRegistration, onHandleNodeAttributes, onNodeChildren, onNodeCompleted, setChild, setParent`
    `class Object` | `wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll`

- - ### Method Detail

    - #### @Override public boolean isHandlesNodeChildren()

    - #### public Object newInstance(FactoryBuilderSupport builder, Object name, Object value, Map attributes)

    - #### @Override public boolean onNodeChildren(FactoryBuilderSupport builder, Object node, Closure childContent)