org.extex.interpreter.type.tokens
Interface TokensConvertible
- All Known Implementing Classes:
- AbstractMarksCode, Botmark, Botmarks, Firstmark, Firstmarks, Pdffontname, Pdffontobjnum, Pdflastannot, Pdflastobj, Pdflastxform, Splitbotmark, Splitbotmarks, Splitfirstmark, Splitfirstmarks, ToksParameter, ToksPrimitive, Topmark, Topmarks, WriterType
public interface TokensConvertible
This is an interface which describes the feature to be convertible into
tokens.
- Version:
- $Revision:4399 $
- Author:
- Gerd Neugebauer
convertTokens
Tokens convertTokens(Context context,
TokenSource source,
Typesetter typesetter)
throws HelpingException,
TypesetterException
- This method converts a register into tokens. It might be necessary to
read further tokens to determine which value to use. For instance an
additional register number might be required. In this case the additional
arguments Context and TokenSource can be used.
- Parameters:
context - the interpreter contextsource - the source for new tokenstypesetter - the typesetter to use for conversion
- Returns:
- the converted value
- Throws:
HelpingException - in case of an error
TypesetterException - in case of an error in the typesetter