Class CardHeader
- java.lang.Object
-
- org.symphonyoss.symphony.messageml.elements.Element
-
- org.symphonyoss.symphony.messageml.elements.CardHeader
-
public class CardHeader extends Element
Class representing a convenience element for a card header container. Translated to a div element.- Since:
- 3/27/17
- Author:
- lukasz
-
-
Field Summary
Fields Modifier and Type Field Description static StringMESSAGEML_TAGstatic StringPRESENTATIONML_CLASS-
Fields inherited from class org.symphonyoss.symphony.messageml.elements.Element
CLASS_ATTR, format, ID_ATTR, MAPPER, STYLE_ATTR
-
-
Constructor Summary
Constructors Constructor Description CardHeader(Element parent, FormatEnum format)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.commonmark.node.NodeasMarkdown()voidasPresentationML(XmlPrintStream out, MessageMLContext context)StringgetPresentationMLTag()Return the element's PresentationML tag.-
Methods inherited from class org.symphonyoss.symphony.messageml.elements.Element
addChild, areNestedElementsAllowed, asText, buildAll, buildNode, countChildrenOfType, countNonTextNodesInNodeList, findElements, findElements, findElements, getAttribute, getAttributes, getChild, getChildren, getFormat, getMessageMLTag, getParent, getStringAttribute, hasExactNumberOfChildren, hasIdAttribute, putIntegerIfPresent, putOneIfPresent, putStringIfPresent, size, throwInvalidInputException
-
-
-
-
Field Detail
-
MESSAGEML_TAG
public static final String MESSAGEML_TAG
- See Also:
- Constant Field Values
-
PRESENTATIONML_CLASS
public static final String PRESENTATIONML_CLASS
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CardHeader
public CardHeader(Element parent, FormatEnum format)
-
-
Method Detail
-
asPresentationML
public void asPresentationML(XmlPrintStream out, MessageMLContext context)
-
asMarkdown
public org.commonmark.node.Node asMarkdown()
-
getPresentationMLTag
public String getPresentationMLTag()
Description copied from class:ElementReturn the element's PresentationML tag. By default is equals to MessageML tag, override when needed- Overrides:
getPresentationMLTagin classElement
-
-