langtools/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/AnnotationTypeWriter.java
changeset 40587 1c355ea550ed
parent 40303 96a1226aca18
equal deleted inserted replaced
40519:e17429a7e843 40587:1c355ea550ed
    23  * questions.
    23  * questions.
    24  */
    24  */
    25 
    25 
    26 package jdk.javadoc.internal.doclets.toolkit;
    26 package jdk.javadoc.internal.doclets.toolkit;
    27 
    27 
    28 import java.io.*;
    28 import javax.lang.model.element.TypeElement;
    29 
    29 
    30 import javax.lang.model.element.TypeElement;
    30 import jdk.javadoc.internal.doclets.toolkit.util.DocFileIOException;
    31 
    31 
    32 /**
    32 /**
    33  * The interface for writing annotation type output.
    33  * The interface for writing annotation type output.
    34  *
    34  *
    35  *  <p><b>This is NOT part of any supported API.
    35  *  <p><b>This is NOT part of any supported API.
   150 
   150 
   151     /**
   151     /**
   152      * Print the document.
   152      * Print the document.
   153      *
   153      *
   154      * @param contentTree content tree that will be printed as a document
   154      * @param contentTree content tree that will be printed as a document
       
   155      * @throws DocFileIOException if there is a problem while writing the document
   155      */
   156      */
   156     public void printDocument(Content contentTree) throws IOException;
   157     public void printDocument(Content contentTree) throws DocFileIOException;
   157 
   158 
   158     /**
   159     /**
   159      * Return the {@link TypeElement} being documented.
   160      * Return the {@link TypeElement} being documented.
   160      *
   161      *
   161      * @return the TypeElement representing the annotation being documented.
   162      * @return the TypeElement representing the annotation being documented.