Top Description Fields Constructors Methods
org.glassfish.jaxb.runtime.v2.model.annotation

pack-priv final Class XmlElementQuick

extends Quick
implements XmlElement
Class Inheritance
All Implemented Interfaces
jakarta.xml.bind.annotation.XmlElement, java.lang.annotation.Annotation
Imports
java.lang.annotation.Annotation, jakarta.xml.bind.annotation.XmlElement, org.glassfish.jaxb.core.v2.model.annotation.Locatable

Auto-generated, do not edit.

Field Summary

Modifier and TypeField and Description
private final XmlElement

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Class<XmlElement>
annotationType()

Implements java.lang.annotation.Annotation.annotationType.

Returns the annotation interface of this annotation.

public String
defaultValue()

Implements jakarta.xml.bind.annotation.XmlElement.defaultValue.

Default value of this element.

protected Annotation
getAnnotation()

Implements abstract org.glassfish.jaxb.runtime.v2.model.annotation.Quick.getAnnotation.

Gets the annotation object that this object is wrapping.

public String
name()

Implements jakarta.xml.bind.annotation.XmlElement.name.

Name of the XML Schema element.

public String
namespace()

Implements jakarta.xml.bind.annotation.XmlElement.namespace.

XML target namespace of the XML Schema element.

protected Quick
newInstance(Locatable upstream, Annotation core)

Implements abstract org.glassfish.jaxb.runtime.v2.model.annotation.Quick.newInstance.

Factory method to create a new instance of the same kind.

public boolean
nillable()

Implements jakarta.xml.bind.annotation.XmlElement.nillable.

Customize the element declaration to be nillable.

public boolean
required()

Implements jakarta.xml.bind.annotation.XmlElement.required.

Customize the element declaration to be required.

public Class<T>
type()

Implements jakarta.xml.bind.annotation.XmlElement.type.

The Java class being referenced.

Inherited from org.glassfish.jaxb.runtime.v2.model.annotation.Quick:
getLocationgetUpstreamtoString

Field Detail

coreback to summary
private final XmlElement core

Constructor Detail

XmlElementQuickback to summary
public XmlElementQuick(Locatable upstream, XmlElement core)

Method Detail

annotationTypeback to summary
public Class<XmlElement> annotationType()

Implements java.lang.annotation.Annotation.annotationType.

Doc from java.lang.annotation.Annotation.annotationType.

Returns the annotation interface of this annotation.

Annotations
@Override
defaultValueback to summary
public String defaultValue()

Implements jakarta.xml.bind.annotation.XmlElement.defaultValue.

Doc from jakarta.xml.bind.annotation.XmlElement.defaultValue.

Default value of this element.

The

'\0'
value specified as a default of this annotation element is used as a poor-man's substitute for null to allow implementations to recognize the 'no default value' state.
Annotations
@Override
getAnnotationback to summary
protected Annotation getAnnotation()

Implements abstract org.glassfish.jaxb.runtime.v2.model.annotation.Quick.getAnnotation.

Doc from org.glassfish.jaxb.runtime.v2.model.annotation.Quick.getAnnotation.

Gets the annotation object that this object is wrapping.

Annotations
@Override
nameback to summary
public String name()

Implements jakarta.xml.bind.annotation.XmlElement.name.

Doc from jakarta.xml.bind.annotation.XmlElement.name.

Name of the XML Schema element.

If the value is "##default", then element name is derived from the JavaBean property name.

Annotations
@Override
namespaceback to summary
public String namespace()

Implements jakarta.xml.bind.annotation.XmlElement.namespace.

Doc from jakarta.xml.bind.annotation.XmlElement.namespace.

XML target namespace of the XML Schema element.

If the value is "##default", then the namespace is determined as follows:

  1. If the enclosing package has XmlSchema annotation, and its elementFormDefault is QUALIFIED, then the namespace of the enclosing class.
  2. Otherwise '' (which produces unqualified element in the default namespace.
Annotations
@Override
newInstanceback to summary
protected Quick newInstance(Locatable upstream, Annotation core)

Implements abstract org.glassfish.jaxb.runtime.v2.model.annotation.Quick.newInstance.

Doc from org.glassfish.jaxb.runtime.v2.model.annotation.Quick.newInstance.

Factory method to create a new instance of the same kind. A object also works as a factory of itself

Annotations
@Override
nillableback to summary
public boolean nillable()

Implements jakarta.xml.bind.annotation.XmlElement.nillable.

Doc from jakarta.xml.bind.annotation.XmlElement.nillable.

Customize the element declaration to be nillable.

If nillable() is true, then the JavaBean property is mapped to a XML Schema nillable element declaration.

Annotations
@Override
requiredback to summary
public boolean required()

Implements jakarta.xml.bind.annotation.XmlElement.required.

Doc from jakarta.xml.bind.annotation.XmlElement.required.

Customize the element declaration to be required.

If required() is true, then Javabean property is mapped to an XML schema element declaration with minOccurs="1". maxOccurs is "1" for a single valued property and "unbounded" for a multivalued property.

If required() is false, then the Javabean property is mapped to XML Schema element declaration with minOccurs="0". maxOccurs is "1" for a single valued property and "unbounded" for a multivalued property.

Annotations
@Override
typeback to summary
public Class<T> type()

Implements jakarta.xml.bind.annotation.XmlElement.type.

Doc from jakarta.xml.bind.annotation.XmlElement.type.

The Java class being referenced.

Annotations
@Override