Class LineBreak


  • public class LineBreak
    extends Element
    Class representing a line break.
    Since:
    3/27/17
    Author:
    lukasz
    • Constructor Detail

      • LineBreak

        public LineBreak​(Element parent)
    • Method Detail

      • asText

        public String asText()
        Description copied from class: Element
        Return a text representation of the element, descending into its children.
        Overrides:
        asText in class Element
      • asMarkdown

        public org.commonmark.node.Node asMarkdown()
      • areNestedElementsAllowed

        public boolean areNestedElementsAllowed()
        Description copied from class: Element
        Return true if nested elements are allowed By default true, override to false for elements that dont support nested elements
        Overrides:
        areNestedElementsAllowed in class Element