Seems reasonable.

Nick

On Aug 16, 2013, at 1:07 PM, Gary Gregory wrote:

> In Layout I see (my bold):
> 
>     /**
>      * Returns the format for the layout format.
>      * @return The footer.
>      * @doubt the concept of header and footer is not universal, should not 
> be on the base interface.
>      * (RG) I agree with this.
>      */
>     byte[] getFooter();
> 
>     /**
>      * Returns the header for the layout format.
>      * @return The header.
>      * @doubt the concept of header and footer is not universal, should not 
> be on the base interface.
>      * (RG) I agree with this.
>      */
>     byte[] getHeader();
> 
> So do we want:
> 
> public interface PagedLayout<T extends Serializable> extends Layout<T> {
>     byte[] getHeader();
>     byte[] getFooter();
> }
> 
> ?
> 
> "PagedLayout" is just a placeholder name, alts welcome.
> 
> Gary
> -- 
> E-Mail: [email protected] | [email protected] 
> Java Persistence with Hibernate, Second Edition
> JUnit in Action, Second Edition
> Spring Batch in Action
> Blog: http://garygregory.wordpress.com 
> Home: http://garygregory.com/
> Tweet! http://twitter.com/GaryGregory

Reply via email to