001package Torello.JavaDoc.Annotations;
002
003import java.lang.annotation.*;
004
005// @CSSLinks Annotation
006// 
007// EXPORTS:
008//      public String[] FileNames();
009//
010// * package Torello.JDUInternal.Features.USER_SUPPLIED_CSS_FILES
011//      The classes in this package do the processing for inserting the '.css' Files which the user
012//      has requested be placed into his Java-Doc '.html' Web-Page.  These '.css' Files must be
013//      located in the '../upgrade-files/stylesheets/' directory.  These '.css' Files must either:
014// 
015//          1) obey the standard naming convention and have the exact same file-name as the
016//          Java-Class which has been annotated by the @CSSLinks Annotation
017// 
018//          2) have a name equal to one of the names provided to the Annotation-Element "FileNames"
019
020
021/**
022 * This Annotation allows a user to request that a CSS Link-Import be included in the Header
023 * Portion of any CIET/Type's respective Java-Doc Web-Page.  This Annotation allows for multiple
024 * sheets to be applied to a single Java-Doc Page.
025 * 
026 * <BR /><BR />The {@link #FileNames()} element in this annotation should be supplied with 
027 * names for a file located inside the {@code ../upgrade-files/stylesheets/} sub-directory of
028 * whatever Java Source-Code Package in which your CIET/Type (your {@code '.java'} file) resides.
029 * When you specify a CSS-File in that directory, you need not include any actual directory string
030 * information in the file-name.  Just the Simple-Name of the file itself is expected / sufficient.
031 * 
032 * <BR /><BR />Importing CSS-Files from other locations on disk is also allowed.  In such cases
033 * you would then (and only then) be obligated to include the Full-Path / Canonical File-Name
034 * for the CSS-File to be imported.
035 */
036@Target(ElementType.TYPE)
037@Retention(RetentionPolicy.SOURCE)
038
039public @interface CSSLinks
040{
041    /**
042     * The CSS-StyleSheet file (or files) for which an HTML {@code <LINK REL=stylesheet>} Tag is to
043     * be inserted into this CIET/Type's Java-Doc Page Header.
044     * 
045     * <BR /><BR />This Annotation-Element is a {@code String}-Array, which means more than one
046     * Style-Sheet may be included here.  If the Style-Sheet has been properly placed, directly,
047     * into the {@code ../upgrade-files/stylesheets/} directory, then this {@code 'FileNames'}
048     * {@code String}-Array <I>should not include any parent or container directory information in
049     * the any of those kinds of FileName-{@code String's}</I>.
050     * 
051     * <BR /><BR />If a StyleSheet whose location on disk is situated on the File-System in some
052     * unrelated place, then the file's Full-Path Name (or at least it's Relative-Path Name with
053     * respect to the Current Working Directory at Build Initiation Time) should be the 
054     * {@code String} used within this Array-Element.
055     */
056    public String[] FileNames();    
057}