public final class HtmlBeanPropertyMeta extends BeanPropertyMetaExtended
@Html
annotation on the bean property.Constructor and Description |
---|
HtmlBeanPropertyMeta(BeanPropertyMeta bpm)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getAnchorText()
Specifies the anchor text for this property.
|
String |
getLink()
Adds a hyperlink to this value in HTML.
|
HtmlRender |
getRender()
Returns the render class for rendering the style and contents of this property value in HTML.
|
protected boolean |
isAsPlainText()
Returns whether this bean property should be serialized as plain text instead of HTML.
|
protected boolean |
isAsXml()
Returns whether this bean property should be serialized as XML instead of HTML.
|
boolean |
isNoTableHeaders()
Returns whether this bean property should not include table headers when serialized as an HTML table.
|
protected boolean |
isNoTables()
Returns whether this bean property should not be serialized as an HTML table.
|
getBeanPropertyMeta
public HtmlBeanPropertyMeta(BeanPropertyMeta bpm) throws Exception
bpm
- The metadata of the bean property of this additional metadata.Exception
- If render class could not be instantiated.protected boolean isAsXml()
@Html
annotation is specified, and @Html.asXml()
is protected boolean isAsPlainText()
@Html
annotation is specified, and @Html.asPlainText()
is
protected boolean isNoTables()
@Html
annotation is specified, and @Html.noTables()
is
public boolean isNoTableHeaders()
@Html
annotation is specified, and @Html.noTableHeaders()
is
public HtmlRender getRender()
This value is specified via the @Html.render()
annotation.
public String getLink()
This value is specified via the @Html.link()
annotation.
public String getAnchorText()
This value is specified via the @Html.anchorText()
annotation.
Copyright © 2018 Apache. All rights reserved.