org.ektorp.support
Class StdDesignDocumentFactory

java.lang.Object
  extended by org.ektorp.support.StdDesignDocumentFactory
All Implemented Interfaces:
DesignDocumentFactory

public class StdDesignDocumentFactory
extends Object
implements DesignDocumentFactory

Author:
henrik lundgren

Field Summary
 SimpleViewGenerator viewGenerator
           
 
Constructor Summary
StdDesignDocumentFactory()
           
 
Method Summary
 DesignDocument generateFrom(Object metaDataSource)
          Generates a design document with views, lists, shows and filters generated and loaded according to the annotations found in the metaDataSource object.
protected  DesignDocument newDesignDocumentInstance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

viewGenerator

public SimpleViewGenerator viewGenerator
Constructor Detail

StdDesignDocumentFactory

public StdDesignDocumentFactory()
Method Detail

generateFrom

public DesignDocument generateFrom(Object metaDataSource)
Description copied from interface: DesignDocumentFactory
Generates a design document with views, lists, shows and filters generated and loaded according to the annotations found in the metaDataSource object.

Specified by:
generateFrom in interface DesignDocumentFactory
Returns:

newDesignDocumentInstance

protected DesignDocument newDesignDocumentInstance()


Copyright © 2011. All Rights Reserved.