Interface ProblemDetailJacksonXmlMixin


public interface ProblemDetailJacksonXmlMixin
Provides the same declarations as ProblemDetailJacksonMixin, and some additional ones to support XML serialization when jackson-dataformat-xml is on the classpath. Customizes the XML root element name and adds namespace information.

Note that we can't use JsonRootName to specify the namespace since that is not inherited by fields of the class. This is why we need a dedicated mixin for use when jackson-dataformat-xml is on the classpath. For more details, see FasterXML/jackson-dataformat-xml#355.

Since:
6.0.5
Author:
Rossen Stoyanchev
  • Field Details

  • Method Details

    • getType

      URI getType()
    • getTitle

      String getTitle()
    • getStatus

      int getStatus()
    • getDetail

      String getDetail()
    • getInstance

      URI getInstance()
    • setProperty

      void setProperty(String name, @Nullable Object value)
    • getProperties

      Map<String,Object> getProperties()