Package jmri.util.jdom
Class JDOMUtil
- java.lang.Object
-
- jmri.util.jdom.JDOMUtil
-
public class JDOMUtil extends java.lang.Object
Utilities from converting between org.jdom2 objects and org.w3c.dom objects. Note that JMRI makes extensive use of org.jdom2 packages for XML DOM processing, while the JRE includes the org.w3c.dom package.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.jdom2.Element
toJDOMElement(org.w3c.dom.Element element)
static org.w3c.dom.Element
toW3CElement(org.jdom2.Element element)
-
-
-
Method Detail
-
toJDOMElement
public static final org.jdom2.Element toJDOMElement(org.w3c.dom.Element element)
-
toW3CElement
public static final org.w3c.dom.Element toW3CElement(org.jdom2.Element element) throws org.jdom2.JDOMException
- Throws:
org.jdom2.JDOMException
-
-