org.extex.interpreter.type.box
Interface Boxable

All Superinterfaces:
BoxOrRule
All Known Implementing Classes:
AbstractBoxPrimitive, BoxPrimitive, Copy, Halign, Hbox, Lastbox, Lower, Moveleft, Moveright, Raise, Vbox, Vsplit, Vtop

public interface Boxable
extends BoxOrRule

This interface describes the capability to deliver a Box. Usually this box is gathered from the input stream and build by the typesetter.

Version:
$Revision:4399 $
Author:
Gerd Neugebauer

Method Summary
 Box getBox(Context context, TokenSource source, Typesetter typesetter, Token insert)
          Getter for the content as Box.
 

Method Detail

getBox

Box getBox(Context context,
           TokenSource source,
           Typesetter typesetter,
           Token insert)
           throws ConfigurationException,
                  HelpingException,
                  TypesetterException
Getter for the content as Box.

Parameters:
context - the interpreter context
source - the source for new tokens
typesetter - the typesetter to use
insert - the token to insert either at the beginning of the box or after the box has been gathered. If it is null then nothing is inserted
Returns:
an appropriate Box
Throws:
ConfigurationException - in case of an configuration error
HelpingException - in case of an error
TypesetterException - in case of an error in the typesetter