|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.extex.typesetter.pageBuilder.trivial.TrivialPageBuilder
public class TrivialPageBuilder
This is a first reference implementation of a page builder.
| Constructor Summary | |
|---|---|
TrivialPageBuilder()
Creates a new object. |
|
| Method Summary | |
|---|---|
void |
close()
Close the page builder. |
void |
flush(NodeList nodes,
Typesetter typesetter)
This method is used when the page builder has received its last nodes. |
void |
inspectAndBuild(VerticalListNode nodes,
Typesetter typesetter)
This is the entry point for the page builder. |
void |
setBackend(BackendDriver backend)
Setter for the back-end driver. |
void |
setContext(PageContext context)
Setter for the interpreter context |
void |
setOptions(TypesetterOptions options)
Setter for options. |
void |
setOutputRoutine(OutputRoutine output)
Setter for the output routine. |
void |
setPageFactory(PageFactory factory)
Setter for the page factory. |
void |
shipout(NodeList nodes,
Typesetter typesetter)
This method is used when the page builder has received its last nodes. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TrivialPageBuilder()
| Method Detail |
|---|
public void close()
throws TypesetterException
close in interface PageBuilderTypesetterException - in case of an errorPageBuilder.close()
public void flush(NodeList nodes,
Typesetter typesetter)
throws TypesetterException
Nevertheless some ship-outs might come afterwards.
flush in interface PageBuildernodes - the nodes to sendtypesetter - the typesetter
TypesetterException - in case of an errorPageBuilder.flush(
org.extex.typesetter.type.NodeList, org.extex.typesetter.Typesetter)
public void inspectAndBuild(VerticalListNode nodes,
Typesetter typesetter)
throws TypesetterException
inspectAndBuild in interface PageBuildernodes - the nodes to sendtypesetter - the typesetter
TypesetterException - in case of an errorPageBuilder.inspectAndBuild(
org.extex.typesetter.type.node.VerticalListNode,
org.extex.typesetter.Typesetter)public void setBackend(BackendDriver backend)
setBackend in interface PageBuilderbackend - the new document writer to useTypesetter.setBackend(
org.extex.backend.BackendDriver)public void setContext(PageContext context)
setContext in interface PageBuildercontext - the interpreter contextPageBuilder.setContext(
org.extex.typesetter.PageContext)public void setOptions(TypesetterOptions options)
setOptions in interface PageBuilderoptions - the options to setPageBuilder.setOptions(
org.extex.typesetter.TypesetterOptions)public void setOutputRoutine(OutputRoutine output)
PageBuilder
setOutputRoutine in interface PageBuilderoutput - the output routinePageBuilder.setOutputRoutine(
org.extex.typesetter.output.OutputRoutine)public void setPageFactory(PageFactory factory)
PageBuilder
setPageFactory in interface PageBuilderfactory - the page factoryPageBuilder.setPageFactory(
org.extex.typesetter.type.page.PageFactory)
public void shipout(NodeList nodes,
Typesetter typesetter)
throws TypesetterException
PageBuilderNevertheless some ship-outs might come afterwards.
shipout in interface PageBuildernodes - the nodes to sendtypesetter - the typesetter
TypesetterException - in case of an errorPageBuilder.shipout(
org.extex.typesetter.type.NodeList, org.extex.typesetter.Typesetter)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||