agonism.dovetail.site
Class DefaultFactory

java.lang.Object
  |
  +--agonism.dovetail.site.DefaultFactory
All Implemented Interfaces:
IFactory

public class DefaultFactory
extends java.lang.Object
implements IFactory


Constructor Summary
DefaultFactory(IRequestContext context)
           
 
Method Summary
protected  IRequestContext getContext()
           
 Form newForm(QForm peer)
          Factory method for a new form
 Location newLocation(QLocation peer)
          Factory method for a new location
 Page newPage(QPage peer)
          Factory method for a new page
 Query newQuery(QQuery peer)
          Factory method for a new query
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultFactory

public DefaultFactory(IRequestContext context)
Method Detail

newPage

public Page newPage(QPage peer)
Description copied from interface: IFactory
Factory method for a new page
Specified by:
newPage in interface IFactory

newLocation

public Location newLocation(QLocation peer)
Description copied from interface: IFactory
Factory method for a new location
Specified by:
newLocation in interface IFactory

newForm

public Form newForm(QForm peer)
Description copied from interface: IFactory
Factory method for a new form
Specified by:
newForm in interface IFactory

newQuery

public Query newQuery(QQuery peer)
Description copied from interface: IFactory
Factory method for a new query
Specified by:
newQuery in interface IFactory

getContext

protected IRequestContext getContext()