public class HtmlClassMeta extends ExtendedClassMeta
@Html
annotation on
the class.Constructor and Description |
---|
HtmlClassMeta(ClassMeta<?> cm,
HtmlMetaProvider mp)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected Html |
getAnnotation()
Returns the
@Html annotation defined on the class. |
protected HtmlFormat |
getFormat()
Returns the
@Html(format) annotation defined on the class. |
HtmlRender<?> |
getRender()
Returns the
@Html(render) annotation defined on the class. |
protected boolean |
isHtml()
|
protected boolean |
isHtmlCdc()
|
protected boolean |
isHtmlSdc()
|
boolean |
isNoTableHeaders()
Returns the
@Html(noTableHeaders) annotation defined on the class. |
protected boolean |
isNoTables()
Returns the
@Html(noTables) annotation defined on the class. |
protected boolean |
isPlainText()
|
protected boolean |
isXml()
|
getClassMeta, getInnerClass
public HtmlClassMeta(ClassMeta<?> cm, HtmlMetaProvider mp)
cm
- The class that this annotation is defined on.mp
- HTML metadata provider (for finding information about other artifacts).protected Html getAnnotation()
@Html
annotation defined on the class.protected HtmlFormat getFormat()
@Html(format)
annotation defined on the class.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(noTables)
annotation defined on the class.public boolean isNoTableHeaders()
@Html(noTableHeaders)
annotation defined on the class.public HtmlRender<?> getRender()
@Html(render)
annotation defined on the class.Copyright © 2016–2020 The Apache Software Foundation. All rights reserved.