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

pack-priv final Class XmlElementDeclQuick

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

Auto-generated, do not edit.

Field Summary

Modifier and TypeField and Description
private final XmlElementDecl

Constructor Summary

AccessConstructor and Description
public

Method Summary

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

Implements java.lang.annotation.Annotation.annotationType.

Returns the annotation interface of this annotation.

public String
defaultValue()

Implements jakarta.xml.bind.annotation.XmlElementDecl.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.XmlElementDecl.name.

local name of the XML element.

public String
namespace()

Implements jakarta.xml.bind.annotation.XmlElementDecl.namespace.

namespace name of the XML 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 Class<T>
scope()

Implements jakarta.xml.bind.annotation.XmlElementDecl.scope.

scope of the mapping.

public String
substitutionHeadName()

Implements jakarta.xml.bind.annotation.XmlElementDecl.substitutionHeadName.

XML local name of a substitution group's head element.

public String
substitutionHeadNamespace()

Implements jakarta.xml.bind.annotation.XmlElementDecl.substitutionHeadNamespace.

namespace name of a substitution group's head XML element.

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

Field Detail

coreback to summary
private final XmlElementDecl core

Constructor Detail

XmlElementDeclQuickback to summary
public XmlElementDeclQuick(Locatable upstream, XmlElementDecl core)

Method Detail

annotationTypeback to summary
public Class<XmlElementDecl> 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.XmlElementDecl.defaultValue.

Doc from jakarta.xml.bind.annotation.XmlElementDecl.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.XmlElementDecl.name.

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

local name of the XML element.

Note to reviewers: There is no default name; since the annotation is on a factory method, it is not clear that the method name can be derived from the factory method name.

Annotations
@Override
namespaceback to summary
public String namespace()

Implements jakarta.xml.bind.annotation.XmlElementDecl.namespace.

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

namespace name of the XML element.

If the value is "##default", then the value is the namespace name for the package of the class containing this factory method.

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
scopeback to summary
public Class<T> scope()

Implements jakarta.xml.bind.annotation.XmlElementDecl.scope.

Doc from jakarta.xml.bind.annotation.XmlElementDecl.scope.

scope of the mapping.

If this is not XmlElementDecl.GLOBAL, then this element declaration mapping is only active within the specified class.

Annotations
@Override
substitutionHeadNameback to summary
public String substitutionHeadName()

Implements jakarta.xml.bind.annotation.XmlElementDecl.substitutionHeadName.

Doc from jakarta.xml.bind.annotation.XmlElementDecl.substitutionHeadName.

XML local name of a substitution group's head element.

If the value is "", then this element is not part of any substitution group.

Annotations
@Override
substitutionHeadNamespaceback to summary
public String substitutionHeadNamespace()

Implements jakarta.xml.bind.annotation.XmlElementDecl.substitutionHeadNamespace.

Doc from jakarta.xml.bind.annotation.XmlElementDecl.substitutionHeadNamespace.

namespace name of a substitution group's head XML element.

This specifies the namespace name of the XML element whose local name is specified by substitutionHeadName().

If susbtitutionHeadName() is "", then this value can only be "##default". But the value is ignored since since this element is not part of susbtitution group when the value of susbstitutionHeadName() is "".

If susbtitutionHeadName() is not "" and the value is "##default", then the namespace name is the namespace name to which the package of the containing class, marked with XmlRegistry, is mapped.

If susbtitutionHeadName() is not "" and the value is not "##default", then the value is the namespace name.

Annotations
@Override