|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.qsos.transformation.DesXMLizer
public class DesXMLizer
The aim of this class is to do the conversion between a xml document and the java modelisation. In order to do the conversion, the library jdom is used.
This class implements IDesXMLizer.
Constructor Summary | |
---|---|
DesXMLizer()
|
Method Summary | |
---|---|
IElement |
transformAnElement(org.jdom.Element target)
This method is private due to the fact that it is a recursive auxilary method of transformFromXML
|
ISheet |
transformFromXML(java.net.URL url)
This method transforms an xml file given by is url (use "file:///path/toto.xml" if local) and returns an IElement which is the root element of the xml file in the java modelisation. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DesXMLizer()
Method Detail |
---|
public ISheet transformFromXML(java.net.URL url) throws org.jdom.JDOMException, java.io.IOException
This method transforms an xml file given by is url (use "file:///path/toto.xml" if local) and returns an IElement which is the root element of the xml file in the java modelisation.
transformFromXML
in interface IDesXMLizer
url
- the url of the xml file.
JDOMException.
org.jdom.JDOMException
java.io.IOException
public IElement transformAnElement(org.jdom.Element target)
This method is private due to the fact that it
is a recursive auxilary method of transformFromXML
target
- the IElement root of the branch.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |