org.pilotix.common
Class XMLHandler

java.lang.Object
  extended by org.pilotix.common.XMLHandler

public class XMLHandler
extends java.lang.Object

Cette classe sert à construire un Document DOM à partir de l'URL d'un fichier écrit en XML. Pour le moment elle contient également quelques paramètres du client, qui seront déplacés par la suite.

Author:
Loïc Guibart, Grégoire Colbert
See Also:
Document

Constructor Summary
XMLHandler()
           
XMLHandler(java.net.URL fileURL)
          Construit une représentation DOM d'un fichier XML à partir de son URL.
 
Method Summary
 org.w3c.dom.Document getDocumentFromURL(java.net.URL fileURL)
          Parse un fichier XML et renvoie le Document correspondant.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLHandler

public XMLHandler(java.net.URL fileURL)
Construit une représentation DOM d'un fichier XML à partir de son URL. Par la suite ce constructeur ne prendra plus de paramètre...

Parameters:
fileURL - l'URL du nom du fichier XML à charger

XMLHandler

public XMLHandler()
Method Detail

getDocumentFromURL

public org.w3c.dom.Document getDocumentFromURL(java.net.URL fileURL)
Parse un fichier XML et renvoie le Document correspondant.

Parameters:
fileURL - URL du fichier XML à parser.
Returns:
L'objet org.w3c.dom.Document correspondant au contenu du fichier XML


artefarita.com/pilotix Pilotix 2003-2013 - Stilisto : G.C.