Class ArrayInfoImpl<TypeT,​ClassDeclT,​FieldT,​MethodT>

  • All Implemented Interfaces:
    Locatable, ArrayInfo<TypeT,​ClassDeclT>, NonElement<TypeT,​ClassDeclT>, TypeInfo<TypeT,​ClassDeclT>, Location

    public class ArrayInfoImpl<TypeT,​ClassDeclT,​FieldT,​MethodT>
    extends Object
    implements ArrayInfo<TypeT,​ClassDeclT>, Location

    Public because XJC needs to access it

    Author:
    Kohsuke Kawaguchi
    • Field Detail

      • owner

        protected final org.glassfish.jaxb.runtime.v2.model.impl.TypeInfoSetImpl<TypeT,​ClassDeclT,​FieldT,​MethodT> owner
        TypeInfoSet to which this class belongs.
    • Method Detail

      • canBeReferencedByIDREF

        public final boolean canBeReferencedByIDREF()
        Deprecated.
        why are you calling a method whose return value is always known?
        Leaf-type cannot be referenced from IDREF.
        Specified by:
        canBeReferencedByIDREF in interface TypeInfo<TypeT,​ClassDeclT>
      • nav

        protected final Navigator<TypeT,​ClassDeclT,​FieldT,​MethodT> nav()
      • reader

        protected final AnnotationReader<TypeT,​ClassDeclT,​FieldT,​MethodT> reader()
      • parseElementName

        protected final QName parseElementName​(ClassDeclT clazz)
        Parses an XmlRootElement annotation on a class and determine the element name.
        Returns:
        null if none was found.
      • parseTypeName

        protected final QName parseTypeName​(ClassDeclT clazz)
      • parseTypeName

        protected final QName parseTypeName​(ClassDeclT clazz,
                                            jakarta.xml.bind.annotation.XmlType t)
        Parses a (potentially-null) XmlType annotation on a class and determine the actual value.
        Parameters:
        clazz - The class on which the XmlType annotation is checked.
        t - The XmlType annotation on the clazz. This value is taken as a parameter to improve the performance for the case where 't' is pre-computed.