org.extex.typesetter.type.page
Interface PageFactory

All Known Implementing Classes:
PageFactoryImpl

public interface PageFactory

This class provides a factory for page instances.

Version:
$Revision: 4399 $
Author:
Gerd Neugebauer

Method Summary
 Page newInstance(NodeList nodes, PageContext context, Typesetter typesetter)
          Get a new instance of a page.
 

Method Detail

newInstance

Page newInstance(NodeList nodes,
                 PageContext context,
                 Typesetter typesetter)
                 throws GeneralException
Get a new instance of a page.

Parameters:
nodes - the nodes contained
context - the interpreter context
typesetter - the typesetter
Returns:
the new instance or null if the page would be empty
Throws:
GeneralException - in case of an error