Class ClassInfoImpl<T,​C,​F,​M>

    • Field Detail

      • clazz

        protected final C clazz
      • attributeWildcard

        protected org.glassfish.jaxb.runtime.v2.model.impl.PropertySeed<T,​C,​F,​M> attributeWildcard
        If this class has a declared (not inherited) attribute wildcard, keep the reference to it. This parameter is initialized at the construction time and never change.
      • owner

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

      • getSubstitutionHead

        public final Element<T,​C> getSubstitutionHead()
        The substitution hierarchy is the same as the inheritance hierarchy.
        Specified by:
        getSubstitutionHead in interface Element<T,​C>
      • getScope

        public ClassInfoImpl<T,​C,​F,​M> getScope()
        Deprecated.
        you shouldn't be invoking this method on ClassInfoImpl.
        When a bean binds to an element, it's always through XmlRootElement, so this method always return null.
        Specified by:
        getScope in interface Element<T,​C>
      • getType

        public final T getType()
        Specified by:
        getType in interface TypeInfo<T,​C>
      • readAnnotation

        public <A extends Annotation> A readAnnotation​(Class<A> a)
      • checkFieldXmlLocation

        protected void checkFieldXmlLocation​(F f)
        This hook is used by RuntimeClassInfoImpl to look for XmlLocation.
      • createReferenceProperty

        protected org.glassfish.jaxb.runtime.v2.model.impl.ReferencePropertyInfoImpl<T,​C,​F,​M> createReferenceProperty​(org.glassfish.jaxb.runtime.v2.model.impl.PropertySeed<T,​C,​F,​M> seed)
      • createAttributeProperty

        protected org.glassfish.jaxb.runtime.v2.model.impl.AttributePropertyInfoImpl<T,​C,​F,​M> createAttributeProperty​(org.glassfish.jaxb.runtime.v2.model.impl.PropertySeed<T,​C,​F,​M> seed)
      • createValueProperty

        protected org.glassfish.jaxb.runtime.v2.model.impl.ValuePropertyInfoImpl<T,​C,​F,​M> createValueProperty​(org.glassfish.jaxb.runtime.v2.model.impl.PropertySeed<T,​C,​F,​M> seed)
      • createElementProperty

        protected org.glassfish.jaxb.runtime.v2.model.impl.ElementPropertyInfoImpl<T,​C,​F,​M> createElementProperty​(org.glassfish.jaxb.runtime.v2.model.impl.PropertySeed<T,​C,​F,​M> seed)
      • createMapProperty

        protected org.glassfish.jaxb.runtime.v2.model.impl.MapPropertyInfoImpl<T,​C,​F,​M> createMapProperty​(org.glassfish.jaxb.runtime.v2.model.impl.PropertySeed<T,​C,​F,​M> seed)
      • createFieldSeed

        protected org.glassfish.jaxb.runtime.v2.model.impl.PropertySeed<T,​C,​F,​M> createFieldSeed​(F f)
        Creates a new FieldPropertySeed object.

        Derived class can override this method to create a sub-class.

      • createAccessorSeed

        protected org.glassfish.jaxb.runtime.v2.model.impl.PropertySeed<T,​C,​F,​M> createAccessorSeed​(M getter,
                                                                                                                      M setter)
        Creates a new GetterSetterPropertySeed object.
      • isFinal

        public final boolean isFinal()
        Specified by:
        isFinal in interface ClassInfo<T,​C>
      • getFactoryMethod

        public Method getFactoryMethod()
      • 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.