jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/messaging/saaj/soap/XmlDataContentHandler.java
changeset 33547 e4c76ac38b12
parent 28326 2b9860c0d68a
child 43852 93a527059d8a
equal deleted inserted replaced
33390:d131f4b8433a 33547:e4c76ac38b12
     1 /*
     1 /*
     2  * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1997, 2012, 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
    42  *
    42  *
    43  * @author Anil Vijendran
    43  * @author Anil Vijendran
    44  */
    44  */
    45 public class XmlDataContentHandler implements DataContentHandler {
    45 public class XmlDataContentHandler implements DataContentHandler {
    46     public static final String STR_SRC = "javax.xml.transform.stream.StreamSource";
    46     public static final String STR_SRC = "javax.xml.transform.stream.StreamSource";
    47     private static Class streamSourceClass = null;
    47     private static Class<?> streamSourceClass = null;
    48 
    48 
    49     public XmlDataContentHandler() throws ClassNotFoundException {
    49     public XmlDataContentHandler() throws ClassNotFoundException {
    50         if (streamSourceClass == null) {
    50         if (streamSourceClass == null) {
    51             streamSourceClass = Class.forName(STR_SRC);
    51             streamSourceClass = Class.forName(STR_SRC);
    52         }
    52         }