cometa.translator
Class DOMtoJDOM

java.lang.Object
  extended by cometa.translator.DOMtoJDOM

public class DOMtoJDOM
extends java.lang.Object

This class translates a DOM document to JDOM.


Constructor Summary
DOMtoJDOM(org.w3c.dom.Document dom)
          It creates a new instance of
 
Method Summary
 org.jdom.Document convert()
          It translates a DOM document to JDOM.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DOMtoJDOM

public DOMtoJDOM(org.w3c.dom.Document dom)
          throws org.jdom.JDOMException
It creates a new instance of
DOMtoJDOM
.

Parameters:
dom - The DOM document to be translated to JDOM.
Throws:
org.jdom.JDOMException
Method Detail

convert

public org.jdom.Document convert()
                          throws org.jdom.JDOMException,
                                 java.io.IOException
It translates a DOM document to JDOM.

Throws:
org.jdom.JDOMException
java.io.IOException