jaxws/src/jdk.xml.bind/share/classes/com/sun/tools/internal/xjc/reader/xmlschema/bindinfo/EnumMemberMode.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 |
43 GENERATE |
43 GENERATE |
44 |
44 |
45 ; |
45 ; |
46 |
46 |
47 /** |
47 /** |
48 * The mode will change to this when there's <jaxb:enum> customization. |
48 * The mode will change to this when there's {@code <jaxb:enum>} customization. |
49 */ |
49 */ |
50 public EnumMemberMode getModeWithEnum() { |
50 public EnumMemberMode getModeWithEnum() { |
51 if(this==SKIP) return ERROR; |
51 if(this==SKIP) return ERROR; |
52 return this; |
52 return this; |
53 } |
53 } |