jaxws/src/java.xml.bind/share/classes/com/sun/xml/internal/bind/v2/model/core/PropertyKind.java
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1997, 2013, 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 |
55 * This kind of properties need to show up in {@link XmlType#propOrder()}. |
55 * This kind of properties need to show up in {@link XmlType#propOrder()}. |
56 */ |
56 */ |
57 public final boolean isOrdered; |
57 public final boolean isOrdered; |
58 |
58 |
59 /** |
59 /** |
60 * {@link com.sun.xml.internal.bind.v2.runtime.property.PropertyFactory} benefits from having index numbers assigned to |
60 * {@code com.sun.xml.internal.bind.v2.runtime.property.PropertyFactory} benefits from having index numbers assigned to |
61 * {@link #ELEMENT}, {@link #REFERENCE}, and {@link #MAP} in this order. |
61 * {@link #ELEMENT}, {@link #REFERENCE}, and {@link #MAP} in this order. |
62 */ |
62 */ |
63 public final int propertyIndex; |
63 public final int propertyIndex; |
64 |
64 |
65 PropertyKind(boolean canHaveExpectedContentType, boolean isOrdered, int propertyIndex) { |
65 PropertyKind(boolean canHaveExpectedContentType, boolean isOrdered, int propertyIndex) { |