de.dante.extex.interpreter.primitives.register.skip
Class SkipParameter

java.lang.Object
  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, java.io.Serializable, 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.

Example

 \skip12=345pt plus 12em
 

Version:
$Revision: 1.11 $
Author:
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
execute
 
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

serialVersionUID

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

See Also:
Constant Field Values
Constructor Detail

SkipParameter

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

Parameters:
name - the name for debugging
Method Detail

getKey

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

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