Annotation Type JacksonXmlProperty


  • @Target({FIELD,METHOD,PARAMETER})
    @Retention(RUNTIME)
    public @interface JacksonXmlProperty
    Annotation that can be used to provide XML-specific configuration for properties, above and beyond what JsonProperty contains. It is an alternative to using JAXB annotations.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      boolean isAttribute  
      java.lang.String localName  
      java.lang.String namespace  
    • Element Detail

      • isAttribute

        boolean isAttribute
        Default:
        false
      • namespace

        java.lang.String namespace
        Default:
        ""
      • localName

        java.lang.String localName
        Default:
        ""