jPod PDF library

de.intarsys.pdf.font
Class CharacterSelectorName

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

public class CharacterSelectorName
extends CharacterSelector

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


Field Summary
 
Fields inherited from class de.intarsys.pdf.font.CharacterSelector
Notdef, NotdefCID
 
Constructor Summary
CharacterSelectorName(COSName name)
           
 
Method Summary
 int getLength()
          The number of bytes this selector occupies.
 COSName getName()
           
 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

CharacterSelectorName

public CharacterSelectorName(COSName name)
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.

getName

public COSName getName()

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.