Package org.apache.fontbox.cff
Class CharStringHandler
- java.lang.Object
-
- org.apache.fontbox.cff.CharStringHandler
-
- Direct Known Subclasses:
CharStringConverter
,CharStringRenderer
public abstract class CharStringHandler extends java.lang.Object
A Handler for CharStringCommands.- Version:
- $Revision$
- Author:
- Villu Ruusmann
-
-
Constructor Summary
Constructors Constructor Description CharStringHandler()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract java.util.List<java.lang.Integer>
handleCommand(java.util.List<java.lang.Integer> numbers, CharStringCommand command)
Handler for CharStringCommands.java.util.List<java.lang.Integer>
handleSequence(java.util.List<java.lang.Object> sequence)
Handler for a sequence of CharStringCommands.
-
-
-
Method Detail
-
handleSequence
public java.util.List<java.lang.Integer> handleSequence(java.util.List<java.lang.Object> sequence)
Handler for a sequence of CharStringCommands.- Parameters:
sequence
- of CharStringCommands- Returns:
- may return a command sequence of a subroutine
-
handleCommand
public abstract java.util.List<java.lang.Integer> handleCommand(java.util.List<java.lang.Integer> numbers, CharStringCommand command)
Handler for CharStringCommands.- Parameters:
numbers
- a list of numberscommand
- the CharStringCommand- Returns:
- may return a command sequence of a subroutine
-
-