Class SkipParameter

  extended byde.dante.extex.interpreter.type.AbstractCode
      extended byde.dante.extex.interpreter.type.AbstractAssignment
          extended byde.dante.extex.interpreter.primitives.register.skip.AbstractSkip
              extended byde.dante.extex.interpreter.primitives.register.skip.SkipPrimitive
                  extended byde.dante.extex.interpreter.primitives.register.skip.SkipParameter
All Implemented Interfaces:
Advanceable, Code, Divideable, GlueConvertible, Localizable, Multiplyable,, Theable

public class SkipParameter
extends SkipPrimitive

This class provides an implementation for the primitive \skip. It sets the named skip register to the value given, and as a side effect all prefixes are zeroed.

All features are inherited from SkipParameter. Just the key has to be provided under which this Glue has to be stored. This key is constructed from the name, a hash mark and the running number.


 \skip12=345pt plus 12em

$Revision: 1.11 $
Gerd Neugebauer
See Also:
Serialized Form

Field Summary
protected static long serialVersionUID
          The constant serialVersionUID contains the id for serialization.
Constructor Summary
SkipParameter(java.lang.String name)
          Creates a new object.
Method Summary
protected  java.lang.String getKey(Context context, TokenSource source, Typesetter typesetter)
          Return the key (the number) for the skip register.
Methods inherited from class de.dante.extex.interpreter.primitives.register.skip.SkipPrimitive
advance, assign, convertGlue, divide, multiply, the
Methods inherited from class de.dante.extex.interpreter.type.AbstractAssignment
Methods inherited from class de.dante.extex.interpreter.type.AbstractCode
enableLocalization, 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


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

See Also:
Constant Field Values
Constructor Detail


public SkipParameter(java.lang.String name)
Creates a new object.

name - the name for debugging
Method Detail


protected java.lang.String getKey(Context context,
                                  TokenSource source,
                                  Typesetter typesetter)
Return the key (the number) for the skip register.

getKey in class AbstractSkip
source - the source for the next tokens – if required
context - the interpreter context to use
typesetter - the typesetter
the key for the skip register