org.extex.unit.tex.typesetter.mark
Class AbstractMarkCode

java.lang.Object
  extended by org.extex.interpreter.type.AbstractCode
      extended by org.extex.unit.tex.typesetter.mark.AbstractMarkCode
All Implemented Interfaces:
java.io.Serializable, Code
Direct Known Subclasses:
Marks

public abstract class AbstractMarkCode
extends AbstractCode

This abstract base class for mark primitives provides the common features.

Version:
$Revision:4431 $
Author:
Gerd Neugebauer
See Also:
Serialized Form

Constructor Summary
AbstractMarkCode(CodeToken token)
          Creates a new object.
 
Method Summary
protected  java.lang.String getKey(Context context, TokenSource source, Typesetter typesetter)
          Get the key for this mark.
 
Methods inherited from class org.extex.interpreter.type.AbstractCode
execute, getLocalizer, getName, getToken, isIf, isOuter, readResolve, toString, toText, toText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractMarkCode

public AbstractMarkCode(CodeToken token)
Creates a new object.

Parameters:
token - the initial token for the primitive
Method Detail

getKey

protected java.lang.String getKey(Context context,
                                  TokenSource source,
                                  Typesetter typesetter)
                           throws HelpingException,
                                  TypesetterException
Get the key for this mark.

Parameters:
context - the interpreter context
source - the source for new tokens
typesetter - the typesetter
Returns:
the key for the mark primitive
Throws:
HelpingException - in case of an error
TypesetterException - in case of an error in the typesetter