jPod PDF library

de.intarsys.pdf.font
Class CharacterSelectorCode

java.lang.Object
  extended by de.intarsys.pdf.font.CharacterSelector
      extended by de.intarsys.pdf.font.CharacterSelectorCode

public class CharacterSelectorCode
extends CharacterSelector

A selector based on a character code. Not used in PDF


Field Summary
 
Fields inherited from class de.intarsys.pdf.font.CharacterSelector
Notdef, NotdefCID
 
Constructor Summary
CharacterSelectorCode(int value)
           
 
Method Summary
 int getLength()
          The number of bytes this selector occupies.
 int getValue()
          The integer equivalent of the selector.
 
Methods inherited from class de.intarsys.pdf.font.CharacterSelector
getFontNumber
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CharacterSelectorCode

public CharacterSelectorCode(int value)
Parameters:
value -
Method Detail

getLength

public int getLength()
Description copied from class: CharacterSelector
The number of bytes this selector occupies.

Specified by:
getLength in class CharacterSelector
Returns:
The number of bytes this selector occupies.

getValue

public int getValue()
Description copied from class: CharacterSelector
The integer equivalent of the selector.

A selector must not be larger than the platform integer size.

Specified by:
getValue in class CharacterSelector
Returns:
The integer equivalent of the selector.

jPod PDF library

Copyright © 2008 intarsys consulting GmbH. All Rights Reserved.