Groovy Documentation

griffon.resourcemanager
[Groovy] Class PropertyEditorBasedFactory

java.lang.Object
  groovy.util.AbstractFactory
      griffon.resourcemanager.PropertyEditorBasedFactory

class PropertyEditorBasedFactory
extends AbstractFactory

Authors:
Alexander Klein


Property Summary
Class editor

Closure modifyMap

Closure modifyValue

 
Constructor Summary
PropertyEditorBasedFactory(Map params = [:], Class editor)

 
Method Summary
boolean isLeaf()

Object newInstance(FactoryBuilderSupport builder, Object name, Object value, Map attr)

private def translate(PropertyEditor editor, def value)

 
Methods inherited from class AbstractFactory
setParent, isLeaf, isHandlesNodeChildren, onFactoryRegistration, onHandleNodeAttributes, onNodeChildren, onNodeCompleted, setChild, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll, newInstance
 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Property Detail

editor

Class editor


modifyMap

Closure modifyMap


modifyValue

Closure modifyValue


 
Constructor Detail

PropertyEditorBasedFactory

PropertyEditorBasedFactory(Map params = [:], Class editor)


 
Method Detail

isLeaf

@Override
boolean isLeaf()


newInstance

@Override
Object newInstance(FactoryBuilderSupport builder, Object name, Object value, Map attr)


translate

private def translate(PropertyEditor editor, def value)


 

Groovy Documentation