org.extex.base.parser
Class ConstantMuskipParser

java.lang.Object
  extended by org.extex.base.parser.ConstantMuskipParser
All Implemented Interfaces:
Parser<Muskip>

public class ConstantMuskipParser
extends java.lang.Object
implements Parser<Muskip>

This class provides a skip value with a variable length of order 0. The actual length is a multiple of math units (mu).

Version:
$Revision:4399 $
Author:
Gerd Neugebauer

Field Summary
protected static long serialVersionUID
          The constant serialVersionUID contains the id for serialization.
 
Constructor Summary
ConstantMuskipParser()
           
 
Method Summary
 Muskip parse(Context context, TokenSource source, Typesetter typesetter)
          Creates a new object and fills it from a token stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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

ConstantMuskipParser

public ConstantMuskipParser()
Method Detail

parse

public Muskip parse(Context context,
                    TokenSource source,
                    Typesetter typesetter)
             throws HelpingException,
                    TypesetterException
Creates a new object and fills it from a token stream.

Specified by:
parse in interface Parser<Muskip>
Parameters:
context - the processor context
source - the source for new tokens
typesetter - the typesetter
Returns:
the value parsed
Throws:
HelpingException - in case of an error
TypesetterException - in case of an error in the typesetter