org.extex.font.format.vf
Class VfDvi2Node

java.lang.Object
  extended by org.extex.font.format.vf.VfDvi2Node
All Implemented Interfaces:
DviExecuteCommand, DviInterpreter

public class VfDvi2Node
extends java.lang.Object
implements DviInterpreter, DviExecuteCommand

Convert Vf-Dvi to nodes.

Version:
$Revision: 7275 $
Author:
Michael Niedermair

Constructor Summary
VfDvi2Node(UnicodeChar uc, TypesettingContext tc, NodeFactory factory, TypesettingContextFactory tcFactory, CoreFontFactory fontfactory, int charpos, VfFont vfFont)
          Creates a new object.
 
Method Summary
 void execute(DviBOP command)
          execute DviBOP
 void execute(DviChar command)
          execute DviChar.
 void execute(DviDown command)
          execute DviDown
 void execute(DviEOP command)
          execute DviEOP
 void execute(DviFntDef command)
          execute DviFntDef
 void execute(DviFntNum command)
          execute DviFntNum
 void execute(DviNOP command)
          execute DviNOP
 void execute(DviPOP command)
          execute DviPOP
 void execute(DviPost command)
          execute DviPost
 void execute(DviPostPost command)
          execute DviPostPost
 void execute(DviPre command)
          execute DviPre
 void execute(DviPush command)
          execute DviPUSH
 void execute(DviRight command)
          execute DviRight
 void execute(DviRule command)
          execute DviRule
 void execute(DviW command)
          execute DviW
 void execute(DviX command)
          execute DviX
 void execute(DviXXX command)
          execute DviXXX
 void execute(DviY command)
          execute DviY
 void execute(DviZ command)
          execute DviZ
 VirtualCharNode getVcharNode()
          Getter for the virtual char node.
 void interpret(RandomAccessR rar)
          Interpreter for DVI.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VfDvi2Node

public VfDvi2Node(UnicodeChar uc,
                  TypesettingContext tc,
                  NodeFactory factory,
                  TypesettingContextFactory tcFactory,
                  CoreFontFactory fontfactory,
                  int charpos,
                  VfFont vfFont)
Creates a new object.

Parameters:
uc - The Unicode char.
tc - The typesetting context.
factory - The node factory.
tcFactory - The typesetting context factory.
fontfactory - The font factory.
vfFont - The virtual font.
charpos - The char pos in the font.
Method Detail

execute

public void execute(DviBOP command)
             throws FontException
execute DviBOP

Specified by:
execute in interface DviExecuteCommand
Parameters:
command - the command
Throws:
FontException - if a font-error occurs.
See Also:
DviExecuteCommand.execute(org.extex.font.format.dvi.command.DviBOP)

execute

public void execute(DviChar command)
             throws FontException
execute DviChar.

Specified by:
execute in interface DviExecuteCommand
Parameters:
command - the command
Throws:
FontException - if a font-error occurs.
See Also:
DviExecuteCommand.execute(org.extex.font.format.dvi.command.DviChar)

execute

public void execute(DviDown command)
             throws FontException
execute DviDown

Specified by:
execute in interface DviExecuteCommand
Parameters:
command - the command
Throws:
FontException - if a font-error occurs.
See Also:
DviExecuteCommand.execute(org.extex.font.format.dvi.command.DviDown)

execute

public void execute(DviEOP command)
             throws FontException
execute DviEOP

Specified by:
execute in interface DviExecuteCommand
Parameters:
command - the command
Throws:
FontException - if a font-error occurs.
See Also:
DviExecuteCommand.execute(org.extex.font.format.dvi.command.DviEOP)

execute

public void execute(DviFntDef command)
             throws FontException
execute DviFntDef

Specified by:
execute in interface DviExecuteCommand
Parameters:
command - the command
Throws:
FontException - if a font-error occurs.
See Also:
DviExecuteCommand.execute(org.extex.font.format.dvi.command.DviFntDef)

execute

public void execute(DviFntNum command)
             throws FontException
execute DviFntNum

Specified by:
execute in interface DviExecuteCommand
Parameters:
command - the command
Throws:
FontException - if a font-error occurs.
See Also:
DviExecuteCommand.execute(org.extex.font.format.dvi.command.DviFntNum)

execute

public void execute(DviNOP command)
             throws FontException
execute DviNOP

Specified by:
execute in interface DviExecuteCommand
Parameters:
command - the command
Throws:
FontException - if a font-error occurs.
See Also:
DviExecuteCommand.execute(org.extex.font.format.dvi.command.DviNOP)

execute

public void execute(DviPOP command)
             throws FontException
execute DviPOP

Specified by:
execute in interface DviExecuteCommand
Parameters:
command - the command
Throws:
FontException - if a font-error occurs.
See Also:
DviExecuteCommand.execute(org.extex.font.format.dvi.command.DviPOP)

execute

public void execute(DviPost command)
             throws FontException
execute DviPost

Specified by:
execute in interface DviExecuteCommand
Parameters:
command - the command
Throws:
FontException - if a font-error occurs.
See Also:
DviExecuteCommand.execute(org.extex.font.format.dvi.command.DviPost)

execute

public void execute(DviPostPost command)
             throws FontException
execute DviPostPost

Specified by:
execute in interface DviExecuteCommand
Parameters:
command - the command
Throws:
FontException - if a font-error occurs.
See Also:
DviExecuteCommand.execute(org.extex.font.format.dvi.command.DviPostPost)

execute

public void execute(DviPre command)
             throws FontException
execute DviPre

Specified by:
execute in interface DviExecuteCommand
Parameters:
command - the command
Throws:
FontException - if a font-error occurs.
See Also:
DviExecuteCommand.execute(org.extex.font.format.dvi.command.DviPre)

execute

public void execute(DviPush command)
             throws FontException
execute DviPUSH

Specified by:
execute in interface DviExecuteCommand
Parameters:
command - the command
Throws:
FontException - if a font-error occurs.
See Also:
DviExecuteCommand.execute(org.extex.font.format.dvi.command.DviPush)

execute

public void execute(DviRight command)
             throws FontException
execute DviRight

Specified by:
execute in interface DviExecuteCommand
Parameters:
command - the command
Throws:
FontException - if a font-error occurs.
See Also:
DviExecuteCommand.execute(org.extex.font.format.dvi.command.DviRight)

execute

public void execute(DviRule command)
             throws FontException
execute DviRule

Specified by:
execute in interface DviExecuteCommand
Parameters:
command - the command
Throws:
FontException - if a font-error occurs.
See Also:
DviExecuteCommand.execute(org.extex.font.format.dvi.command.DviRule)

execute

public void execute(DviW command)
             throws FontException
execute DviW

Specified by:
execute in interface DviExecuteCommand
Parameters:
command - the command
Throws:
FontException - if a font-error occurs.
See Also:
DviExecuteCommand.execute(org.extex.font.format.dvi.command.DviW)

execute

public void execute(DviX command)
             throws FontException
execute DviX

Specified by:
execute in interface DviExecuteCommand
Parameters:
command - the command
Throws:
FontException - if a font-error occurs.
See Also:
DviExecuteCommand.execute(org.extex.font.format.dvi.command.DviX)

execute

public void execute(DviXXX command)
             throws FontException
execute DviXXX

Specified by:
execute in interface DviExecuteCommand
Parameters:
command - the command
Throws:
FontException - if a font-error occurs.
See Also:
DviExecuteCommand.execute(org.extex.font.format.dvi.command.DviXXX)

execute

public void execute(DviY command)
             throws FontException
execute DviY

Specified by:
execute in interface DviExecuteCommand
Parameters:
command - the command
Throws:
FontException - if a font-error occurs.
See Also:
DviExecuteCommand.execute(org.extex.font.format.dvi.command.DviY)

execute

public void execute(DviZ command)
             throws FontException
execute DviZ

Specified by:
execute in interface DviExecuteCommand
Parameters:
command - the command
Throws:
FontException - if a font-error occurs.
See Also:
DviExecuteCommand.execute(org.extex.font.format.dvi.command.DviZ)

getVcharNode

public VirtualCharNode getVcharNode()
Getter for the virtual char node.

Returns:
the virtual char node.

interpret

public void interpret(RandomAccessR rar)
               throws java.io.IOException,
                      FontException
Interpreter for DVI.

Specified by:
interpret in interface DviInterpreter
Parameters:
rar - the input
Throws:
java.io.IOException - in case of a IO-error.
FontException - in case of a font-error.
See Also:
DviInterpreter.interpret(org.extex.util.file.random.RandomAccessR)