org.extex.unit.pdftex
Class PdftexUnitInfo

java.lang.Object
  extended by org.extex.interpreter.unit.UnitInfo
      extended by org.extex.unit.pdftex.PdftexUnitInfo
All Implemented Interfaces:
java.io.Serializable, Configurable, LoadedObserver, Loader

public class PdftexUnitInfo
extends UnitInfo
implements Configurable, Loader, LoadedObserver

This class provides the setup for the unit pdftex.

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

Field Summary
protected static long serialVersionUID
          The field serialVersionUID contains the version number for serialization.
 
Constructor Summary
PdftexUnitInfo()
          Creates a new object.
 
Method Summary
 void configure(Configuration config)
          Configure an object according to a given Configuration.
 void load(Context ctx, TokenSource src, Typesetter typesetter)
          Perform a load operation.
protected  java.lang.Object readResolve()
          Return the singleton constant object after the serialized instance has been read back in.
 void receiveLoaded(Context ctx, TokenSource src, Typesetter typesetter)
          Receive a notification on the loading of a context.
 void setTypesetter(Typesetter typesetter)
          Setter for the typesetter.
 
Methods inherited from class org.extex.interpreter.unit.UnitInfo
getName, 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 field serialVersionUID contains the version number for serialization.

See Also:
Constant Field Values
Constructor Detail

PdftexUnitInfo

public PdftexUnitInfo()
Creates a new object.

Method Detail

configure

public void configure(Configuration config)
               throws ConfigurationException
Configure an object according to a given Configuration.

Specified by:
configure in interface Configurable
Parameters:
config - the configuration object to consider
Throws:
ConfigurationException - in case that something went wrong
See Also:
Configurable.configure( org.extex.framework.configuration.Configuration)

load

public void load(Context ctx,
                 TokenSource src,
                 Typesetter typesetter)
          throws HelpingException
Perform a load operation.

Specified by:
load in interface Loader
Parameters:
ctx - the interpreter context
src - the source for new tokens
typesetter - the typesetter
Throws:
HelpingException - in case of an error
See Also:
Loader.load( org.extex.interpreter.context.Context, org.extex.interpreter.TokenSource, org.extex.typesetter.Typesetter)

readResolve

protected java.lang.Object readResolve()
Return the singleton constant object after the serialized instance has been read back in.

Returns:
the instance of this object

receiveLoaded

public void receiveLoaded(Context ctx,
                          TokenSource src,
                          Typesetter typesetter)
                   throws HelpingException
Receive a notification on the loading of a context.

Specified by:
receiveLoaded in interface LoadedObserver
Parameters:
ctx - the interpreter context
src - the source for new tokens
typesetter - the typesetter
Throws:
HelpingException - in case of an error
See Also:
LoadedObserver.receiveLoaded( org.extex.interpreter.context.Context, org.extex.interpreter.TokenSource, Typesetter)

setTypesetter

public void setTypesetter(Typesetter typesetter)
Setter for the typesetter.

Overrides:
setTypesetter in class UnitInfo
Parameters:
typesetter - the typesetter
See Also:
UnitInfo.setTypesetter( org.extex.typesetter.Typesetter)