org.sonatype.maven.polyglot.groovy.builder.factory
Class ChildFactory
java.lang.Object
groovy.util.AbstractFactory
org.sonatype.maven.polyglot.groovy.builder.factory.NamedFactory
org.sonatype.maven.polyglot.groovy.builder.factory.ChildFactory
- All Implemented Interfaces:
- groovy.util.Factory
public class ChildFactory
- extends NamedFactory
Builds child nodes.
- Since:
- 0.7
- Author:
- Jason Dillon
Constructor Summary |
ChildFactory(java.lang.String name,
java.lang.Class type)
|
Method Summary |
java.lang.Object |
newInstance(groovy.util.FactoryBuilderSupport builder,
java.lang.Object name,
java.lang.Object value,
java.util.Map attrs)
|
Methods inherited from class groovy.util.AbstractFactory |
isHandlesNodeChildren, isLeaf, onFactoryRegistration, onHandleNodeAttributes, onNodeChildren, onNodeCompleted, setChild |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ChildFactory
public ChildFactory(java.lang.String name,
java.lang.Class type)
newInstance
public java.lang.Object newInstance(groovy.util.FactoryBuilderSupport builder,
java.lang.Object name,
java.lang.Object value,
java.util.Map attrs)
throws java.lang.InstantiationException,
java.lang.IllegalAccessException
- Throws:
java.lang.InstantiationException
java.lang.IllegalAccessException