de.dante.extex.typesetter.paragraphBuilder.trivial
Class TrivialBuilder

java.lang.Object
  extended byde.dante.extex.typesetter.paragraphBuilder.trivial.TrivialBuilder
All Implemented Interfaces:
LogEnabled, ParagraphBuilder

public class TrivialBuilder
extends java.lang.Object
implements ParagraphBuilder, LogEnabled

This class implements a trivial paragraph builder.

Version:
$Revision: 1.22 $
Author:
Gerd Neugebauer

Constructor Summary
TrivialBuilder()
          Creates a new object.
 
Method Summary
 NodeList build(HorizontalListNode nodes)
          Break a horizontal list into lines.
 void enableLogging(java.util.logging.Logger theLogger)
          Setter for the logger.
 void setNodefactory(NodeFactory nodeFactory)
          Setter for the node factory.
 void setOptions(TypesetterOptions options)
          Setter for options.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TrivialBuilder

public TrivialBuilder()
Creates a new object.

Method Detail

build

public NodeList build(HorizontalListNode nodes)
Description copied from interface: ParagraphBuilder
Break a horizontal list into lines. The horizontal list passed in might be modified under way.

Specified by:
build in interface ParagraphBuilder
Parameters:
nodes - the horizontal node list containing all nodes for the paragraph
Returns:
the VerticalListNode containing the hboxes of the lines
See Also:
ParagraphBuilder.build( de.dante.extex.typesetter.type.node.HorizontalListNode)

enableLogging

public void enableLogging(java.util.logging.Logger theLogger)
Description copied from interface: LogEnabled
Setter for the logger.

Specified by:
enableLogging in interface LogEnabled
Parameters:
theLogger - the logger to use
See Also:
LogEnabled.enableLogging( java.util.logging.Logger)

setNodefactory

public void setNodefactory(NodeFactory nodeFactory)
Description copied from interface: ParagraphBuilder
Setter for the node factory.

Specified by:
setNodefactory in interface ParagraphBuilder
Parameters:
nodeFactory - the node factory
See Also:
ParagraphBuilder.setNodefactory( de.dante.extex.typesetter.type.node.factory.NodeFactory)

setOptions

public void setOptions(TypesetterOptions options)
Description copied from interface: ParagraphBuilder
Setter for options.

Specified by:
setOptions in interface ParagraphBuilder
Parameters:
options - the options to set.
See Also:
ParagraphBuilder.setOptions( de.dante.extex.typesetter.TypesetterOptions)