Class XmlJaxbAnnotationIntrospector

    • Constructor Detail

      • XmlJaxbAnnotationIntrospector

        @Deprecated
        public XmlJaxbAnnotationIntrospector()
        Deprecated.
      • XmlJaxbAnnotationIntrospector

        public XmlJaxbAnnotationIntrospector​(TypeFactory typeFactory)
        Deprecated.
    • Method Detail

      • findNamespace

        public java.lang.String findNamespace​(MapperConfig<?> config,
                                              Annotated ann)
        Deprecated.
        Description copied from interface: AnnotationIntrospector.XmlExtensions
        Method that can be called to figure out generic namespace property for an annotated object.
        Specified by:
        findNamespace in interface AnnotationIntrospector.XmlExtensions
        Parameters:
        config - Configuration settings in effect
        ann - Annotated entity to introspect
        Returns:
        Null if annotated thing does not define any namespace information; non-null namespace (which may be empty String) otherwise.
      • isOutputAsAttribute

        public java.lang.Boolean isOutputAsAttribute​(MapperConfig<?> config,
                                                     Annotated ann)
        Deprecated.
        Description copied from interface: AnnotationIntrospector.XmlExtensions
        Method used to check whether given annotated element (field, method, constructor parameter) has indicator that suggests it be output as an XML attribute or not (if not, then as element)
        Specified by:
        isOutputAsAttribute in interface AnnotationIntrospector.XmlExtensions
        Parameters:
        config - Configuration settings in effect
        ann - Annotated entity to introspect
        Returns:
        Null if no indicator found; True or False otherwise
      • isOutputAsText

        public java.lang.Boolean isOutputAsText​(MapperConfig<?> config,
                                                Annotated ann)
        Deprecated.
        Description copied from interface: AnnotationIntrospector.XmlExtensions
        Method used to check whether given annotated element (field, method, constructor parameter) has indicator that suggests it should be serialized as text, without element wrapper.
        Specified by:
        isOutputAsText in interface AnnotationIntrospector.XmlExtensions
        Parameters:
        config - Configuration settings in effect
        ann - Annotated entity to introspect
        Returns:
        Null if no indicator found; True or False otherwise
      • isOutputAsCData

        public java.lang.Boolean isOutputAsCData​(MapperConfig<?> config,
                                                 Annotated ann)
        Deprecated.
        Description copied from interface: AnnotationIntrospector.XmlExtensions
        Method used to check whether given annotated element (field, method, constructor parameter) has indicator that suggests it should be wrapped in a CDATA tag.
        Specified by:
        isOutputAsCData in interface AnnotationIntrospector.XmlExtensions
        Parameters:
        config - Configuration settings in effect
        ann - Annotated entity to introspect
        Returns:
        Null if no indicator found; True or False otherwise