Class DocType


  • @Deprecated
    public class DocType
    extends Content
    Deprecated.
    Class for generating document type for HTML pages of javadoc output.

    This is NOT part of any supported API. If you write code that depends on this, you do so at your own risk. This code and its internal interfaces are subject to change or deletion without notice.

    Author:
    Bhavesh Patel
    • Field Detail

      • TRANSITIONAL

        public static final DocType TRANSITIONAL
        Deprecated.
      • HTML5

        public static final DocType HTML5
        Deprecated.
    • Method Detail

      • addContent

        public void addContent​(Content content)
        Deprecated.
        This method is not supported by the class.
        Specified by:
        addContent in class Content
        Parameters:
        content - content that needs to be added
        Throws:
        DocletAbortException - this method will always throw a DocletAbortException because it is not supported.
      • addContent

        public void addContent​(String stringContent)
        Deprecated.
        This method is not supported by the class.
        Specified by:
        addContent in class Content
        Parameters:
        stringContent - string content that needs to be added
        Throws:
        DocletAbortException - this method will always throw a DocletAbortException because it is not supported.
      • isEmpty

        public boolean isEmpty()
        Deprecated.
        Returns true if the content is empty.
        Specified by:
        isEmpty in class Content
        Returns:
        true if no content to be displayed else return false