Package org.apache.juneau.html
Class HtmlBeanPropertyMeta
java.lang.Object
org.apache.juneau.ExtendedMeta
org.apache.juneau.ExtendedBeanPropertyMeta
org.apache.juneau.html.HtmlBeanPropertyMeta
Metadata on bean properties specific to the HTML serializers and parsers pulled from the 
@Html
 annotation on the bean property.
 See Also:
- 
Field SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionConstructor.
- 
Method SummaryModifier and TypeMethodDescriptionSpecifies the anchor text for this property.protected HtmlFormatReturns the format of this bean propertygetLink()Adds a hyperlink to this value in HTML.Returns the render class for rendering the style and contents of this property value in HTML.protected booleanisHtml()protected booleanprotected booleanbooleanReturns whether this bean property should not include table headers when serialized as an HTML table.protected booleanReturns whether this bean property should not be serialized as an HTML table.protected booleanprotected booleanisXml()Methods inherited from class org.apache.juneau.ExtendedBeanPropertyMetagetBeanPropertyMeta
- 
Field Details- 
DEFAULTDefault instance.
 
- 
- 
Constructor Details- 
HtmlBeanPropertyMetaConstructor.- Parameters:
- bpm- The metadata of the bean property of this additional metadata.
- mp- HTML metadata provider (for finding information about other artifacts).
 
 
- 
- 
Method Details- 
getFormatReturns the format of this bean property- Returns:
- The value of the Html.format()annotation.
 
- 
isXml- Returns:
- true if- getFormat()returns- HtmlFormat.XML.
 
- 
isPlainText- Returns:
- true if- getFormat()returns- HtmlFormat.PLAIN_TEXT.
 
- 
isHtml- Returns:
- true if- getFormat()returns- HtmlFormat.HTML.
 
- 
isHtmlCdc- Returns:
- true if- getFormat()returns- HtmlFormat.HTML_CDC.
 
- 
isHtmlSdc- Returns:
- true if- getFormat()returns- HtmlFormat.HTML_SDC.
 
- 
isNoTablesReturns whether this bean property should not be serialized as an HTML table.- Returns:
- true if the the- @Htmlannotation is specified, and- @Html(noTables)is- true .
 
- 
isNoTableHeadersReturns whether this bean property should not include table headers when serialized as an HTML table.- Returns:
- true if the the- @Htmlannotation is specified, and- @Html(noTableHeaders)is- true .
 
- 
getRenderReturns the render class for rendering the style and contents of this property value in HTML.This value is specified via the @Html(render)annotation.- Returns:
- The render class, never null .
 
- 
getLinkAdds a hyperlink to this value in HTML.This value is specified via the @Html(link)annotation.- Returns:
- The link string, or null if not specified.
 
- 
getAnchorTextSpecifies the anchor text for this property.This value is specified via the @Html(anchorText)annotation.- Returns:
- The link string, or null if not specified.
 
 
-