Package jpicedt.graphic.io.formatter
Interface FormatterFactory
-
- All Known Implementing Classes:
EepicFormatter,JPICFormatter,LatexFormatter,PstricksFormatter
public interface FormatterFactory
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringMAKE_STANDALONE_FILEa constraint to indicate that the created Formatter should be able to create a standalone String which once save, can be directly fed to, e.g., latex or ghostview,...
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FormattercreateFormatter(Drawing d, java.lang.Object outputConstraint)FormattercreateFormatter(Element e)
-
-
-
Field Detail
-
MAKE_STANDALONE_FILE
static final java.lang.String MAKE_STANDALONE_FILE
a constraint to indicate that the created Formatter should be able to create a standalone String which once save, can be directly fed to, e.g., latex or ghostview,... as opposed to a "picture environment" file which still has to be included in a LaTeX file- See Also:
- Constant Field Values
-
-
Method Detail
-
createFormatter
Formatter createFormatter(Element e)
- Returns:
- a Formatter able to format the given Element according to the format of this factory
-
createFormatter
Formatter createFormatter(Drawing d, java.lang.Object outputConstraint)
- Parameters:
outputConstraint- constraint used by the factory to create a specific Formatter on-the-fly- Returns:
- a Formatter able to format the given Drawing according to the format of this factory ;
this may reliy on calls to
createFormatter(Element e)on the elements of the drawing, plus creating auxiliary
-
-