Lightweigth HTML Scanner 2.00

be.arci.html
Interface HFile


public interface HFile

Defines String and primitive constants internal to HTMLScanner.

The tag names here defined require special handling during parsing a HTML document, whether the application programmer requests to return the tags themselves or not.

The integer TGID_xxx fields defined in this interface bear no relation to the tag ID set in HTMLTag.iID.

In most runtime environments this class file is not needed in the distribution package of software using HTMLScanner.

See Also:
HTMLScanner.getTags(String[] asTagNames, boolean swDiscardOtherTags)

Field Summary
static int TGID_BLOCK_COMMENT
          Block comment tag ID.
static int TGID_LISTING
          List block.
static int TGID_NOTAG
          Content
static int TGID_PLAINTEXT
          Plain text block.
Note: stretches till end-of-file.
static int TGID_PRE
          Preformatted block.
static int TGID_SCRIPT
          Script block.
Note: contents need a language-dependent script parser.
static int TGID_TEXTAREA
          text area.
static int TGID_TITLE
          Title block.
static int TGID_XMP
          Example block.
static java.lang.String TGNM_01
          Internal use
static java.lang.String TGNM_02
          Internal use
static java.lang.String TGNM_03
          Internal use
static java.lang.String TGNM_04
          Internal use
static java.lang.String TGNM_05
          Internal use
static java.lang.String TGNM_06
          Internal use
static java.lang.String TGNM_07
          Internal use
static java.lang.String TGNM_08
          Internal use
 

Field Detail

TGID_NOTAG

public static final int TGID_NOTAG
Content

TGID_BLOCK_COMMENT

public static final int TGID_BLOCK_COMMENT
Block comment tag ID. <!-- to -->

Note:
MS IE also uses "<%" to "%>" and "<COMMENT>" to "</COMMENT>" as comment delimiters, but these are not treated as comment by Netscape (mine is 4.5), and therefor should not be used.


TGNM_01

public static final java.lang.String TGNM_01
Internal use

TGID_SCRIPT

public static final int TGID_SCRIPT
Script block.
Note: contents need a language-dependent script parser.

TGNM_02

public static final java.lang.String TGNM_02
Internal use

TGID_PRE

public static final int TGID_PRE
Preformatted block.

TGNM_03

public static final java.lang.String TGNM_03
Internal use

TGID_LISTING

public static final int TGID_LISTING
List block.

TGNM_04

public static final java.lang.String TGNM_04
Internal use

TGID_TITLE

public static final int TGID_TITLE
Title block.

TGNM_05

public static final java.lang.String TGNM_05
Internal use

TGID_XMP

public static final int TGID_XMP
Example block.

TGNM_06

public static final java.lang.String TGNM_06
Internal use

TGID_PLAINTEXT

public static final int TGID_PLAINTEXT
Plain text block.
Note: stretches till end-of-file.

TGNM_07

public static final java.lang.String TGNM_07
Internal use

TGID_TEXTAREA

public static final int TGID_TEXTAREA
text area.

TGNM_08

public static final java.lang.String TGNM_08
Internal use

Lightweigth HTML Scanner 2.00