org.extex.unit.tex.typesetter
Class AbstractVerticalCode

java.lang.Object
  extended by org.extex.interpreter.type.AbstractCode
      extended by org.extex.unit.tex.typesetter.AbstractVerticalCode
All Implemented Interfaces:
java.io.Serializable, Code
Direct Known Subclasses:
Vfi, Vfil, Vfill, Vfilneg, Vskip, Vss

public abstract class AbstractVerticalCode
extends AbstractCode

This an abstract base class for primitives in vertical mode.

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

Field Summary
protected static long serialVersionUID
          The constant serialVersionUID contains the id for serialization.
 
Constructor Summary
AbstractVerticalCode(CodeToken token)
          Creates a new object.
 
Method Summary
protected  void ensureVerticalMode(Typesetter typesetter)
          Check that the current mode is a vertical mode and throw an exception if another mode is detected.
 
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
 

Field Detail

serialVersionUID

protected static final long serialVersionUID
The constant serialVersionUID contains the id for serialization.

See Also:
Constant Field Values
Constructor Detail

AbstractVerticalCode

public AbstractVerticalCode(CodeToken token)
Creates a new object.

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

ensureVerticalMode

protected void ensureVerticalMode(Typesetter typesetter)
                           throws HelpingException,
                                  TypesetterException,
                                  ConfigurationException
Check that the current mode is a vertical mode and throw an exception if another mode is detected.

Parameters:
typesetter - the typesetter to ask for the mode
Throws:
HelpingException - in case of an error
TypesetterException - in case of an error in the typesetter
ConfigurationException - in case of an configuration error