Class Preformatted
- java.lang.Object
-
- org.symphonyoss.symphony.messageml.elements.Element
-
- org.symphonyoss.symphony.messageml.elements.Preformatted
-
public class Preformatted extends Element
Class representing preformatted text.- Since:
- 6/27/17
- Author:
- lukasz
-
-
Field Summary
Fields Modifier and Type Field Description static StringMESSAGEML_TAG-
Fields inherited from class org.symphonyoss.symphony.messageml.elements.Element
CLASS_ATTR, format, STYLE_ATTR
-
-
Constructor Summary
Constructors Constructor Description Preformatted(Element parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.commonmark.node.NodeasMarkdown()voidasPresentationML(XmlPrintStream out)voidvalidate()-
Methods inherited from class org.symphonyoss.symphony.messageml.elements.Element
addChild, asText, buildAll, findElements, findElements, findElements, getAttribute, getAttributes, getChild, getChildren, getFormat, getMessageMLTag, getParent, size
-
-
-
-
Field Detail
-
MESSAGEML_TAG
public static final String MESSAGEML_TAG
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Preformatted
public Preformatted(Element parent)
-
-
Method Detail
-
asPresentationML
public void asPresentationML(XmlPrintStream out)
-
asMarkdown
public org.commonmark.node.Node asMarkdown() throws InvalidInputException- Throws:
InvalidInputException
-
validate
public void validate() throws InvalidInputException- Throws:
InvalidInputException
-
-