Class PostscriptParser.PSVariableArray

java.lang.Object
org.apache.fop.fonts.type1.PostscriptParser.PSElement
org.apache.fop.fonts.type1.PostscriptParser.PSVariableArray
Enclosing class:
PostscriptParser

public class PostscriptParser.PSVariableArray extends PostscriptParser.PSElement
An object representing a Postscript array with a variable number of entries
  • Constructor Details

    • PSVariableArray

      public PSVariableArray(String operator, int startPoint)
  • Method Details

    • parseToken

      public void parseToken(String token, int curPos)
      Description copied from class: PostscriptParser.PSElement
      Delegates the parse routine to a sub class
      Specified by:
      parseToken in class PostscriptParser.PSElement
      Parameters:
      token - The token which to parse
    • getEntries

      public List<String> getEntries()
      Gets a list of found array entries within the variable array
      Returns:
      Returns the found array elements as a list
    • parseByte

      public void parseByte(byte cur, int pos)
      Description copied from class: PostscriptParser.PSElement
      Passes responsibility for processing the byte stream to the PostScript object
      Specified by:
      parseByte in class PostscriptParser.PSElement
      Parameters:
      cur - The byte currently being read
      pos - The position of the given byte