|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdata.exporters.ExporterXML
public class ExporterXML
This class allow export Tree objects as XML files
Constructor Summary | |
---|---|
ExporterXML()
|
Method Summary | |
---|---|
static java.io.File |
writeXML(Tree t)
Creates a temporal file containing the exported tree in XML format |
private static void |
writeXML(TreeNode t,
int level,
Matrix mat,
java.io.OutputStreamWriter out)
Writes recursively all the tree nodes |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExporterXML()
Method Detail |
---|
public static java.io.File writeXML(Tree t) throws DataException
t
- Tree to export
DataException
private static void writeXML(TreeNode t, int level, Matrix mat, java.io.OutputStreamWriter out) throws java.io.IOException
t
- Current TreeNodelevel
- Current identation levelmat
- Reference Matrixout
- OutputStreamWriter of temp File
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |