Annotation Type DeprecatedAttribute


  • @Documented
    @Retention(RUNTIME)
    @Target(METHOD)
    public @interface DeprecatedAttribute
    Node attribute getter methods might be annotated with DeprecatedAttribute to mark the attribute as deprecated for XPath. Unlike Deprecated, this annotation does not deprecate the method for java usage.
    Since:
    6.21.0
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      String replaceWith
      The simple name of the attribute to use for replacement (with '@' prefix).
    • Field Detail

      • NO_REPLACEMENT

        static final String NO_REPLACEMENT
    • Element Detail

      • replaceWith

        String replaceWith
        The simple name of the attribute to use for replacement (with '@' prefix). If empty, then the attribute is deprecated for removal.
        Default:
        ""