Package org.apache.juneau.marshall.html
Class HtmlClassMeta
java.lang.Object
org.apache.juneau.marshall.ExtendedMeta
org.apache.juneau.marshall.ExtendedClassMeta
org.apache.juneau.marshall.html.HtmlClassMeta
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected HtmlFormatReturns the@Html(format)annotation defined on the class.HtmlRender<?>Returns the@Html(render)annotation defined on the class.protected booleanisHtml()protected booleanprotected booleanbooleanReturns the@Html(noTableHeaders)annotation defined on the class.protected booleanReturns the@Html(noTables)annotation defined on the class.protected booleanprotected booleanisXml()Methods inherited from class org.apache.juneau.marshall.ExtendedClassMeta
getBeanInfo, getInnerClass
-
Constructor Details
-
HtmlClassMeta
Constructor.- Parameters:
cm- The class that this annotation is defined on.
Must not benull .mp- HTML metadata provider (for finding information about other artifacts).
-
-
Method Details
-
getRender
Returns the@Html(render)annotation defined on the class.- Returns:
- The value of the annotation, or
null if not specified.
-
isNoTableHeaders
Returns the@Html(noTableHeaders)annotation defined on the class.- Returns:
- The value of the annotation.
-
getFormat
Returns the@Html(format)annotation defined on the class.- Returns:
- The value of the annotation.
-
isHtml
- Returns:
true ifgetFormat()returnsHtmlFormat.HTML.
-
isHtmlCdc
- Returns:
true ifgetFormat()returnsHtmlFormat.HTML_CDC.
-
isHtmlSdc
- Returns:
true ifgetFormat()returnsHtmlFormat.HTML_SDC.
-
isNoTables
Returns the@Html(noTables)annotation defined on the class.- Returns:
- The value of the annotation.
-
isPlainText
- Returns:
true ifgetFormat()returnsHtmlFormat.PLAIN_TEXT.
-
isXml
- Returns:
true ifgetFormat()returnsHtmlFormat.XML.
-