2016/05/28 - Apache Tuscany has been retired. 
For more information, please explore the Attic. 
 
org.apache.tuscany.sca.databinding.impl
Class DOMHelper
java.lang.Object
  
org.apache.tuscany.sca.databinding.impl.DOMHelper
public final class DOMHelper
- extends java.lang.Object
 
Helper for DOM
| 
Method Summary | 
static org.w3c.dom.Element | 
adjustElementName(TransformationContext context,
                  org.w3c.dom.Element element)
 
            | 
static org.w3c.dom.Element | 
createElement(org.w3c.dom.Document document,
              javax.xml.namespace.QName name)
 
            | 
static javax.xml.namespace.QName | 
getQName(org.w3c.dom.Node node)
 
            | 
static org.w3c.dom.Document | 
newDocument()
 
            | 
static javax.xml.parsers.DocumentBuilder | 
newDocumentBuilder()
 
            | 
static org.w3c.dom.Document | 
promote(org.w3c.dom.Node node)
 
          Wrap an element as a DOM document | 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
newDocument
public static org.w3c.dom.Document newDocument()
                                        throws javax.xml.parsers.ParserConfigurationException
- Throws:
 javax.xml.parsers.ParserConfigurationException
 
newDocumentBuilder
public static javax.xml.parsers.DocumentBuilder newDocumentBuilder()
                                                            throws javax.xml.parsers.ParserConfigurationException
- Throws:
 javax.xml.parsers.ParserConfigurationException
 
getQName
public static javax.xml.namespace.QName getQName(org.w3c.dom.Node node)
 
createElement
public static org.w3c.dom.Element createElement(org.w3c.dom.Document document,
                                                javax.xml.namespace.QName name)
 
promote
public static org.w3c.dom.Document promote(org.w3c.dom.Node node)
- Wrap an element as a DOM document
- Parameters:
 node - 
- Returns:
 
 
 
adjustElementName
public static org.w3c.dom.Element adjustElementName(TransformationContext context,
                                                    org.w3c.dom.Element element)
- Parameters:
 context - element -