Class PostscriptParser.PSVariable

    • Constructor Detail

      • PSVariable

        public PSVariable​(java.lang.String operator,
                          int startPoint)
    • Method Detail

      • 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
      • setValue

        public void setValue​(java.lang.String value)
        Sets the value of the Postscript variable value
        Parameters:
        value - The value to set
      • getValue

        public java.lang.String getValue()
        Gets the value of the Postscript variable
        Returns:
        Returns the value as a String
      • setEndPoint

        public void setEndPoint​(int endPoint)
        Sets the end point location of the current Postscript variable.
        Parameters:
        endPoint - The end point location as an integer