org.sonatype.maven.polyglot.groovy.builder.factory
Class ChildFactory

java.lang.Object
  extended by groovy.util.AbstractFactory
      extended by org.sonatype.maven.polyglot.groovy.builder.factory.NamedFactory
          extended by 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

Nested Class Summary
 
Nested classes/interfaces inherited from class org.sonatype.maven.polyglot.groovy.builder.factory.NamedFactory
NamedFactory.NodeValueParseException
 
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 org.sonatype.maven.polyglot.groovy.builder.factory.NamedFactory
getName, setParent, toString
 
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
 

Constructor Detail

ChildFactory

public ChildFactory(java.lang.String name,
                    java.lang.Class type)
Method Detail

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