de.dante.extex.interpreter.primitives.typesetter
Class AbstractVerticalCode

java.lang.Object
  extended byde.dante.extex.interpreter.type.AbstractCode
      extended byde.dante.extex.interpreter.primitives.typesetter.AbstractVerticalCode
All Implemented Interfaces:
Code, Localizable, java.io.Serializable
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: 1.13 $
Author:
Gerd Neugebauer
See Also:
Serialized Form

Field Summary
protected static long serialVersionUID
          The constant serialVersionUID contains the id for serialization.
 
Constructor Summary
AbstractVerticalCode(java.lang.String codeName)
          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 de.dante.extex.interpreter.type.AbstractCode
enableLocalization, execute, getLocalizer, getName, isIf, isOuter, printable, printableControlSequence, readResolve, setName, toString
 
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(java.lang.String codeName)
Creates a new object.

Parameters:
codeName - the name of the code
Method Detail

ensureVerticalMode

protected void ensureVerticalMode(Typesetter typesetter)
                           throws InterpreterException
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:
InterpreterException - in case of an error