java.lang.Object
jpicedt.graphic.io.parser.AbstractRegularExpression
jpicedt.graphic.io.parser.LiteralExpression
jpicedt.graphic.io.parser.pstricks.PSTInstanciationExpression
- All Implemented Interfaces:
- jpicedt.graphic.io.parser.ExpressionConstants
- public class PSTInstanciationExpression
- extends jpicedt.graphic.io.parser.LiteralExpression
- implements jpicedt.graphic.io.parser.ExpressionConstants
instanciates a new Element by cloning the given object, when it finds the given tag,
then adds it to the current PicGroup ; same as InstanciationExpression except that we use
pool.pstSet instead of pool.ltxSet
Fields inherited from interface jpicedt.graphic.io.parser.ExpressionConstants |
ANY_CHAR, ANY_CHAR_EOL, ANY_SIGN, AT_LEAST, AT_MOST, DEBUG, DOUBLE, EOL, EXACTLY, INTEGER, NEGATIVE, NON_NULL, POSITIVE, STRICTLY_NEGATIVE, STRICTLY_POSITIVE, WHITE_SPACES, WHITE_SPACES_OR_EOL |
prototype
private jpicedt.graphic.model.Element prototype
pool
private jpicedt.graphic.io.parser.LaTeXParser.Pool pool
tag
private java.lang.String tag
PSTInstanciationExpression
public PSTInstanciationExpression(java.lang.String tag,
jpicedt.graphic.model.Element prototype,
jpicedt.graphic.io.parser.LaTeXParser.Pool pl)
action
public void action(jpicedt.graphic.io.parser.ParserEvent e)
- Description copied from class:
jpicedt.graphic.io.parser.AbstractRegularExpression
- Called during interpret operation at the end of a SUCCESSFUL interpret operation.
Should be overriden by daughter classes to process proper action, e.g. set object properties...
Current implementation does nothing.
toString
public java.lang.String toString()
- Description copied from class:
java.lang.Object
- Convert this Object to a human-readable String.
There are no limits placed on how long this String
should be or what it should contain. We suggest you
make it as intuitive as possible to be able to place
it into System.out.println() 55
and such.
It is typical, but not required, to ensure that this method
never completes abruptly with a java.lang.RuntimeException.
This method will be called when performing string
concatenation with this object. If the result is
null
, string concatenation will instead
use "null"
.
The default implementation returns
getClass().getName() + "@" +
Integer.toHexString(hashCode())
.