jaxws/src/jdk.xml.ws/share/classes/com/sun/tools/internal/ws/wsdl/parser/JAXWSBindingExtensionHandler.java
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1997, 2015, 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 |
23 * questions. |
23 * questions. |
24 */ |
24 */ |
25 |
25 |
26 package com.sun.tools.internal.ws.wsdl.parser; |
26 package com.sun.tools.internal.ws.wsdl.parser; |
27 |
27 |
|
28 import com.sun.tools.internal.ws.util.xml.XmlUtil; |
28 import com.sun.tools.internal.ws.api.wsdl.TWSDLExtensible; |
29 import com.sun.tools.internal.ws.api.wsdl.TWSDLExtensible; |
29 import com.sun.tools.internal.ws.api.wsdl.TWSDLExtension; |
30 import com.sun.tools.internal.ws.api.wsdl.TWSDLExtension; |
30 import com.sun.tools.internal.ws.api.wsdl.TWSDLParserContext; |
31 import com.sun.tools.internal.ws.api.wsdl.TWSDLParserContext; |
31 import com.sun.tools.internal.ws.util.xml.XmlUtil; |
|
32 import com.sun.tools.internal.ws.wsdl.document.*; |
32 import com.sun.tools.internal.ws.wsdl.document.*; |
33 import com.sun.tools.internal.ws.wsdl.document.jaxws.CustomName; |
33 import com.sun.tools.internal.ws.wsdl.document.jaxws.CustomName; |
34 import com.sun.tools.internal.ws.wsdl.document.jaxws.JAXWSBinding; |
34 import com.sun.tools.internal.ws.wsdl.document.jaxws.JAXWSBinding; |
35 import com.sun.tools.internal.ws.wsdl.document.jaxws.JAXWSBindingsConstants; |
35 import com.sun.tools.internal.ws.wsdl.document.jaxws.JAXWSBindingsConstants; |
36 import com.sun.tools.internal.ws.wsdl.document.jaxws.Parameter; |
36 import com.sun.tools.internal.ws.wsdl.document.jaxws.Parameter; |
55 |
55 |
56 // xml security enabled always, xpath used for parsing "part" attribute |
56 // xml security enabled always, xpath used for parsing "part" attribute |
57 private static final ContextClassloaderLocal<XPathFactory> xpf = new ContextClassloaderLocal<XPathFactory>() { |
57 private static final ContextClassloaderLocal<XPathFactory> xpf = new ContextClassloaderLocal<XPathFactory>() { |
58 @Override |
58 @Override |
59 protected XPathFactory initialValue() throws Exception { |
59 protected XPathFactory initialValue() throws Exception { |
60 return XPathFactory.newInstance(); |
60 return XmlUtil.newXPathFactory(false); |
61 } |
61 } |
62 }; |
62 }; |
63 |
63 |
64 private final XPath xpath = xpf.get().newXPath(); |
64 private final XPath xpath = xpf.get().newXPath(); |
65 |
65 |