jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/ws/model/RuntimeModeler.java
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1997, 2017, 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 |
344 throw new RuntimeModelerException(errorMessage); |
344 throw new RuntimeModelerException(errorMessage); |
345 } |
345 } |
346 } |
346 } |
347 |
347 |
348 private boolean noWrapperGen() { |
348 private boolean noWrapperGen() { |
349 if (Runtime.version().major() >= 9) return true; |
|
350 Object o = config.properties().get(SuppressDocLitWrapperGeneration); |
349 Object o = config.properties().get(SuppressDocLitWrapperGeneration); |
351 return (o!= null && o instanceof Boolean) ? ((Boolean) o) : false; |
350 return (o!= null && o instanceof Boolean) ? ((Boolean) o) : false; |
352 } |
351 } |
353 |
352 |
354 private Class getRequestWrapperClass(String className, Method method, QName reqElemName) { |
353 private Class getRequestWrapperClass(String className, Method method, QName reqElemName) { |