Class MarkdownBeanPropertyMeta
java.lang.Object
org.apache.juneau.marshall.ExtendedMeta
org.apache.juneau.marshall.ExtendedBeanPropertyMeta
org.apache.juneau.marshall.markdown.MarkdownBeanPropertyMeta
Metadata on bean properties specific to the Markdown serializers and parsers pulled from the
@Markdown annotation on the bean property.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstructor. -
Method Summary
Modifier and TypeMethodDescriptionReturns the rendering format for this property.Returns the custom heading text for document-mode rendering.getLink()Returns the link template for rendering this property as a Markdown link.booleanisCode()Returns whether the value should be rendered as inline code.booleanReturns whether table header rows should be suppressed.booleanReturns whether tables should be suppressed for this property's collection value.Methods inherited from class org.apache.juneau.marshall.ExtendedBeanPropertyMeta
getBeanPropertyMeta
-
Field Details
-
DEFAULT
Default instance.
-
-
Constructor Details
-
MarkdownBeanPropertyMeta
Constructor.- Parameters:
bpm- The metadata of the bean property of this additional metadata.mp- Markdown metadata provider (for finding information about other artifacts).
-
-
Method Details
-
getFormat
Returns the rendering format for this property.- Returns:
- The format.
-
getHeading
Returns the custom heading text for document-mode rendering.- Returns:
- The heading, or empty string if not specified.
-
isNoTables
Returns whether tables should be suppressed for this property's collection value.- Returns:
- Whether no-tables is set.
-
isNoHeaders
Returns whether table header rows should be suppressed.- Returns:
- Whether no-headers is set.
-
isCode
Returns whether the value should be rendered as inline code.- Returns:
- Whether code rendering is enabled.
-
getLink
Returns the link template for rendering this property as a Markdown link.- Returns:
- The link template, or empty string if not specified.
-