public class HtmlAnnotation extends Object implements Html
Html
annotation.
Constructor and Description |
---|
HtmlAnnotation(Class<?> on)
Constructor.
|
HtmlAnnotation(Field on)
Constructor.
|
HtmlAnnotation(Method on)
Constructor.
|
HtmlAnnotation(String on)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
anchorText() |
HtmlAnnotation |
anchorText(String value)
Sets the
|
Class<? extends Annotation> |
annotationType() |
HtmlFormat |
format() |
HtmlAnnotation |
format(HtmlFormat value)
Sets the
|
String |
link() |
HtmlAnnotation |
link(String value)
Sets the
|
boolean |
noTableHeaders() |
HtmlAnnotation |
noTableHeaders(boolean value)
Sets the
|
boolean |
noTables() |
HtmlAnnotation |
noTables(boolean value)
Sets the
|
String |
on() |
HtmlAnnotation |
on(Class<?> value)
Sets the
|
HtmlAnnotation |
on(Field value)
Sets the
|
HtmlAnnotation |
on(Method value)
Sets the
|
HtmlAnnotation |
on(String value)
Sets the
|
Class<? extends HtmlRender> |
render() |
HtmlAnnotation |
render(Class<? extends HtmlRender> value)
Sets the
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals, hashCode, toString
public HtmlAnnotation(String on)
on
- The initial value for the Html.on()
public HtmlAnnotation(Class<?> on)
on
- The initial value for the Html.on()
public HtmlAnnotation(Method on)
on
- The initial value for the Html.on()
public HtmlAnnotation(Field on)
on
- The initial value for the Html.on()
public Class<? extends Annotation> annotationType()
annotationType
in interface Annotation
public String anchorText()
public HtmlAnnotation anchorText(String value)
value
- The new value for this property.public HtmlFormat format()
public HtmlAnnotation format(HtmlFormat value)
value
- The new value for this property.public HtmlAnnotation link(String value)
value
- The new value for this property.public boolean noTableHeaders()
public HtmlAnnotation noTableHeaders(boolean value)
value
- The new value for this property.public boolean noTables()
public HtmlAnnotation noTables(boolean value)
value
- The new value for this property.public HtmlAnnotation on(String value)
value
- The new value for this property.public HtmlAnnotation on(Class<?> value)
value
- The new value for this property.public HtmlAnnotation on(Method value)
value
- The new value for this property.public HtmlAnnotation on(Field value)
value
- The new value for this property.public Class<? extends HtmlRender> render()
public HtmlAnnotation render(Class<? extends HtmlRender> value)
value
- The new value for this property.Copyright © 2016–2020 The Apache Software Foundation. All rights reserved.