algod
Class FileXML

java.lang.Object
  |
  +--algod.FileXML

public class FileXML
extends java.lang.Object

Description : Classe permettant de recharger des graphes au format XML.

Version:
3.0-
Author:
Alexandre Alapetite
See Also:
alxXML

Field Summary
private  AlxXMLdocument alxXMLdocument
           
private  Graphe graphe
           
 
Constructor Summary
FileXML()
           
 
Method Summary
private  void loadArretes(AlxXMLelement e)
           
private  void loadGraph(AlxXMLelement e)
           
private  void loadSommet(AlxXMLelement e)
           
private  void loadSucc(AlxXMLelement e, int numSommetOrigine)
           
 void readFromFile(Graphe graphe, java.lang.String fileName)
          Lecture au format XML
private  int strToInt(java.lang.String Str)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

alxXMLdocument

private AlxXMLdocument alxXMLdocument

graphe

private Graphe graphe
Constructor Detail

FileXML

public FileXML()
Method Detail

readFromFile

public void readFromFile(Graphe graphe,
                         java.lang.String fileName)
Lecture au format XML


strToInt

private int strToInt(java.lang.String Str)

loadGraph

private void loadGraph(AlxXMLelement e)

loadSommet

private void loadSommet(AlxXMLelement e)

loadArretes

private void loadArretes(AlxXMLelement e)

loadSucc

private void loadSucc(AlxXMLelement e,
                      int numSommetOrigine)