Top Description Fields Constructors Methods
org.glassfish.jaxb.core.v2.model.core

public final Enum PropertyKind

extends Enum<PropertyKind>
Class Inheritance
Imports
jakarta.xml.bind.annotation.XmlMimeType, .XmlType, .XmlInlineBinaryData

An Enum that indicates if the property is Element, ElementRef, Value, or Attribute.

Corresponds to the four different kind of PropertyInfo.

Author
Bhakti Mehta ([email protected])

Field Summary

Modifier and TypeField and Description
public static final PropertyKind
public final boolean
canHaveXmlMimeType

This kind of property can have XmlMimeType and XmlInlineBinaryData annotation with it.

public static final PropertyKind
public final boolean
isOrdered

This kind of properties need to show up in XmlType#propOrder().

public static final PropertyKind
public final int
propertyIndex

org.glassfish.jaxb.core.v2.runtime.property.PropertyFactory benefits from having index numbers assigned to ELEMENT, REFERENCE, and MAP in this order.

public static final PropertyKind
public static final PropertyKind

Constructor Summary

AccessConstructor and Description
private
PropertyKind(boolean canHaveExpectedContentType, boolean isOrdered, int propertyIndex)

Method Summary

Modifier and TypeMethod and Description
public static PropertyKind
public static PropertyKind[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

ATTRIBUTEback to summary
public static final PropertyKind ATTRIBUTE
canHaveXmlMimeTypeback to summary
public final boolean canHaveXmlMimeType

This kind of property can have XmlMimeType and XmlInlineBinaryData annotation with it.

ELEMENTback to summary
public static final PropertyKind ELEMENT
isOrderedback to summary
public final boolean isOrdered

This kind of properties need to show up in XmlType#propOrder().

MAPback to summary
public static final PropertyKind MAP
propertyIndexback to summary
public final int propertyIndex

org.glassfish.jaxb.core.v2.runtime.property.PropertyFactory benefits from having index numbers assigned to ELEMENT, REFERENCE, and MAP in this order.

REFERENCEback to summary
public static final PropertyKind REFERENCE
VALUEback to summary
public static final PropertyKind VALUE

Constructor Detail

PropertyKindback to summary
private PropertyKind(boolean canHaveExpectedContentType, boolean isOrdered, int propertyIndex)

Method Detail

valueOfback to summary
public static PropertyKind valueOf(String name)
valuesback to summary
public static PropertyKind[] values()