net.fortuna.ical4j.model.property
Class AbstractPropertyFactory

java.lang.Object
  extended by groovy.util.AbstractFactory
      extended by net.fortuna.ical4j.model.property.AbstractPropertyFactory
All Implemented Interfaces:
groovy.lang.GroovyObject, groovy.util.Factory
Direct Known Subclasses:
ActionFactory, AttachFactory, AttendeeFactory, BusyTypeFactory, CalScaleFactory, CategoriesFactory, ClazzFactory, CommentFactory, CompletedFactory, ContactFactory, CountryFactory, CreatedFactory, DescriptionFactory, DtEndFactory, DtStampFactory, DtStartFactory, DueFactory, DurationFactory, ExDateFactory, ExRuleFactory, FreeBusyFactory, GeoFactory, LastModifiedFactory, LocationFactory, LocationTypeFactory, MethodFactory, NameFactory, OrganizerFactory, PercentCompleteFactory, PostalcodeFactory, PriorityFactory, ProdIdFactory, RDateFactory, RecurrenceIdFactory, RegionFactory, RelatedToFactory, RepeatFactory, RequestStatusFactory, ResourcesFactory, RRuleFactory, SequenceFactory, StatusFactory, StreetAddressFactory, SummaryFactory, TelFactory, TranspFactory, TriggerFactory, TzIdFactory, TzNameFactory, TzOffsetFromFactory, TzOffsetToFactory, TzUrlFactory, UidFactory, UrlFactory, VersionFactory, XPropertyFactory

public abstract class AbstractPropertyFactory
extends groovy.util.AbstractFactory
implements groovy.lang.GroovyObject

$Id$ Created on: 03/08/2009

Author:
fortuna

Constructor Summary
AbstractPropertyFactory()
           
 
Method Summary
 groovy.lang.MetaClass getMetaClass()
           
 Object getProperty(String name)
           
 Object invokeMethod(String name, Object args)
           
 Object newInstance(groovy.util.FactoryBuilderSupport builder, Object name, Object value, Map attributes)
           
protected abstract  Object newInstance(ParameterList parameters, String value)
           
 void setChild(groovy.util.FactoryBuilderSupport build, Object parent, Object child)
           
 void setMetaClass(groovy.lang.MetaClass metaClass)
           
 void setProperty(String name, Object value)
           
 
Methods inherited from class groovy.util.AbstractFactory
isHandlesNodeChildren, isLeaf, onFactoryRegistration, onHandleNodeAttributes, onNodeChildren, onNodeCompleted, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractPropertyFactory

public AbstractPropertyFactory()
Method Detail

newInstance

public Object newInstance(groovy.util.FactoryBuilderSupport builder,
                          Object name,
                          Object value,
                          Map attributes)
                   throws InstantiationException,
                          IllegalAccessException
Specified by:
newInstance in interface groovy.util.Factory
Throws:
InstantiationException
IllegalAccessException

newInstance

protected abstract Object newInstance(ParameterList parameters,
                                      String value)

setChild

public void setChild(groovy.util.FactoryBuilderSupport build,
                     Object parent,
                     Object child)
Specified by:
setChild in interface groovy.util.Factory
Overrides:
setChild in class groovy.util.AbstractFactory

getMetaClass

public groovy.lang.MetaClass getMetaClass()
Specified by:
getMetaClass in interface groovy.lang.GroovyObject

setMetaClass

public void setMetaClass(groovy.lang.MetaClass metaClass)
Specified by:
setMetaClass in interface groovy.lang.GroovyObject

invokeMethod

public Object invokeMethod(String name,
                           Object args)
Specified by:
invokeMethod in interface groovy.lang.GroovyObject

getProperty

public Object getProperty(String name)
Specified by:
getProperty in interface groovy.lang.GroovyObject

setProperty

public void setProperty(String name,
                        Object value)
Specified by:
setProperty in interface groovy.lang.GroovyObject


Copyright © 2004-2011 Micronode. All Rights Reserved.