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<http://www.manning.com/bauer3/>
JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
Spring Batch in Action <http://www.manning.com/templier/>
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory