org.extex.font.format.xtf.tables.cff
Class T2SID

java.lang.Object
  extended by org.extex.font.format.xtf.tables.cff.T2CharString
      extended by org.extex.font.format.xtf.tables.cff.T2Number
          extended by org.extex.font.format.xtf.tables.cff.T2SID

public class T2SID
extends T2Number

SID.

SID (0-64999) 2-byte string identifier

Version:
$Revision: 6604 $
Author:
Michael Niedermair

Field Summary
 
Fields inherited from class org.extex.font.format.xtf.tables.cff.T2CharString
ESCAPE, ESCAPE_BYTE, T2CALLGSUBR, T2CALLSUBR, T2CNTRMASK, T2ENDCHAR, T2FLEX, T2FLEX1, T2HFLEX, T2HFLEX1, T2HHCURVETO, T2HINTMASK, T2HLINETO, T2HMOVETO, T2HSTEM, T2HSTEMHM, T2HVCURVETO, T2RCURVELINE, T2RETURN, T2RLINECURVE, T2RLINETO, T2RMOVETO, T2RRCURVETO, T2VHCURVETO, T2VLINETO, T2VMOVETO, T2VSTEM, T2VSTEMHM, T2VVCURVETO, TYPE_CALLGSUBR, TYPE_CALLSUBR, TYPE_CNTRMASK, TYPE_ENDCHAR, TYPE_FLEX, TYPE_FLEX1, TYPE_HFLEX, TYPE_HFLEX1, TYPE_HHCURVETO, TYPE_HINTMASK, TYPE_HLINETO, TYPE_HMOVETO, TYPE_HSTEM, TYPE_HSTEMHM, TYPE_HVCURVETO, TYPE_RCURVELINE, TYPE_RETURN, TYPE_RLINECURVE, TYPE_RLINETO, TYPE_RMOVETO, TYPE_RRCURVETO, TYPE_VHCURVETO, TYPE_VLINETO, TYPE_VMOVETO, TYPE_VSTEM, TYPE_VSTEMHM, TYPE_VVCURVETO
 
Method Summary
 short[] getBytes()
          Returns the byte-array as short for the object.
 double getDouble()
          Returns the value as double.
 int getInteger()
          Returns the value as int.
 boolean isInteger()
          Check, if the object is a integer.
 java.lang.String toString()
          
 
Methods inherited from class org.extex.font.format.xtf.tables.cff.T2Number
init, newInstance, newInstance
 
Methods inherited from class org.extex.font.format.xtf.tables.cff.T2CharString
getInitPrio, isArray, isBoolean, isDouble, isEscape, isOperator, isTopDICTOperator, readNumber, readNumber, readSID, readTopDICTOperator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getBytes

public short[] getBytes()
Returns the byte-array as short for the object.

Specified by:
getBytes in class T2CharString
Returns:
Returns the byte-array for the object.
See Also:
T2CharString.getBytes()

isInteger

public boolean isInteger()
Check, if the object is a integer.

Overrides:
isInteger in class T2CharString
Returns:
Returns true, if the object is a integer.
See Also:
T2CharString.isInteger()

getDouble

public double getDouble()
Returns the value as double.

Specified by:
getDouble in class T2Number
Returns:
Returns the value as double.
See Also:
T2Number.getDouble()

getInteger

public int getInteger()
Returns the value as int.

Specified by:
getInteger in class T2Number
Returns:
Returns the value as int.
See Also:
T2Number.getInteger()

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Object
See Also:
Object.toString()