jpicedt.graphic.io.formatter
Class JPICSmoothPolygonFormatter
java.lang.Object
jpicedt.graphic.io.formatter.AbstractFormatter
jpicedt.graphic.io.formatter.JPICSmoothPolygonFormatter
- All Implemented Interfaces:
- Formatter
public class JPICSmoothPolygonFormatter
- extends AbstractFormatter
JPIC-XML formatter for PicSmoothPolygon objects.
JPIC-XML syntax :
- Since:
- jpicedt 1.4
- Version:
- $Id: JPICSmoothPolygonFormatter.java,v 1.12 2013/03/27 07:04:39 vincentb1 Exp $
- Author:
- Sylvain Reynal
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JPICSmoothPolygonFormatter
public JPICSmoothPolygonFormatter(PicSmoothPolygon poly,
JPICFormatter factory)
- Parameters:
poly
- the PicSmoothPolygon to be formattedfactory
- the factory that produced this formatter
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
Submit a bug : syd@jpicedt.org