jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/soap/SOAPDocumentImpl.java
changeset 23782 953bfc3fbe31
parent 22679 d785acd84a14
equal deleted inserted replaced
23403:85dbdc227c5e 23782:953bfc3fbe31
     1 /*
     1 /*
     2  * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
   105     public DocumentFragment createDocumentFragment() {
   105     public DocumentFragment createDocumentFragment() {
   106         return new SOAPDocumentFragment(this);
   106         return new SOAPDocumentFragment(this);
   107     }
   107     }
   108 
   108 
   109     public org.w3c.dom.Text createTextNode(String data) {
   109     public org.w3c.dom.Text createTextNode(String data) {
   110         return new TextImpl(this, data);
   110         return new SOAPTextImpl(this, data);
   111     }
   111     }
   112 
   112 
   113     public Comment createComment(String data) {
   113     public Comment createComment(String data) {
   114         return new CommentImpl(this, data);
   114         return new SOAPCommentImpl(this, data);
   115     }
   115     }
   116 
   116 
   117     public CDATASection createCDATASection(String data) throws DOMException {
   117     public CDATASection createCDATASection(String data) throws DOMException {
   118         return new CDATAImpl(this, data);
   118         return new CDATAImpl(this, data);
   119     }
   119     }