org.jutil.xml.util
Class JDomUtils
java.lang.Object
org.jutil.xml.util.JDomUtils
public final class JDomUtils
- extends java.lang.Object
|
Method Summary |
static void |
convertToSAX(org.jdom.Document document,
org.xml.sax.ContentHandler contentHandler,
org.xml.sax.EntityResolver entityResolver,
org.xml.sax.DTDHandler dtdHandler,
org.xml.sax.ErrorHandler errorHandler)
|
static org.jdom.Element |
fromAvalonConfiguration(org.apache.avalon.framework.configuration.Configuration conf)
|
static org.jdom.Document |
fromW3cDomDocument(org.w3c.dom.Document document)
|
static org.w3c.dom.Document |
toW3cDomDocument(org.jdom.Document document)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
fromAvalonConfiguration
public static final org.jdom.Element fromAvalonConfiguration(org.apache.avalon.framework.configuration.Configuration conf)
throws org.apache.avalon.framework.configuration.ConfigurationException
- Throws:
org.apache.avalon.framework.configuration.ConfigurationException
convertToSAX
public static final void convertToSAX(org.jdom.Document document,
org.xml.sax.ContentHandler contentHandler,
org.xml.sax.EntityResolver entityResolver,
org.xml.sax.DTDHandler dtdHandler,
org.xml.sax.ErrorHandler errorHandler)
throws org.jdom.JDOMException
- Throws:
org.jdom.JDOMException
fromW3cDomDocument
public static final org.jdom.Document fromW3cDomDocument(org.w3c.dom.Document document)
throws org.jdom.JDOMException
- Throws:
org.jdom.JDOMException
toW3cDomDocument
public static final org.w3c.dom.Document toW3cDomDocument(org.jdom.Document document)
throws org.jdom.JDOMException
- Throws:
org.jdom.JDOMException