jaxws/src/jdk.xml.bind/share/classes/com/sun/tools/internal/xjc/reader/xmlschema/bindinfo/BIGlobalBinding.java
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1997, 2012, 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 |
69 @XmlRootElement(name="globalBindings") |
69 @XmlRootElement(name="globalBindings") |
70 public final class BIGlobalBinding extends AbstractDeclarationImpl { |
70 public final class BIGlobalBinding extends AbstractDeclarationImpl { |
71 |
71 |
72 |
72 |
73 /** |
73 /** |
74 * Gets the name converter that will govern the XML->Java |
74 * Gets the name converter that will govern the {@code XML -> Java} |
75 * name conversion process for this compilation. |
75 * name conversion process for this compilation. |
76 * |
76 * |
77 * <p> |
77 * <p> |
78 * The "underscoreBinding" customization will determine |
78 * The "underscoreBinding" customization will determine |
79 * the exact object returned from this method. The rest of XJC |
79 * the exact object returned from this method. The rest of XJC |
256 */ |
256 */ |
257 @XmlElement |
257 @XmlElement |
258 private BISerializable serializable = null; |
258 private BISerializable serializable = null; |
259 |
259 |
260 /** |
260 /** |
261 * If <xjc:superClass> extension is specified, |
261 * If {@code <xjc:superClass>} extension is specified, |
262 * returns the specified root class. Otherwise null. |
262 * returns the specified root class. Otherwise null. |
263 */ |
263 */ |
264 @XmlElement(namespace=Const.XJC_EXTENSION_URI) |
264 @XmlElement(namespace=Const.XJC_EXTENSION_URI) |
265 ClassNameBean superClass = null; |
265 ClassNameBean superClass = null; |
266 |
266 |
267 /** |
267 /** |
268 * If <xjc:superInterface> extension is specified, |
268 * If {@code <xjc:superInterface>} extension is specified, |
269 * returns the specified root class. Otherwise null. |
269 * returns the specified root class. Otherwise null. |
270 */ |
270 */ |
271 @XmlElement(namespace=Const.XJC_EXTENSION_URI) |
271 @XmlElement(namespace=Const.XJC_EXTENSION_URI) |
272 ClassNameBean superInterface = null; |
272 ClassNameBean superInterface = null; |
273 |
273 |
486 return bean.name; |
486 return bean.name; |
487 } |
487 } |
488 } |
488 } |
489 |
489 |
490 /** |
490 /** |
491 * Global <jaxb:javaType>. |
491 * Global {@code <jaxb:javaType>}. |
492 */ |
492 */ |
493 static final class GlobalStandardConversion extends BIConversion.User { |
493 static final class GlobalStandardConversion extends BIConversion.User { |
494 @XmlAttribute |
494 @XmlAttribute |
495 QName xmlType; |
495 QName xmlType; |
496 |
496 |
510 return hash; |
510 return hash; |
511 } |
511 } |
512 } |
512 } |
513 |
513 |
514 /** |
514 /** |
515 * Global <xjc:javaType>. |
515 * Global {@code <xjc:javaType>}. |
516 */ |
516 */ |
517 static final class GlobalVendorConversion extends BIConversion.UserAdapter { |
517 static final class GlobalVendorConversion extends BIConversion.UserAdapter { |
518 @XmlAttribute |
518 @XmlAttribute |
519 QName xmlType; |
519 QName xmlType; |
520 |
520 |