org.extex.typesetter.listMaker
Class RestrictedHorizontalListMaker

java.lang.Object
  extended by org.extex.typesetter.listMaker.AbstractListMaker
      extended by org.extex.typesetter.listMaker.HorizontalListMaker
          extended by org.extex.typesetter.listMaker.RestrictedHorizontalListMaker
All Implemented Interfaces:
ListMaker, TokenDelegateListMaker
Direct Known Subclasses:
HAlignListMaker

public class RestrictedHorizontalListMaker
extends HorizontalListMaker

This is the derived class for a list maker in restricted horizontal mode.

Version:
$Revision: 5837 $
Author:
Gerd Neugebauer

Constructor Summary
RestrictedHorizontalListMaker(ListManager manager, Locator locator)
          Creates a new object.
 
Method Summary
 NodeList complete(TypesetterOptions context)
          Close the node list.
 Mode getMode()
          Getter for the current mode.
 
Methods inherited from class org.extex.typesetter.listMaker.HorizontalListMaker
add, add, addAndAdjust, addSpace, afterParagraph, cr, getLastNode, getNodes, getSpacefactor, letter, par, removeLastNode, setNodes, setSpacefactor, showlist, toString
 
Methods inherited from class org.extex.typesetter.listMaker.AbstractListMaker
getLocalizer, getLocator, getManager, getMyLocalizer, getPrevDepth, leftBrace, mathShift, rightBrace, setPrevDepth, subscriptMark, superscriptMark, tab
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RestrictedHorizontalListMaker

public RestrictedHorizontalListMaker(ListManager manager,
                                     Locator locator)
Creates a new object.

Parameters:
manager - the manager to ask for global changes
locator - the locator
Method Detail

getMode

public Mode getMode()
Getter for the current mode.

Specified by:
getMode in interface ListMaker
Overrides:
getMode in class HorizontalListMaker
Returns:
the mode which is one of the values defined in Mode.
See Also:
ListMaker.getMode()

complete

public NodeList complete(TypesetterOptions context)
                  throws TypesetterException,
                         ConfigurationException
Close the node list. This means that everything is done to ship the closed node list to the document writer. Nevertheless the invoking application might decide not to modify the node list and continue processing. In the other case some nodes might be taken from the node list returned by this method. Then the processing has to continue with the reduced node list.

Specified by:
complete in interface ListMaker
Overrides:
complete in class HorizontalListMaker
Parameters:
context - the typesetter options mapping a fragment of the interpreter context
Returns:
the node list enclosed in this instance
Throws:
TypesetterException - in case of an error
ConfigurationException - in case of a configuration error
See Also:
ListMaker.complete(TypesetterOptions)