Annotation Type XmlAccessMethods


  • @Target({FIELD,METHOD})
    @Retention(RUNTIME)
    public @interface XmlAccessMethods
    Purpose:This annotation allows the userTo specify accessor methods for a given property. The methods specified here will be used to set values in the object during unmarshal and to obtain the value from the object during marshal.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String getMethodName  
      java.lang.String setMethodName  
    • Element Detail

      • getMethodName

        java.lang.String getMethodName
        Default:
        ""
      • setMethodName

        java.lang.String setMethodName
        Default:
        ""