@Documented @Target(value=TYPE) @Retention(value=RUNTIME) @Inherited public @interface HtmlLink
HtmlSerializer
class to define hyperlinks.
This annotation is applied to classes.
Annotation that can be used to specify that a class has a URL associated with it.
When rendered using the HtmlSerializer
class, this class will get
rendered as a hyperlink like so...
Modifier and Type | Optional Element and Description |
---|---|
String |
hrefProperty
The bean property whose value becomes the url in the hyperlink.
|
String |
nameProperty
The bean property whose value becomes the name in the hyperlink.
|
public abstract String nameProperty
public abstract String hrefProperty
Copyright © 2018 Apache. All rights reserved.