Class PSTFillStyleExpression

  • All Implemented Interfaces:
    ExpressionConstants, PicObjectConstants

    public class PSTFillStyleExpression
    extends SequenceExpression
    implements PicObjectConstants
    Parses statements similar to "fillstyle=style" where style is one of PicObjectConstants predefined fill styles.
    Version:
    $Id: PSTFillStyleExpression.java,v 1.4.2.1 2007/09/02 11:56:12 reynal Exp $
    Author:
    Sylvain Reynal
    • Constructor Detail

      • PSTFillStyleExpression

        public PSTFillStyleExpression​(Pool pl,
                                      Pool.Key attributeSetKey)
        Parameters:
        pl - parser's pool
        attributeSetKey - used to fetch the attribute set in which parsed parameters are stored.
    • Method Detail

      • interpret

        public boolean interpret​(Context context)
                          throws REParserException
        Description copied from class: AbstractRegularExpression
        Parses this expression, possibly using the given Context to fetch the String to interpret if this Expression is a leaf expression.
        Overrides:
        interpret in class SequenceExpression
        Returns:
        TRUE if and only if every expression contained in this SequenceExpression were found, in the same order as they were added to the sequence. FALSE otherwise.
        Throws:
        REParserException - if an error occur during parsing