Annotation 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.
When used in combination with Deprecated, this attribute allows specifying
a replacement for the XPath attribute.
- Since:
- 6.21.0
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionAn XPath expression to suggest as a replacement for use of the deprecated attribute. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringSentinel expressing that the attribute is deprecated without replacement.
-
Field Details
-
NO_REPLACEMENT
Sentinel expressing that the attribute is deprecated without replacement.- See Also:
-
-
Element Details
-
replaceWith
String replaceWithAn XPath expression to suggest as a replacement for use of the deprecated attribute. If empty, then the attribute is deprecated for removal. Example values:@NewerAttribute,NodeType/@SomeAttribute,some-function().- Default:
""
-