public final class HtmlBeanPropertyMeta extends BeanPropertyMetaExtended
@Html
annotation on the bean property.| Modifier and Type | Field and Description |
|---|---|
static HtmlBeanPropertyMeta |
DEFAULT
Default instance.
|
| Constructor and Description |
|---|
HtmlBeanPropertyMeta(BeanPropertyMeta bpm)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAnchorText()
Specifies the anchor text for this property.
|
protected HtmlFormat |
getFormat()
Returns the format of this bean 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 |
isHtml()
|
protected boolean |
isHtmlCdc()
|
protected boolean |
isHtmlSdc()
|
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.
|
protected boolean |
isPlainText()
|
protected boolean |
isXml()
|
getBeanPropertyMetapublic static final HtmlBeanPropertyMeta DEFAULT
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 HtmlFormat getFormat()
Html.format() annotation.protected boolean isXml()
getFormat() returns HtmlFormat.XML.protected boolean isPlainText()
getFormat() returns HtmlFormat.PLAIN_TEXT.protected boolean isHtml()
getFormat() returns HtmlFormat.HTML.protected boolean isHtmlCdc()
getFormat() returns HtmlFormat.HTML_CDC.protected boolean isHtmlSdc()
getFormat() returns HtmlFormat.HTML_SDC.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 © 2016–2019 The Apache Software Foundation. All rights reserved.