org.extex.unit.tex.table
Class AbstractAlign

java.lang.Object
  extended by org.extex.interpreter.type.AbstractCode
      extended by org.extex.unit.tex.table.AbstractAlign
All Implemented Interfaces:
java.io.Serializable, Code
Direct Known Subclasses:
Halign, Valign

public abstract class AbstractAlign
extends AbstractCode

This is the abstract base class for alignments.

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

Field Summary
protected static long serialVersionUID
          The constant serialVersionUID contains the id for serialization.
 
Constructor Summary
AbstractAlign(CodeToken token)
          Creates a new object.
 
Method Summary
protected  java.util.List<PreambleItem> getPreamble(Context context, TokenSource source)
          Get the preamble.
 
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

AbstractAlign

public AbstractAlign(CodeToken token)
Creates a new object.

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

getPreamble

protected java.util.List<PreambleItem> getPreamble(Context context,
                                                   TokenSource source)
                                            throws HelpingException
Get the preamble. The preamble is composed of PreambleItems.

Parameters:
context - the interpreter context
source - the source for new tokens
Returns:
the preamble as list of PreambleItems
Throws:
HelpingException - in case of an error