org.extex.interpreter.primitives.register.bool
Interface BoolConvertible

All Known Implementing Classes:
NamedBool, NumberedBool

public interface BoolConvertible

This is an interface which describes the feature to be convertibe into a bool.

Version:
$Revision: 5996 $
Author:
Michael Niedermair

Method Summary
 Bool convertBool(Context context, TokenSource source, Typesetter typesetter)
          Convert to a bool.
 

Method Detail

convertBool

Bool convertBool(Context context,
                 TokenSource source,
                 Typesetter typesetter)
                 throws HelpingException,
                        TypesetterException
Convert to a bool.

Parameters:
context - the interpreter context
source - the source for new tokens
typesetter - The typesetter
Returns:
the converted value
Throws:
HelpingException - in case of an error
TypesetterException - in case of an error in the typesetter