de.dante.extex.interpreter.type.box
Interface RuleConvertible

All Superinterfaces:
BoxOrRule
All Known Implementing Classes:
Hrule, Vrule

public interface RuleConvertible
extends BoxOrRule

This interface describes the possibility to provide a rule as result of the operation. Usually this box is gathered from the input stream and build by the typesetter.

Version:
$Revision: 1.5 $
Author:
Gerd Neugebauer

Method Summary
 RuleNode getRule(Context context, TokenSource source, Typesetter typesetter)
          Getter for the content as Rule.
 

Method Detail

getRule

public RuleNode getRule(Context context,
                        TokenSource source,
                        Typesetter typesetter)
                 throws InterpreterException
Getter for the content as Rule.

Parameters:
context - the interpreter context
source - the source for new tokens
typesetter - the typesetter to use
Returns:
an appropriate Box
Throws:
InterpreterException - in case of an error