Groovy Documentation

griffon.pivot.factory
[Groovy] Class PairFactory

java.lang.Object
  groovy.util.AbstractFactory
      griffon.pivot.factory.PairFactory

class PairFactory
extends AbstractFactory

Authors:
Andres Almiray


Field Summary
private static Class[] PARAMS

 
Property Summary
Class beanClass

String prop1

String prop2

 
Constructor Summary
PairFactory(Class beanClass, String prop1, String prop2)

 
Method Summary
boolean isLeaf()

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

 
Methods inherited from class AbstractFactory
setParent, isLeaf, onFactoryRegistration, isHandlesNodeChildren, onNodeChildren, onHandleNodeAttributes, 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
 

Field Detail

PARAMS

private static final Class[] PARAMS


 
Property Detail

beanClass

final Class beanClass


prop1

final String prop1


prop2

final String prop2


 
Constructor Detail

PairFactory

PairFactory(Class beanClass, String prop1, String prop2)


 
Method Detail

isLeaf

boolean isLeaf()


newInstance

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


 

Groovy Documentation