org.extex.format.dvi.command
Class DviChar

java.lang.Object
  extended by org.extex.format.dvi.command.DviCommand
      extended by org.extex.format.dvi.command.DviChar

public class DviChar
extends DviCommand

DVI: character

Version:
$Revision: 5476 $
Author:
Michael Niedermair

Field Summary
 
Fields inherited from class org.extex.format.dvi.command.DviCommand
BOP_LENGTH
 
Constructor Summary
DviChar(int opc, int sp, int c)
          Create a new object.
DviChar(int opc, int sp, int c, boolean pm)
          Create a new object.
 
Method Summary
 int getCh()
          Returns the ch.
 java.lang.String getName()
          Returns the name of the command.
 boolean isPut()
          Returns the put.
 boolean isSetPut()
          Returns true, if the command ist setx oder putx.
 
Methods inherited from class org.extex.format.dvi.command.DviCommand
getFntDefs, getNextCommand, getOpcode, getPost, getPre, getStartPointer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DviChar

public DviChar(int opc,
               int sp,
               int c)
Create a new object.

Parameters:
opc - the opcode
sp - the start pointer
c - the character

DviChar

public DviChar(int opc,
               int sp,
               int c,
               boolean pm)
Create a new object.

Parameters:
opc - the opcode
sp - the start pointer
c - the character
pm - the put-mode
Method Detail

getCh

public int getCh()
Returns the ch.

Returns:
Returns the ch.

isPut

public boolean isPut()
Returns the put.

Returns:
Returns the put.

isSetPut

public boolean isSetPut()
Returns true, if the command ist setx oder putx.

Returns:
Returns true, if the command ist setx oder putx.

getName

public java.lang.String getName()
Returns the name of the command.

Specified by:
getName in class DviCommand
Returns:
Returns the name of the command.
See Also:
DviCommand.getName()