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

pack-priv final Class XmlAttributeQuick

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

Auto-generated, do not edit.

Field Summary

Modifier and TypeField and Description
private final XmlAttribute

Constructor Summary

AccessConstructor and Description
public

Method Summary

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

Implements java.lang.annotation.Annotation.annotationType.

Returns the annotation interface of this annotation.

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.XmlAttribute.name.

Name of the XML Schema attribute.

public String
namespace()

Implements jakarta.xml.bind.annotation.XmlAttribute.namespace.

Specifies the XML target namespace of the XML Schema attribute.

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
required()

Implements jakarta.xml.bind.annotation.XmlAttribute.required.

Specifies if the XML Schema attribute is optional or required.

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

Field Detail

coreback to summary
private final XmlAttribute core

Constructor Detail

XmlAttributeQuickback to summary
public XmlAttributeQuick(Locatable upstream, XmlAttribute core)

Method Detail

annotationTypeback to summary
public Class<XmlAttribute> annotationType()

Implements java.lang.annotation.Annotation.annotationType.

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

Returns the annotation interface of this annotation.

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.XmlAttribute.name.

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

Name of the XML Schema attribute. By default, the XML Schema attribute name is derived from the JavaBean property name.

Annotations
@Override
namespaceback to summary
public String namespace()

Implements jakarta.xml.bind.annotation.XmlAttribute.namespace.

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

Specifies the XML target namespace of the XML Schema attribute.

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
requiredback to summary
public boolean required()

Implements jakarta.xml.bind.annotation.XmlAttribute.required.

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

Specifies if the XML Schema attribute is optional or required. If true, then the JavaBean property is mapped to a XML Schema attribute that is required. Otherwise it is mapped to a XML Schema attribute that is optional.

Annotations
@Override