groovytools.builder
Class MetaBuilder.DefaultDefineSchemaNodeFactory

java.lang.Object
  extended by groovy.util.AbstractFactory
      extended by groovytools.builder.MetaBuilder.DefaultDefineSchemaNodeFactory
All Implemented Interfaces:
Factory
Enclosing class:
MetaBuilder

protected static class MetaBuilder.DefaultDefineSchemaNodeFactory
extends AbstractFactory

Default SchemaNode factory used when MetaBuilder.define(groovy.lang.Closure) is called. Differs from MetaBuilder.DefaultBuildSchemaNodeFactory in that it does include CollectionSchemaNodes in the result.


Constructor Summary
protected MetaBuilder.DefaultDefineSchemaNodeFactory()
           
 
Method Summary
 Object newInstance(FactoryBuilderSupport builder, Object name, Object value, Map attributes)
           
 
Methods inherited from class groovy.util.AbstractFactory
isLeaf, onHandleNodeAttributes, onNodeCompleted, setChild, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetaBuilder.DefaultDefineSchemaNodeFactory

protected MetaBuilder.DefaultDefineSchemaNodeFactory()
Method Detail

newInstance

public Object newInstance(FactoryBuilderSupport builder,
                          Object name,
                          Object value,
                          Map attributes)
                   throws InstantiationException,
                          IllegalAccessException
Throws:
InstantiationException
IllegalAccessException


Copyright © 2008 FoundryLogic, LLC. All Rights Reserved.