http://www.jpicedt.org

jpicedt.graphic.io.formatter
Class JPICPsCurveFormatter

java.lang.Object
  extended by jpicedt.graphic.io.formatter.AbstractFormatter
      extended by jpicedt.graphic.io.formatter.JPICPsCurveFormatter
All Implemented Interfaces:
Formatter

public class JPICPsCurveFormatter
extends AbstractFormatter

JPIC-XML formatter for PicPsCurve objects, aka PsTricks \\pscurve macro. JPIC-XML syntax :

Since:
jpicedt 1.4pre5
Version:
$Id: JPICPsCurveFormatter.java,v 1.8 2013/03/27 07:04:44 vincentb1 Exp $
Author:
Sylvain Reynal

Constructor Summary
JPICPsCurveFormatter(PicPsCurve curve, JPICFormatter factory)
           
 
Method Summary
 String format()
          Create a String representing an Element in the format of this formatter
 Element getElement()
          Renvoie l'Element sujet du formattage.
 
Methods inherited from class jpicedt.graphic.io.formatter.AbstractFormatter
revertedArrowsAttribute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JPICPsCurveFormatter

public JPICPsCurveFormatter(PicPsCurve curve,
                            JPICFormatter factory)
Parameters:
curve - the PicPsCurve to be formatted
factory - the factory that produced this formatter
Method Detail

getElement

public Element getElement()
Description copied from interface: Formatter
Renvoie l'Element sujet du formattage.


format

public String format()
Description copied from interface: Formatter
Create a String representing an Element in the format of this formatter

Returns:
a String representing this Element in the JPIC-XML format

http://www.jpicedt.org

Submit a bug : syd@jpicedt.org