Class RawHtml


  • @Deprecated
    public class RawHtml
    extends Content
    Deprecated.
    Class for generating raw HTML content to be added to 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.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      private static class  RawHtml.State
      Deprecated.
       
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static Content nbsp
      Deprecated.
       
      private java.lang.String rawHtmlContent
      Deprecated.
       
    • Constructor Summary

      Constructors 
      Constructor Description
      RawHtml​(java.lang.String rawHtml)
      Deprecated.
      Constructor to construct a RawHtml object.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      void addContent​(Content content)
      Deprecated.
      This method is not supported by the class.
      void addContent​(java.lang.String stringContent)
      Deprecated.
      This method is not supported by the class.
      int charCount()
      Deprecated.
      Return the number of characters of plain text content in this object (optional operation.)
      (package private) static int charCount​(java.lang.String htmlText)
      Deprecated.
       
      boolean isEmpty()
      Deprecated.
      Returns true if the content is empty.
      java.lang.String toString()
      Deprecated.
      Returns a string representation of the content.
      boolean write​(java.io.Writer out, boolean atNewline)
      Deprecated.
      Writes content to a writer.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • rawHtmlContent

        private java.lang.String rawHtmlContent
        Deprecated.
      • nbsp

        public static final Content nbsp
        Deprecated.
    • Constructor Detail

      • RawHtml

        public RawHtml​(java.lang.String rawHtml)
        Deprecated.
        Constructor to construct a RawHtml object.
        Parameters:
        rawHtml - raw HTML text to be added
    • 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​(java.lang.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
      • toString

        public java.lang.String toString()
        Deprecated.
        Returns a string representation of the content.
        Overrides:
        toString in class Content
        Returns:
        string representation of the content
      • charCount

        public int charCount()
        Deprecated.
        Description copied from class: Content
        Return the number of characters of plain text content in this object (optional operation.)
        Overrides:
        charCount in class Content
        Returns:
        the number of characters of plain text content in this
      • charCount

        static int charCount​(java.lang.String htmlText)
        Deprecated.
      • write

        public boolean write​(java.io.Writer out,
                             boolean atNewline)
                      throws java.io.IOException
        Deprecated.
        Writes content to a writer.
        Specified by:
        write in class Content
        Throws:
        java.io.IOException