public final class ArrowRelationSerializerTeX extends Object implements Writer<ArrowRelation>
This class defines the way for writing an arrow relatin as a tex file.
Modifier and Type | Method and Description |
---|---|
static ArrowRelationSerializerTeX |
getInstance()
Return the singleton instance of this class.
|
static void |
register()
Register this class for writing .tex files.
|
void |
write(ArrowRelation arrow,
BufferedWriter file)
Produces the LaTex source code for the array of arrows of this component.
|
public static ArrowRelationSerializerTeX getInstance()
Return the singleton instance of this class.
public static void register()
Register this class for writing .tex files.
public void write(ArrowRelation arrow, BufferedWriter file) throws IOException
Produces the LaTex source code for the array of arrows of this component.
The LaTeX source produced isn’t autonomous. It must be included in a document.
write
in interface Writer<ArrowRelation>
arrow
- an arrow relation to writefile
- a fileIOException
- When an IOException occursCopyright © 2010–2016 The Galactic Organization. All rights reserved.