Class TagDereferencer


  • public class TagDereferencer
    extends java.lang.Object
    NamedEntitiesDereferencer provides an extremely fast way to map the set of known HTML tags to unique integer values.

    Note: the Elements described below comes from the HTML 4.01 DTD with IE extensions.  Also, notice that tag names are case insensitive.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int A
      Code identifying a "A" tag
      static int ABBR
      Code identifying a "ABBR" tag
      static int ACRONYM
      Code identifying a "ACRONYM" tag
      static int ADDRESS
      Code identifying a "ADDRESS" tag
      static int APPLET
      Code identifying a "APPLET" tag
      static int AREA
      Code identifying a "AREA" tag
      static int B
      Code identifying a "B" tag
      static int BASE
      Code identifying a "BASE" tag
      static int BASEFONT
      Code identifying a "BASEFONT" tag
      static int BDO
      Code identifying a "BDO" tag
      static int BIG
      Code identifying a "BIG" tag
      static int BLOCKQUOTE
      Code identifying a "BLOCKQUOTE" tag
      static int BODY
      Code identifying a "BODY" tag
      static int BR
      Code identifying a "BR" tag
      static int BUTTON
      Code identifying a "BUTTON" tag
      static int CAPTION
      Code identifying a "CAPTION" tag
      static int CENTER
      Code identifying a "CENTER" tag
      static int CITE
      Code identifying a "CITE" tag
      static int CODE
      Code identifying a "CODE" tag
      static int COL
      Code identifying a "COL" tag
      static int COLGROUP
      Code identifying a "COLGROUP" tag
      static int COMMENT
      Code identifying a "COMMENT" tag
      static int DD
      Code identifying a "DD" tag
      static int DEL
      Code identifying a "DEL" tag
      static int DFN
      Code identifying a "DFN" tag
      static int DIR
      Code identifying a "DIR" tag
      static int DIV
      Code identifying a "DIV" tag
      static int DL
      Code identifying a "DL" tag
      static int DT
      Code identifying a "DT" tag
      static int EM
      Code identifying a "EM" tag
      static int EMBED
      Code identifying a "EMBED" tag
      static int FIELDSET
      Code identifying a "FIELDSET" tag
      static int FONT
      Code identifying a "FONT" tag
      static int FORM
      Code identifying a "FORM" tag
      static int FRAME
      Code identifying a "FRAME" tag
      static int FRAMESET
      Code identifying a "FRAMESET" tag
      static int H1
      Code identifying a "H1" tag
      static int H2
      Code identifying a "H2" tag
      static int H3
      Code identifying a "H3" tag
      static int H4
      Code identifying a "H4" tag
      static int H5
      Code identifying a "H5" tag
      static int H6
      Code identifying a "H6" tag
      static int HEAD
      Code identifying a "HEAD" tag
      static int HR
      Code identifying a "HR" tag
      static int HTML
      Code identifying a "HTML" tag
      static int I
      Code identifying a "I" tag
      static int IFRAME
      Code identifying a "IFRAME" tag
      static int IMG
      Code identifying a "IMG" tag
      static int INPUT
      Code identifying a "INPUT" tag
      static int INS
      Code identifying a "INS" tag
      static int ISINDEX
      Code identifying a "ISINDEX" tag
      static int KBD
      Code identifying a "KBD" tag
      static int LABEL
      Code identifying a "LABEL" tag
      static int LEGEND
      Code identifying a "LEGEND" tag
      static int LI
      Code identifying a "LI" tag
      static int LINK
      Code identifying a "LINK" tag
      static int MAP
      Code identifying a "MAP" tag
      static int MENU
      Code identifying a "MENU" tag
      static int META
      Code identifying a "META" tag
      static int NOFRAMES
      Code identifying a "NOFRAMES" tag
      static int NOSCRIPT
      Code identifying a "NOSCRIPT" tag
      static int OBJECT
      Code identifying a "OBJECT" tag
      static int OL
      Code identifying a "OL" tag
      static int OPTGROUP
      Code identifying a "OPTGROUP" tag
      static int OPTION
      Code identifying a "OPTION" tag
      static int P
      Code identifying a "P" tag
      static int PARAM
      Code identifying a "PARAM" tag
      static int PLAINTEXT
      Code identifying a "PLAINTEXT" tag
      static int PRE
      Code identifying a "PRE" tag
      static int Q
      Code identifying a "Q" tag
      static int S
      Code identifying a "S" tag
      static int SAMP
      Code identifying a "SAMP" tag
      static int SCRIPT
      Code identifying a "SCRIPT" tag
      static int SELECT
      Code identifying a "SELECT" tag
      static int SMALL
      Code identifying a "SMALL" tag
      static int SPAN
      Code identifying a "SPAN" tag
      static int STRIKE
      Code identifying a "STRIKE" tag
      static int STRONG
      Code identifying a "STRONG" tag
      static int STYLE
      Code identifying a "STYLE" tag
      static int SUB
      Code identifying a "SUB" tag
      static int SUP
      Code identifying a "SUP" tag
      static int TABLE
      Code identifying a "TABLE" tag
      static int TBODY
      Code identifying a "TBODY" tag
      static int TD
      Code identifying a "TD" tag
      static int TEXTAREA
      Code identifying a "TEXTAREA" tag
      static int TFOOT
      Code identifying a "TFOOT" tag
      static int TH
      Code identifying a "TH" tag
      static int THEAD
      Code identifying a "THEAD" tag
      static int TITLE
      Code identifying a "TITLE" tag
      static int TR
      Code identifying a "TR" tag
      static int TT
      Code identifying a "TT" tag
      static int U
      Code identifying a "U" tag
      static int UL
      Code identifying a "UL" tag
      static int UNKNOWN
      Code identifying an unknown, possibly invalid, tag
      static int VAR
      Code identifying a "VAR" tag
      static int WBR
      Code identifying a "WBR" tag
      static int XMP
      Code identifying a "XMP" tag
    • Constructor Summary

      Constructors 
      Constructor Description
      TagDereferencer()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static int hashCode​(byte[] b, int offset, int count)
      Returns the hash code of the given string, automatically converting the chars to upper case.
      static char toCode​(byte[] b, int offset, int count)
      Get the code associated to a key.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait