1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
package Torello.HTML;

/**
 * Tag Criteria - An enumeration that allows a user to specify which type of tag's are being
 * requested when searching a web-page for HTML-Tags.
 * 
 * <EMBED CLASS='external-html' DATA-FILE-ID=TCEN>
 */
public enum TC
{
    /**
     * OpeningTags indicates HTML <CODE>TagNode's</CODE> that constitute the first of a two
     * {@code TagNode} pair like:
     * <CODE>&lt;DIV&gt;</CODE> rather than / as opposed to <CODE>&lt;/DIV&gt;</CODE>
     */
    OpeningTags,

    /**
     * ClosingTag indicates HTML <CODE>TagNode's</CODE> that constitute the second of the two
     * {@code TagNode} pair such as:
     * <CODE>&lt;/A&gt;</CODE>, rather than {@code <A HREF=...>}
     */
    ClosingTags,

    // NOTE: Use the HTML 'CODE' element instead of curly-brace AT code, because it fixed the
    // issue.  Don't ask.
    // TO-DO: Figure out why using curly-brace AT code ... for the anchor-tag actually broke
    // Balance-Validity Report.
    // WHY: ? the Javadoc Tool usually (heavy emphasis on 'usually') escapes HTML that is between
    // the code tags.
    // It wasn't doing the escape in the above comment.

    /**
     * The <CODE>TC.Both</CODE> enumerated type indicates that either of these scenarios
     * will satisfy the search criteria.
     */
    Both;
}