Class Html5MarkupModel

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      EndTagStyle getEndTagStyle​(java.lang.String element)
      For a given element, determines how the end tag for the element should be rendered.
      boolean isXML()
      Returns true if the document markup is XML, which is used to determine the need for an XML declaration at the start of the document, and whether CDATA sections are supported.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getEndTagStyle

        public EndTagStyle getEndTagStyle​(java.lang.String element)
        Description copied from interface: MarkupModel
        For a given element, determines how the end tag for the element should be rendered.
      • isXML

        public boolean isXML()
        Description copied from interface: MarkupModel
        Returns true if the document markup is XML, which is used to determine the need for an XML declaration at the start of the document, and whether CDATA sections are supported.
        Returns:
        true for XML output, false for HTML output