org.apache.struts2.views.xdocreport
Class AbstractPopulateContext

java.lang.Object
  extended by org.apache.struts2.views.xdocreport.AbstractPopulateContext
Direct Known Subclasses:
LazyCommonsBeanUtilsPopulateContext, LazyPopulateContext

public abstract class AbstractPopulateContext
extends Object


Constructor Summary
AbstractPopulateContext()
           
 
Method Summary
protected abstract  PropertyDescriptor[] getPropertyDescriptors(Object pojo)
           
protected abstract  Object getSimpleProperty(Object pojo, PropertyDescriptor descriptor)
           
 void populate(IContext context, Object pojo)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractPopulateContext

public AbstractPopulateContext()
Method Detail

populate

public void populate(IContext context,
                     Object pojo)
              throws Exception
Throws:
Exception

getPropertyDescriptors

protected abstract PropertyDescriptor[] getPropertyDescriptors(Object pojo)
                                                        throws Exception
Throws:
Exception

getSimpleProperty

protected abstract Object getSimpleProperty(Object pojo,
                                            PropertyDescriptor descriptor)
                                     throws Exception
Throws:
Exception


Copyright © 2013. All rights reserved.