Search in sources :

Example 16 with CDATASection

use of org.w3c.dom.CDATASection in project webservices-axiom by apache.

the class TestCreateOMTextCDATASection method runTest.

@Override
protected void runTest() throws Throwable {
    OMText text = metaFactory.getOMFactory().createOMText("cdata section content", OMNode.CDATA_SECTION_NODE);
    assertTrue(text instanceof CDATASection);
}
Also used : CDATASection(org.w3c.dom.CDATASection) OMText(org.apache.axiom.om.OMText)

Aggregations

CDATASection (org.w3c.dom.CDATASection)16 Element (org.w3c.dom.Element)6 Document (org.w3c.dom.Document)5 Node (org.w3c.dom.Node)5 DocumentBuilderFactory (javax.xml.parsers.DocumentBuilderFactory)3 File (java.io.File)2 DocumentBuilder (javax.xml.parsers.DocumentBuilder)2 ParserConfigurationException (javax.xml.parsers.ParserConfigurationException)2 Transformer (javax.xml.transform.Transformer)2 TransformerException (javax.xml.transform.TransformerException)2 DOMSource (javax.xml.transform.dom.DOMSource)2 StreamResult (javax.xml.transform.stream.StreamResult)2 OMText (org.apache.axiom.om.OMText)2 DocumentType (org.w3c.dom.DocumentType)2 NodeList (org.w3c.dom.NodeList)2 Text (org.w3c.dom.Text)2 IntentionActionMetaData (com.intellij.codeInsight.intention.impl.config.IntentionActionMetaData)1 IntentionManagerImpl (com.intellij.codeInsight.intention.impl.config.IntentionManagerImpl)1 TextDescriptor (com.intellij.codeInsight.intention.impl.config.TextDescriptor)1 InspectionToolWrapper (com.intellij.codeInspection.ex.InspectionToolWrapper)1