http://www.jpicedt.org

jpicedt.format.input.pstricks
Class PSTDotStyleExpression

java.lang.Object
  extended by jpicedt.format.input.util.AbstractRegularExpression
      extended by jpicedt.format.input.util.SequenceExpression
          extended by jpicedt.format.input.pstricks.PSTDotStyleExpression

public class PSTDotStyleExpression
extends SequenceExpression

Parses statements similar to "dotstyle=style" where style is one of PicObjectConstants predefined dot styles.

Since:
jpicedt 1.4
Version:
$Id: PSTDotStyleExpression.java,v 1.7 2013/03/31 06:55:29 vincentb1 Exp $

Author:
Sylvain Reynal

Constructor Summary
PSTDotStyleExpression(Pool pl, Pool.Key<PicAttributeSet> attributeSetKey)
           
 
Method Summary
 boolean interpret(Context context)
          Parses this expression, possibly using the given Context to fetch the String to interpret if this Expression is a leaf expression.
 
Methods inherited from class jpicedt.format.input.util.SequenceExpression
add, toString
 
Methods inherited from class jpicedt.format.input.util.AbstractRegularExpression
action
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PSTDotStyleExpression

public PSTDotStyleExpression(Pool pl,
                             Pool.Key<PicAttributeSet> 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

http://www.jpicedt.org

Submit a bug : syd@jpicedt.org