jpicedt.graphic.io.formatter
Class JPICGroupFormatter
java.lang.Object
jpicedt.graphic.io.formatter.AbstractFormatter
jpicedt.graphic.io.formatter.JPICGroupFormatter
- All Implemented Interfaces:
- Formatter
public class JPICGroupFormatter
- extends AbstractFormatter
A JPIC-XML formatter for PicGroup objects.
Syntax : ... .
- Since:
- jpicedt 1.3.3
- Version:
- $Id: JPICGroupFormatter.java,v 1.11 2013/03/27 07:21:24 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 |
JPICGroupFormatter
public JPICGroupFormatter(PicGroup group,
FormatterFactory factory)
- Parameters:
group
- the PicGroup 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()
throws IOException
- 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.
- Throws:
IOException
Submit a bug : syd@jpicedt.org