Apache Tuscany SCA Kernel Sub-Project

org.apache.tuscany.spi.databinding.extension
Class DOMHelper

java.lang.Object
  extended by org.apache.tuscany.spi.databinding.extension.DOMHelper

public final class DOMHelper
extends Object

Helper for DOM


Method Summary
static Element createElement(Document document, QName name)
           
static QName getQName(Node node)
           
static Document newDocument()
           
static DocumentBuilder newDocumentBuilder()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

newDocument

public static Document newDocument()
                            throws ParserConfigurationException
Throws:
ParserConfigurationException

newDocumentBuilder

public static DocumentBuilder newDocumentBuilder()
                                          throws ParserConfigurationException
Throws:
ParserConfigurationException

getQName

public static QName getQName(Node node)

createElement

public static Element createElement(Document document,
                                    QName name)

Apache Tuscany SCA Kernel Sub-Project

-