Class JavadocTokenTypes

java.lang.Object
com.puppycrawl.tools.checkstyle.api.JavadocTokenTypes

public final class JavadocTokenTypes extends Object
Contains the constants for all the tokens contained in the Abstract Syntax Tree for the javadoc grammar.
See Also:
  • Field Details

    • RETURN_LITERAL

      public static final int RETURN_LITERAL
      '@return' literal in @return Javadoc tag.

      Such Javadoc tag can have one argument - DESCRIPTION

      Example:

      @return true if file exists
      Tree:
      
       JAVADOC_TAG -> JAVADOC_TAG
        |--RETURN_LITERAL -> @return
        |--WS ->
        `--DESCRIPTION -> DESCRIPTION
            |--TEXT -> true if file exists
       
      See Also:
    • DEPRECATED_LITERAL

      public static final int DEPRECATED_LITERAL
      '@deprecated' literal in @deprecated Javadoc tag.

      Such Javadoc tag can have one argument - DESCRIPTION

      Example:

      @deprecated It is deprecated method
      Tree:
      
       JAVADOC_TAG -> JAVADOC_TAG
        |--DEPRECATED_LITERAL -> @deprecated
        |--WS ->
        `--DESCRIPTION -> DESCRIPTION
            |--TEXT -> It is deprecated method
       
      See Also:
    • SINCE_LITERAL

      public static final int SINCE_LITERAL
      '@since' literal in @since Javadoc tag.

      Such Javadoc tag can have one argument - DESCRIPTION

      Example:

      @since 3.4 RELEASE
      Tree:
      
       JAVADOC_TAG -> JAVADOC_TAG
        |--SINCE_LITERAL -> @since
        |--WS ->
        `--DESCRIPTION -> DESCRIPTION
            |--TEXT -> 3.4 RELEASE
       
      See Also:
    • SERIAL_DATA_LITERAL

      public static final int SERIAL_DATA_LITERAL
      '@serialData' literal in @serialData Javadoc tag.

      Such Javadoc tag can have one argument - DESCRIPTION

      Example:

      @serialData Two values of Integer type
      Tree:
      
       JAVADOC_TAG -> JAVADOC_TAG
        |--SERIAL_DATA_LITERAL -> @serialData
        |--WS ->
        `--DESCRIPTION -> DESCRIPTION
            |--TEXT -> Two values of Integer type
       
       
      See Also:
    • SERIAL_FIELD_LITERAL

      public static final int SERIAL_FIELD_LITERAL
      '@serialField' literal in @serialField Javadoc tag.

      Such Javadoc tag can have three arguments:

      1. FIELD_NAME
      2. FIELD_TYPE
      3. DESCRIPTION

      Example:

      @serialField counter Integer objects counter
      Tree:
      
       JAVADOC_TAG -> JAVADOC_TAG
        |--SERIAL_FIELD_LITERAL -> @serialField
        |--WS ->
        |--FIELD_NAME -> counter
        |--WS ->
        |--FIELD_TYPE -> Integer
        |--WS ->
        `--DESCRIPTION -> DESCRIPTION
            |--TEXT -> objects counter
       
      See Also:
    • PARAM_LITERAL

      public static final int PARAM_LITERAL
      '@param' literal in @param Javadoc tag.

      Such Javadoc tag can have two arguments:

      1. PARAMETER_NAME
      2. DESCRIPTION

      Example:

      @param value The parameter of method.
      Tree:
      
       JAVADOC_TAG -> JAVADOC_TAG
        |--PARAM_LITERAL -> @param
        |--WS ->
        |--PARAMETER_NAME -> value
        |--WS ->
        `--DESCRIPTION -> DESCRIPTION
            |--TEXT -> The parameter of method.
       
      See Also:
    • SEE_LITERAL

      public static final int SEE_LITERAL
      '@see' literal in @see Javadoc tag.

      Such Javadoc tag can have one argument - REFERENCE

      Example:

      @see org.apache.utils.Lists.Comparator#compare(Object)
      Tree:
      
         JAVADOC_TAG -> JAVADOC_TAG
          |--SEE_LITERAL -> @see
          |--WS ->
          |--REFERENCE -> REFERENCE
              |--PACKAGE_CLASS -> org.apache.utils.Lists.Comparator
              |--HASH -> #
              |--MEMBER -> compare
              `--PARAMETERS -> PARAMETERS
                  |--LEFT_BRACE -> (
                  |--ARGUMENT -> Object
                  `--RIGHT_BRACE -> )
       
      See Also:
    • SERIAL_LITERAL

      public static final int SERIAL_LITERAL
      '@serial' literal in @serial Javadoc tag.

      Such Javadoc tag can have one argument - REFERENCE or LITERAL_EXCLUDE or LITERAL_INCLUDE

      Example:

      @serial include
      Tree:
      
         |--JAVADOC_TAG -> JAVADOC_TAG
             |--SERIAL_LITERAL -> @serial
             |--WS
             |--LITERAL_INCLUDE -> include
       

      Example:

      @serial serialized company name
      Tree:
      
         |--JAVADOC_TAG-> JAVADOC_TAG
             |--SERIAL_LITERAL -> @serial
             |--WS
             |--DESCRIPTION -> DESCRIPTION
                 |--TEXT -> serialized company name
       
      See Also:
    • VERSION_LITERAL

      public static final int VERSION_LITERAL
      '@version' literal in @version Javadoc tag.

      Such Javadoc tag can have one argument - DESCRIPTION

      Example:

      @version 1.3
      Tree:
      
         JAVADOC_TAG -> JAVADOC_TAG
          |--VERSION_LITERAL -> @version
          |--WS ->
          `--DESCRIPTION -> DESCRIPTION
              |--TEXT -> 1.3
       
      See Also:
    • EXCEPTION_LITERAL

      public static final int EXCEPTION_LITERAL
      '@exception' literal in @exception Javadoc tag.

      Such Javadoc tag can have two argument - CLASS_NAME and DESCRIPTION

      Example:

      @exception SQLException if query is not correct
      Tree:
      
         JAVADOC_TAG -> JAVADOC_TAG
          |--EXCEPTION_LITERAL -> @exception
          |--WS ->
          |--CLASS_NAME -> SQLException
          |--WS ->
          `--DESCRIPTION -> DESCRIPTION
              `--TEXT -> if query is not correct
       
      See Also:
    • THROWS_LITERAL

      public static final int THROWS_LITERAL
      '@throws' literal in @throws Javadoc tag.

      Such Javadoc tag can have two argument - CLASS_NAME and DESCRIPTION

      Example:

      @throws SQLException if query is not correct
      Tree:
      
         JAVADOC_TAG -> JAVADOC_TAG
            |--THROWS_LITERAL -> @throws
            |--WS ->
            |--CLASS_NAME -> SQLException
            |--WS ->
            `--DESCRIPTION -> DESCRIPTION
                |--TEXT -> if query is not correct
                |--NEWLINE -> \r\n
                `--TEXT ->
       
      See Also:
    • AUTHOR_LITERAL

      public static final int AUTHOR_LITERAL
      '@author' literal in @author Javadoc tag.

      Such Javadoc tag can have one argument - DESCRIPTION

      Example:

      @author Baratali Izmailov
      Tree:
      
         JAVADOC_TAG -> JAVADOC_TAG
            |--AUTHOR_LITERAL -> @author
            |--WS ->
            `--DESCRIPTION -> DESCRIPTION
                |--TEXT -> Baratali Izmailov
                |--NEWLINE -> \r\n
       
      See Also:
    • CUSTOM_NAME

      public static final int CUSTOM_NAME
      Name of custom Javadoc tag (or Javadoc inline tag).

      Such Javadoc tag can have one argument - DESCRIPTION

      Example:

      @myJavadocTag some magic
      Tree:
      
         JAVADOC_TAG --> JAVADOC_TAG
             |--CUSTOM_NAME --> @myJavadocTag
             |--WS -->
             `--DESCRIPTION --> DESCRIPTION
                 |--TEXT --> some magic
       
      See Also:
    • JAVADOC_INLINE_TAG_START

      public static final int JAVADOC_INLINE_TAG_START
      First child of JAVADOC_INLINE_TAG that represents left curly brace '{'.

      Example:

      {@code Comparable<E>}
      Tree:
        JAVADOC_INLINE_TAG --> JAVADOC_INLINE_TAG
               |--JAVADOC_INLINE_TAG_START --> {
               |--CODE_LITERAL --> @code
               |--WS -->
               |--TEXT --> Comparable<E>
               `--JAVADOC_INLINE_TAG_END --> }
       
       
      See Also:
    • JAVADOC_INLINE_TAG_END

      public static final int JAVADOC_INLINE_TAG_END
      Last child of JAVADOC_INLINE_TAG that represents right curly brace '}'.

      Example:

      {@code Comparable<E>}
      Tree:
       JAVADOC_INLINE_TAG --> JAVADOC_INLINE_TAG
              |--JAVADOC_INLINE_TAG_START --> {
              |--CODE_LITERAL --> @code
              |--WS -->
              |--TEXT --> Comparable<E>
              `--JAVADOC_INLINE_TAG_END --> }
      
       
       
      See Also:
    • CODE_LITERAL

      public static final int CODE_LITERAL
      '@code' literal in {@code} Javadoc inline tag.

      Such Javadoc inline tag can have such child nodes:

      Example:

      {@code Comparable<E>}
      Tree:
       JAVADOC_TAG -> JAVADOC_TAG
              |--CUSTOM_NAME -> @code
              |--WS ->
              `--DESCRIPTION -> DESCRIPTION
                  |--TEXT -> Comparable<E>
       
       
      See Also:
    • DOC_ROOT_LITERAL

      public static final int DOC_ROOT_LITERAL
      '@docRoot' literal in {@docRoot} Javadoc inline tag.

      Such Javadoc inline tag does not have any arguments and can have such child nodes:

      Example:

      {@docRoot}
      Tree:
       
       |--JAVADOC_INLINE_TAG -> JAVADOC_INLINE_TAG
            |--JAVADOC_INLINE_TAG_START -> {
            |--DOC_ROOT_LITERAL -> @docRoot
            `--JAVADOC_INLINE_TAG_END -> }
       
       
      Example :{@docRoot
       } in a Javadoc comment.
       
      Tree:
       
         |--JAVADOC_INLINE_TAG -> JAVADOC_INLINE_TAG
           |--JAVADOC_INLINE_TAG_START -> {
           |--DOC_ROOT_LITERAL -> @docRoot
           |--NEWLINE -> \r\n
           |--LEADING_ASTERISK ->       *
           |--WS ->
           `--JAVADOC_INLINE_TAG_END -> }
       
       
      See Also:
    • INHERIT_DOC_LITERAL

      public static final int INHERIT_DOC_LITERAL
      '@inheritDoc' literal in {@inheritDoc} Javadoc inline tag.

      Such Javadoc inline tag does not have any arguments and can have such child nodes:

      Example:

      {@inheritDoc}
      Tree:
      
         JAVADOC_INLINE_TAG -> JAVADOC_INLINE_TAG
          |--JAVADOC_INLINE_TAG_START -> {
          |--INHERIT_DOC_LITERAL -> @inheritDoc
          |--JAVADOC_INLINE_TAG_END -> }
       
      See Also:
    • LINKPLAIN_LITERAL

      public static final int LINKPLAIN_LITERAL
      '@linkplain' literal in {@linkplain} Javadoc inline tag.

      Such Javadoc inline tag can have one argument - REFERENCE

      Example:

      {@linkplain org.apache.utils.Lists.Comparator#compare(Object) compare}
       
      Tree:
      
         JAVADOC_INLINE_TAG -> JAVADOC_INLINE_TAG
          |--JAVADOC_INLINE_TAG_START -> {
          |--LINKPLAIN_LITERAL -> @linkplain
          |--WS ->
          |--REFERENCE -> org.apache.utils.Lists.Comparator#compare(Object)
              |--PACKAGE_CLASS -> org.apache.utils
              |--DOT -> .
              |--CLASS -> Lists
              |--DOT -> .
              |--CLASS -> Comparator
              |--HASH -> #
              |--MEMBER -> compare
              |--PARAMETERS -> (Object)
                  |--LEFT_BRACE -> (
                  |--ARGUMENT -> Object
                  |--RIGHT_BRACE -> )
           |--DESCRIPTION -> compare
               |--TEXT -> compare
           |--JAVADOC_INLINE_TAG_END -> }
       
      See Also:
    • LITERAL_LITERAL

      public static final int LITERAL_LITERAL
      '@literal' literal in {@literal} Javadoc inline tag.

      Such Javadoc inline tag can have such child nodes:

      Example:

      {@literal #compare(Object)}
      Tree:
       
           |--JAVADOC_INLINE_TAG -> JAVADOC_INLINE_TAG
              |--JAVADOC_INLINE_TAG_START -> {
              |--LITERAL_LITERAL -> @literal
              |--WS ->
              |--TEXT -> #compare(Object)
              `--JAVADOC_INLINE_TAG_END -> }
       
       
      See Also:
    • VALUE_LITERAL

      public static final int VALUE_LITERAL
      '@value' literal in {@value} Javadoc inline tag.

      Such Javadoc inline tag has one argument REFERENCE and can have such child nodes:

      Example:

      {@value Integer#MAX_VALUE}
      Tree:
        JAVADOC_INLINE_TAG --> JAVADOC_INLINE_TAG
               |--JAVADOC_INLINE_TAG_START --> {
               |--VALUE_LITERAL --> @value
               |--WS -->
               |--REFERENCE --> REFERENCE
               |   |--PACKAGE_CLASS --> Integer
               |   |--HASH --> #
               |   `--MEMBER --> MAX_VALUE
               `--JAVADOC_INLINE_TAG_END --> }
       
       
      See Also:
    • PACKAGE_CLASS

      public static final int PACKAGE_CLASS
      PACKAGE_CLASS represents the package or class which has been referenced in the `@see`, `@link`, `@linkplain` or `@value` javadoc tags. In the javadoc tree it shall be a child of REFERENCE.
      IMPORTANT: Constructs like package.Class.NestedClassAtDepth1.NestedClassAtDepth2#member are recognized by the javadoc tool from oracle, and no assumptions like, package names wouldn't consist of uppercase characters or class names begin with an uppercase character, are made. Also, the reference in a javadoc tag can consist just a package name or a simple class name or even a full class name. Thus, PACKAGE_CLASS can represent a package name or a simple class name or a full class name i.e. checkstyle doesn't resolve references at present.

      Example:

      @see org.apache.utils.Lists.Comparator#compare(Object)
      Tree:
       
       JAVADOC_TAG -&gt JAVADOC_TAG
        |--SEE_LITERAL -&gt @see
        |--WS -&gt
        |--REFERENCE -&gt REFERENCE
        |   |--PACKAGE_CLASS -&gt org.apache.utils.Lists.Comparator
        |   |--HASH -&gt #
        |   |--MEMBER -&gt compare
        |   `--PARAMETERS -&gt PARAMETERS
        |       |--LEFT_BRACE -&gt (
        |       |--ARGUMENT -&gt Object
        |       `--RIGHT_BRACE -&gt )
        |--NEWLINE -&gt \r\n
        `--WS -&gt
       
       
      See Also:
    • HASH

      public static final int HASH
      Hash character in REFERENCE. Hash character is used before specifying a class member.

      Example:

      @see org.apache.utils.Lists.Comparator#compare(Object)
      Tree:
       
       JAVADOC_TAG -&gt JAVADOC_TAG
        |--SEE_LITERAL -&gt @see
        |--WS -&gt
        |--REFERENCE -&gt REFERENCE
            |--PACKAGE_CLASS -&gt org.apache.utils.Lists.Comparator
            |--HASH -&gt #
            |--MEMBER -&gt compare
            `--PARAMETERS -&gt PARAMETERS
                |--LEFT_BRACE -&gt (
                |--ARGUMENT -&gt Object
                `--RIGHT_BRACE -&gt )
       
       
      See Also:
    • MEMBER

      public static final int MEMBER
      A class member in REFERENCE. Class member is specified after HASH symbol.

      Example:

      @see org.apache.utils.Lists.Comparator#compare(Object)
      Tree:
       
       JAVADOC_TAG -> JAVADOC_TAG
        |--SEE_LITERAL -> @see
        |--WS ->
        |--REFERENCE -> REFERENCE
            |--PACKAGE_CLASS -> org.apache.utils.Lists.Comparator
            |--HASH -> #
            |--MEMBER -> compare
            `--PARAMETERS -> PARAMETERS
                |--LEFT_BRACE -> (
                |--ARGUMENT -> Object
                `--RIGHT_BRACE -> )
       
       
      See Also:
    • LEFT_BRACE

      public static final int LEFT_BRACE
      Left brace in PARAMETERS part of REFERENCE.

      Example:

      @see #method(Processor, String)
      Tree:
       JAVADOC_TAG -&gt JAVADOC_TAG
               |--SEE_LITERAL -&gt @see
               |--WS -&gt
               |--REFERENCE -&gt REFERENCE
               |   |--HASH -&gt #
               |   |--MEMBER -&gt method
               |   `--PARAMETERS -&gt PARAMETERS
               |       |--LEFT_BRACE -&gt (
               |       |--ARGUMENT -&gt Processor
               |       |--COMMA -&gt ,
               |       |--WS -&gt
               |       |--ARGUMENT -&gt String
               |       `--RIGHT_BRACE -&gt )
       
       
      See Also:
    • RIGHT_BRACE

      public static final int RIGHT_BRACE
      Right brace in PARAMETERS part of REFERENCE.

      Example:

      @see #method(Processor, String)
      Tree:
       JAVADOC_TAG -&gt JAVADOC_TAG
               |--SEE_LITERAL -&gt @see
               |--WS -&gt
               |--REFERENCE -&gt REFERENCE
               |   |--HASH -&gt #
               |   |--MEMBER -&gt method
               |   `--PARAMETERS -&gt PARAMETERS
               |       |--LEFT_BRACE -&gt (
               |       |--ARGUMENT -&gt Processor
               |       |--COMMA -&gt ,
               |       |--WS -&gt
               |       |--ARGUMENT -&gt String
               |       `--RIGHT_BRACE -&gt )
       
       
      See Also:
    • ARGUMENT

      public static final int ARGUMENT
      Argument definition in PARAMETERS part of REFERENCE.

      Example:

      @see #method(Processor, String)
      Tree:
       JAVADOC_TAG -&gt JAVADOC_TAG
               |--SEE_LITERAL -&gt @see
               |--WS -&gt
               |--REFERENCE -&gt REFERENCE
               |   |--HASH -&gt #
               |   |--MEMBER -&gt method
               |   `--PARAMETERS -&gt PARAMETERS
               |       |--LEFT_BRACE -&gt (
               |       |--ARGUMENT -&gt Processor
               |       |--COMMA -&gt ,
               |       |--WS -&gt
               |       |--ARGUMENT -&gt String
               |       `--RIGHT_BRACE -&gt )
               `--NEWLINE -&gt \n
       
       
      See Also:
    • COMMA

      public static final int COMMA
      Comma separator between parameters in PARAMETERS part of REFERENCE.

      Example:

      @see #method(Processor, String)
      Tree:
       
       JAVADOC_TAG -&gt JAVADOC_TAG
        |--SEE_LITERAL -&gt @see
        |--WS -&gt
        |--REFERENCE -&gt REFERENCE
        |   |--HASH -&gt #
        |   |--MEMBER -&gt method
        |   `--PARAMETERS -&gt PARAMETERS
        |       |--LEFT_BRACE -&gt (
        |       |--ARGUMENT -&gt Processor
        |       |--COMMA -&gt ,
        |       |--WS -&gt
        |       |--ARGUMENT -&gt String
        |       `--RIGHT_BRACE -&gt )
        |--NEWLINE -&gt \r\n
        `--WS -&gt
       
       
      See Also:
    • STRING

      public static final int STRING
      Quoted text. One of possible @see tag arguments.

      Example:

      @see "Spring Framework"
      Tree:
       
       JAVADOC_TAG -> JAVADOC_TAG
        |--SEE_LITERAL -> @see
        |--WS ->
        |--STRING -> "Spring Framework"
        |--NEWLINE -> \r\n
        `--WS ->
       
       
      See Also:
    • CLASS_NAME

      public static final int CLASS_NAME
      Exception class name. First argument in @throws and @exception Javadoc tags.

      Example:

      @throws IOException connection problems
      Tree:
       
       JAVADOC_TAG -> JAVADOC_TAG
        |--THROWS_LITERAL -> @throws
        |--WS ->
        |--CLASS_NAME -> IOException
        |--WS ->
        `--DESCRIPTION -> DESCRIPTION
            |--TEXT -> connection problems
            |--NEWLINE -> \r\n
            `--TEXT ->
       
       
      See Also:
    • PARAMETER_NAME

      public static final int PARAMETER_NAME
      First argument in @param Javadoc tag.

      Example:

      @param T The bar.
      Tree:
       
         --JAVADOC_TAG -> JAVADOC_TAG
            |--PARAM_LITERAL -> @param
            |--WS ->
            |--PARAMETER_NAME -> T
            |--WS ->
            `--DESCRIPTION -> DESCRIPTION
                |--TEXT -> The bar.
                |--NEWLINE -> \r\n
                `--TEXT ->
       
       
      See Also:
    • LITERAL_EXCLUDE

      public static final int LITERAL_EXCLUDE
      'exclude' literal. One of three possible @serial tag arguments.

      Example:

      @serial exclude
      Tree:
       
         JAVADOC_TAG -> JAVADOC_TAG
          |--SERIAL_LITERAL -> @serial
          |--WS ->
          `--DESCRIPTION -> DESCRIPTION
              |--TEXT -> serialized company name
              |--NEWLINE -> \r\n
              `--TEXT ->
       
       
      See Also:
    • LITERAL_INCLUDE

      public static final int LITERAL_INCLUDE
      'include' literal. One of three possible @serial tag arguments.

      Example:

      @serial include
      Tree:
       
       JAVADOC_TAG -> JAVADOC_TAG
        |--SERIAL_LITERAL -> @serial
        |--WS ->
        |--LITERAL_INCLUDE -> include
        |--NEWLINE -> \r\n
        `--WS ->
       
       
      See Also:
    • FIELD_NAME

      public static final int FIELD_NAME
      Field name. First argument of @serialField Javadoc tag.

      Example:

      @serialField counter Integer objects counter
      Tree:
       
         --JAVADOC_TAG -> JAVADOC_TAG
         |--SERIAL_FIELD_LITERAL -> @serialField
         |--WS ->
         |--LITERAL_INCLUDE -> include
         |--NEWLINE -> \r\n
         `--WS ->
          `--DESCRIPTION -> DESCRIPTION
              |--TEXT -> objects counter
              |--NEWLINE -> \r\n
              `--TEXT ->
       
      See Also:
    • FIELD_TYPE

      public static final int FIELD_TYPE
      Field type. Second argument of @serialField Javadoc tag.

      Example:

      @serialField counter Integer objects counter
      Tree:
       
         --JAVADOC_TAG -> JAVADOC_TAG
            |--SERIAL_FIELD_LITERAL -> @serialField
            |--WS ->
            |--FIELD_NAME -> counter
            |--WS ->
            |--FIELD_TYPE -> Integer
            |--WS ->
            `--DESCRIPTION -> DESCRIPTION
                |--TEXT -> objects counter
                |--NEWLINE -> \r\n
                `--TEXT ->
       
       
      See Also:
    • HTML_TAG_NAME

      public static final int HTML_TAG_NAME
      Identifier inside HTML tag: tag name or attribute name.
      See Also:
    • START

      public static final int START
      Start html tag component: '<'.
      See Also:
    • SLASH

      public static final int SLASH
      Slash html tag component: '/'.
      See Also:
    • END

      public static final int END
      End html tag component: '>'.
      See Also:
    • SLASH_END

      public static final int SLASH_END
      Slash close html tag component: '/>'.
      See Also:
    • EQUALS

      public static final int EQUALS
      Equals html tag component: '='.
      See Also:
    • ATTR_VALUE

      public static final int ATTR_VALUE
      Attribute value HTML tag component.

      Example:

      
       &lt;tag_name attr_name="attr_value">Content&lt;/tag_name&gt;
       

      Tree:

      
       JAVADOC -> JAVADOC
        |--NEWLINE -> \r\n
        |--LEADING_ASTERISK ->  *
        |--TEXT ->
        |--HTML_ELEMENT -> HTML_ELEMENT
        |   `--HTML_TAG -> HTML_TAG
        |       |--HTML_ELEMENT_START -> HTML_ELEMENT_START
        |       |   |--START -> <
        |       |   |--HTML_TAG_NAME -> tag_name
        |       |   |--WS ->
        |       |   |--ATTRIBUTE -> ATTRIBUTE
        |       |   |   |--HTML_TAG_NAME -> attr_name
        |       |   |   |--EQUALS -> =
        |       |   |   `--ATTR_VALUE -> "attr_value"
        |       |   `--END -> >
        |       |--TEXT -> Content
        |       `--HTML_ELEMENT_END -> HTML_ELEMENT_END
        |           |--START -> <
        |           |--SLASH -> /
        |           |--HTML_TAG_NAME -> tag_name
        |           `--END -> >
       
      See Also:
    • P_HTML_TAG_NAME

      public static final int P_HTML_TAG_NAME
      Paragraph tag name.

      Example:

      <p>Paragraph Tag.</p>
      Tree:
       
            `--HTML_ELEMENT -> HTML_ELEMENT
                `--PARAGRAPH -> PARAGRAPH
                    |--P_TAG_START -> P_TAG_START
                    |   |--START -> <
                    |   |--P_HTML_TAG_NAME -> p
                    |   `--END -> >
                    |--TEXT -> Paragraph Tag.
                    `--P_TAG_END -> P_TAG_END
                        |--START -> <
                        |--SLASH -> /
                        |--P_HTML_TAG_NAME -> p
                        `--END -> >
       
       
      See Also:
    • LI_HTML_TAG_NAME

      public static final int LI_HTML_TAG_NAME
      List item tag name.

      Example:

      
        <ol>
          <li>banana</li>
        </ol>
        
      Tree:
        
         HTML_ELEMENT -> HTML_ELEMENT
          `--HTML_TAG -> HTML_TAG
             |--HTML_ELEMENT_START -> HTML_ELEMENT_START
             |   |--START -> <
             |   |--HTML_TAG_NAME -> ol
             |   `--END -> >
             |--NEWLINE -> \r\n
             |--LEADING_ASTERISK ->  *
             |--TEXT ->
             |--HTML_ELEMENT -> HTML_ELEMENT
             |   `--LI -> LI
             |       |--LI_TAG_START -> LI_TAG_START
             |       |   |--START -> <
             |       |   |--LI_HTML_TAG_NAME -> li
             |       |   `--END -> >
             |       |--TEXT -> banana
             |       `--LI_TAG_END -> LI_TAG_END
             |           |--START -> <
             |           |--SLASH -> /
             |           |--LI_HTML_TAG_NAME -> li
             |           `--END -> >
             |--NEWLINE -> \r\n
             |--LEADING_ASTERISK ->  *
             |--TEXT ->
             `--HTML_ELEMENT_END -> HTML_ELEMENT_END
                 |--START -> <
                 |--SLASH -> /
                 |--HTML_TAG_NAME -> ol
                 `--END -> >
        
        
      See Also:
    • TR_HTML_TAG_NAME

      public static final int TR_HTML_TAG_NAME
      Table row tag name.

      Example:

      
        <table>
           <tr>Table Row</tr>
        </table>
        
      Tree:
        
        HTML_ELEMENT -> HTML_ELEMENT
         `--HTML_TAG -> HTML_TAG
             |--HTML_ELEMENT_START -> HTML_ELEMENT_START
             |   |--START -> <
             |   |--HTML_TAG_NAME -> table
             |   `--END -> >
             |--NEWLINE -> \r\n
             |--LEADING_ASTERISK ->  *
             |--TEXT ->
             |--HTML_ELEMENT -> HTML_ELEMENT
             |   `--TR -> TR
             |       |--TR_TAG_START -> TR_TAG_START
             |       |   |--START -> <
             |       |   |--TR_HTML_TAG_NAME -> tr
             |       |   `--END -> >
             |       |--TEXT -> Table Row
             |       `--TR_TAG_END -> TR_TAG_END
             |           |--START -> <
             |           |--SLASH -> /
             |           |--TR_HTML_TAG_NAME -> tr
             |           `--END -> >
             |--NEWLINE -> \r\n
             |--LEADING_ASTERISK ->  *
             |--TEXT ->
             `--HTML_ELEMENT_END -> HTML_ELEMENT_END
                 |--START -> <
                 |--SLASH -> /
                 |--HTML_TAG_NAME -> table
                 `--END -> >
        
        
      See Also:
    • TD_HTML_TAG_NAME

      public static final int TD_HTML_TAG_NAME
      Table cell tag name.

      Example:

      
        <tr>
           <td>Cell 1</td>
        </tr>
        
      Tree:
        
        HTML_ELEMENT -> HTML_ELEMENT
         `--TR -> TR
             |--TR_TAG_START -> TR_TAG_START
             |   |--START -> <
             |   |--TR_HTML_TAG_NAME -> tr
             |   `--END -> >
             |--NEWLINE -> \r\n
             |--LEADING_ASTERISK ->  *
             |--TEXT ->
             |--TD -> TD
             |   |--TD_TAG_START -> TD_TAG_START
             |   |   |--START -> <
             |   |   |--TD_HTML_TAG_NAME -> td
             |   |   `--END -> >
             |   |--TEXT -> Cell 1
             |   `--TD_TAG_END -> TD_TAG_END
             |       |--START -> <
             |       |--SLASH -> /
             |       |--TD_HTML_TAG_NAME -> td
             |       `--END -> >
             |--NEWLINE -> \r\n
             |--LEADING_ASTERISK ->  *
             |--TEXT ->
             `--TR_TAG_END -> TR_TAG_END
                 |--START -> <
                 |--SLASH -> /
                 |--TR_HTML_TAG_NAME -> tr
                 `--END -> >
        
        
      See Also:
    • TH_HTML_TAG_NAME

      public static final int TH_HTML_TAG_NAME
      Table header cell tag name.
      See Also:
    • BODY_HTML_TAG_NAME

      public static final int BODY_HTML_TAG_NAME
      Body tag name.
      See Also:
    • COLGROUP_HTML_TAG_NAME

      public static final int COLGROUP_HTML_TAG_NAME
      Colgroup tag name.

      Example:

      <colgroup><col span="2"></colgroup>
      Tree:
       
         |--HTML_ELEMENT -> HTML_ELEMENT
         |   `--COLGROUP -> COLGROUP
         |       |--COLGROUP_TAG_START -> COLGROUP_TAG_START
         |       |   |--START -> <
         |       |   |--COLGROUP_HTML_TAG_NAME -> colgroup
         |       |   `--END -> >
         |       |--SINGLETON_ELEMENT -> SINGLETON_ELEMENT
         |       |   `--COL_TAG -> COL_TAG
         |       |       |--START -> <
         |       |       |--COL_HTML_TAG_NAME -> col
         |       |       |--WS ->
         |       |       |--ATTRIBUTE -> ATTRIBUTE
         |       |       |   |--HTML_TAG_NAME -> span
         |       |       |   |--EQUALS -> =
         |       |       |   `--ATTR_VALUE -> "2"
         |       |       `--END -> >
         |       `--COLGROUP_TAG_END -> COLGROUP_TAG_END
         |           |--START -> <
         |           |--SLASH -> /
         |           |--COLGROUP_HTML_TAG_NAME -> colgroup
         |           `--END -> >
         |--TEXT ->
         `--EOF -> <EOF>
       
       
      See Also:
    • DD_HTML_TAG_NAME

      public static final int DD_HTML_TAG_NAME
      Description of a term tag name.

      Example:

      
       <dl>
           <dt>Java</dt>
           <dd>A high-level programming language.</dd>
       </dl>
       
      Tree:
       
        HTML_ELEMENT -> HTML_ELEMENT
         `--HTML_TAG -> HTML_TAG
             |--HTML_ELEMENT_START -> HTML_ELEMENT_START
             |   |--START -> <
             |   |--HTML_TAG_NAME -> dl
             |   `--END -> >
             |--NEWLINE -> \r\n
             |--LEADING_ASTERISK ->  *
             |--TEXT ->
             |--HTML_ELEMENT -> HTML_ELEMENT
             |   `--DT -> DT
             |       |--DT_TAG_START -> DT_TAG_START
             |       |   |--START -> <
             |       |   |--DT_HTML_TAG_NAME -> dt
             |       |   `--END -> >
             |       |--TEXT -> Java
             |       `--DT_TAG_END -> DT_TAG_END
             |           |--START -> <
             |           |--SLASH -> /
             |           |--DT_HTML_TAG_NAME -> dt
             |           `--END -> >
             |--NEWLINE -> \r\n
             |--LEADING_ASTERISK ->  *
             |--TEXT ->
             |--HTML_ELEMENT -> HTML_ELEMENT
             |   `--DD -> DD
             |       |--DD_TAG_START -> DD_TAG_START
             |       |   |--START -> <
             |       |   |--DD_HTML_TAG_NAME -> dd
             |       |   `--END -> >
             |       |--TEXT -> A high-level programming language.
             |       `--DD_TAG_END -> DD_TAG_END
             |           |--START -> <
             |           |--SLASH -> /
             |           |--DD_HTML_TAG_NAME -> dd
             |           `--END -> >
             |--NEWLINE -> \r\n
             |--LEADING_ASTERISK ->  *
             |--TEXT ->
             `--HTML_ELEMENT_END -> HTML_ELEMENT_END
                 |--START -> <
                 |--SLASH -> /
                 |--HTML_TAG_NAME -> dl
                 `--END -> >
       
       
      See Also:
    • DT_HTML_TAG_NAME

      public static final int DT_HTML_TAG_NAME
      Description term tag name.
      See Also:
    • HEAD_HTML_TAG_NAME

      public static final int HEAD_HTML_TAG_NAME
      Head tag name.
      See Also:
    • HTML_HTML_TAG_NAME

      public static final int HTML_HTML_TAG_NAME
      Html tag name.
      See Also:
    • OPTION_HTML_TAG_NAME

      public static final int OPTION_HTML_TAG_NAME
      Option tag name.
      See Also:
    • TBODY_HTML_TAG_NAME

      public static final int TBODY_HTML_TAG_NAME
      Table body tag name.
      See Also:
    • TFOOT_HTML_TAG_NAME

      public static final int TFOOT_HTML_TAG_NAME
      Table foot tag name.
      See Also:
    • THEAD_HTML_TAG_NAME

      public static final int THEAD_HTML_TAG_NAME
      Table head tag name.
      See Also:
    • OPTGROUP_HTML_TAG_NAME

      public static final int OPTGROUP_HTML_TAG_NAME
      `optgroup` tag name.
      See Also:
    • RB_HTML_TAG_NAME

      public static final int RB_HTML_TAG_NAME
      `rb` tag name.
      See Also:
    • RT_HTML_TAG_NAME

      public static final int RT_HTML_TAG_NAME
      `rt` tag name.
      See Also:
    • RTC_HTML_TAG_NAME

      public static final int RTC_HTML_TAG_NAME
      `rtc` tag name.
      See Also:
    • RP_HTML_TAG_NAME

      public static final int RP_HTML_TAG_NAME
      `rp` tag name.
      See Also:
    • AREA_HTML_TAG_NAME

      public static final int AREA_HTML_TAG_NAME
      Area tag name.

      Example:

      &lt area shape="rect" &gt
      Tree:
       
         JAVADOC -> JAVADOC
              |--NEWLINE -> \n
              |--LEADING_ASTERISK ->  *
              |--TEXT ->
              |--HTML_ELEMENT -> HTML_ELEMENT
              |   `--SINGLETON_ELEMENT -> SINGLETON_ELEMENT
              |       `--AREA_TAG -> AREA_TAG
              |           |--START -> <
              |           |--AREA_HTML_TAG_NAME -> area
              |           |--WS ->
              |           |--ATTRIBUTE -> ATTRIBUTE
              |           |   |--HTML_TAG_NAME -> shape
              |           |   |--EQUALS -> =
              |           |   `--ATTR_VALUE -> "rect"
              |           `--END -> >
              |--TEXT ->
              |--NEWLINE -> \n
              |--TEXT ->
       
       
      See Also:
    • BASE_HTML_TAG_NAME

      public static final int BASE_HTML_TAG_NAME
      Base tag name.
      See Also:
    • BASEFONT_HTML_TAG_NAME

      public static final int BASEFONT_HTML_TAG_NAME
      Basefont tag name.
      See Also:
    • BR_HTML_TAG_NAME

      public static final int BR_HTML_TAG_NAME
      Br tag name.

      Example:

      text before break < br > text after break
      Tree:
       
         JAVADOC ->; JAVADOC
              |--NEWLINE ->; \r\n
              |--LEADING_ASTERISK ->;  *
              |--TEXT ->;  text before break
              |--HTML_ELEMENT ->; HTML_ELEMENT
              |   `--SINGLETON_ELEMENT ->; SINGLETON_ELEMENT
              |       `--BR_TAG ->; BR_TAG
              |           |--START ->; -<;
              |           |--BR_HTML_TAG_NAME ->; br
              |           `--END ->; >;
              |--TEXT ->;  text after break
              |--NEWLINE ->; \r\n
              |--TEXT ->;
       
       
      See Also:
    • COL_HTML_TAG_NAME

      public static final int COL_HTML_TAG_NAME
      Col tag name.
      See Also:
    • FRAME_HTML_TAG_NAME

      public static final int FRAME_HTML_TAG_NAME
      Frame tag name.
      See Also:
    • HR_HTML_TAG_NAME

      public static final int HR_HTML_TAG_NAME
      Hr tag name.

      Example:

      text before horizontal rule < hr > text after horizontal rule
      Tree:
       
        |--TEXT ->  text before horizontal rule
        |--HTML_ELEMENT -> HTML_ELEMENT
        |   `--SINGLETON_ELEMENT -> SINGLETON_ELEMENT
        |       `--HR_TAG -> HR_TAG
        |           |--START -> <
        |           |--HR_HTML_TAG_NAME -> hr
        |           `--END -> >
        |--TEXT ->  text after horizontal rule
        |--NEWLINE -> \r\n
       
       
      See Also:
    • IMG_HTML_TAG_NAME

      public static final int IMG_HTML_TAG_NAME
      Img tag name.
      See Also:
    • INPUT_HTML_TAG_NAME

      public static final int INPUT_HTML_TAG_NAME
      Input tag name.

      Example:

      <input name="Name" type="text" placeholder="Enter your name"/>
      Tree:
        
          HTML_ELEMENT -> HTML_ELEMENT
             `--SINGLETON_ELEMENT -> SINGLETON_ELEMENT
               `--INPUT_TAG -> INPUT_TAG
                   |--START -> <
                   |--INPUT_HTML_TAG_NAME -> input
                   |--WS ->
                   |--ATTRIBUTE -> ATTRIBUTE
                   |   |--HTML_TAG_NAME -> name
                   |   |--EQUALS -> =
                   |   `--ATTR_VALUE -> "Name"
                   |--WS ->
                   |--ATTRIBUTE -> ATTRIBUTE
                   |   |--HTML_TAG_NAME -> type
                   |   |--EQUALS -> =
                   |   `--ATTR_VALUE -> "text"
                   |--WS ->
                   |--ATTRIBUTE -> ATTRIBUTE
                   |   |--HTML_TAG_NAME -> placeholder
                   |   |--EQUALS -> =
                   |   `--ATTR_VALUE -> "Enter your name"
                    `--SLASH_END -> />
        
        
      See Also:
    • ISINDEX_HTML_TAG_NAME

      public static final int ISINDEX_HTML_TAG_NAME
      Isindex tag name.
      See Also:
    • META_HTML_TAG_NAME

      public static final int META_HTML_TAG_NAME
      Meta tag name.
      See Also:
    • PARAM_HTML_TAG_NAME

      public static final int PARAM_HTML_TAG_NAME
      Param tag name.
      See Also:
    • EMBED_HTML_TAG_NAME

      public static final int EMBED_HTML_TAG_NAME
      "embed" tag name.
      See Also:
    • KEYGEN_HTML_TAG_NAME

      public static final int KEYGEN_HTML_TAG_NAME
      "keygen" tag name.
      See Also:
    • SOURCE_HTML_TAG_NAME

      public static final int SOURCE_HTML_TAG_NAME
      "source" tag name.
      See Also:
    • TRACK_HTML_TAG_NAME

      public static final int TRACK_HTML_TAG_NAME
      "track" tag name.
      See Also:
    • WBR_HTML_TAG_NAME

      public static final int WBR_HTML_TAG_NAME
      "wbr" tag name.
      See Also:
    • HTML_COMMENT_START

      public static final int HTML_COMMENT_START
      HTML comment start symbol '<!--'.

      Example:

      
       &lt;!--
       This is an HTML multi-line comment:
       This is another comment
       --&gt;
       
      Tree:
       
       HTML_COMMENT -> HTML_COMMENT
          |--HTML_COMMENT_START -> <!--
          |--NEWLINE -> \n
          |--LEADING_ASTERISK ->  *
          |--TEXT ->  This is an HTML multi-line comment:
          |--NEWLINE -> \n
          |--LEADING_ASTERISK ->  *
          |--TEXT ->  This is another comment
          |--NEWLINE -> \n
          |--LEADING_ASTERISK ->  *
          |--TEXT ->
          `--HTML_COMMENT_END -> -->
       
       
      See Also:
    • HTML_COMMENT_END

      public static final int HTML_COMMENT_END
      HTML comment end symbol '-->'.

      Example:

      
       &lt;!--
       This is an HTML multi-line comment:
       This is another comment
       --&gt;
       
      Tree:
       
       HTML_COMMENT -> HTML_COMMENT
          |--HTML_COMMENT_START -> <!--
          |--NEWLINE -> \n
          |--LEADING_ASTERISK ->  *
          |--TEXT ->  This is an HTML multi-line comment:
          |--NEWLINE -> \n
          |--LEADING_ASTERISK ->  *
          |--TEXT ->  This is another comment
          |--NEWLINE -> \n
          |--LEADING_ASTERISK ->  *
          |--TEXT ->
          `--HTML_COMMENT_END -> -->
       
       
      See Also:
    • LEADING_ASTERISK

      public static final int LEADING_ASTERISK
      Leading asterisk.
      See Also:
    • NEWLINE

      public static final int NEWLINE
      Newline symbol - '\n'.
      See Also:
    • CHAR

      public static final int CHAR
      Any other symbol.
      See Also:
    • WS

      public static final int WS
      Whitespace or tab ('\t') symbol.
      See Also:
    • EOF

      public static final int EOF
      End Of File symbol. Copied from Recognizer.EOF to avoid ANTLR dependency in API.
      See Also:
    • RULE_TYPES_OFFSET

      private static final int RULE_TYPES_OFFSET
      Rule types offset. RULE_TYPES_OFFSET constant is used to split lexer tokens types and parser rules types. We need unique numbers for all tokens, ANTLR do not need this and that is why these types are mixed by used values. All values we can take a look at target/generated-sources/antlr/com/puppycrawl/tools/checkstyle/grammar/javadoc/JavadocParser.java For example: LEADING_ASTERISK=1 and RULE_htmlElement = 1. RULE_TYPES_OFFSET required to shift parser rules, to let them not overlap with types that have prefix "RULE_".
      See Also:
    • JAVADOC

      public static final int JAVADOC
      Root node of any Javadoc comment. Last child is always EOF.

      Tree for example:

      
       JAVADOC -> JAVADOC
        |--NEWLINE -> \n
        |--LEADING_ASTERISK ->  *
        |--WS ->
        |--JAVADOC_TAG -> JAVADOC_TAG
        |   |--PARAM_LITERAL -> @param
        |   |--WS ->
        |   |--PARAMETER_NAME -> T
        |   |--WS ->
        |   `--DESCRIPTION -> DESCRIPTION
        |       |--TEXT -> The bar.
        |       |--NEWLINE -> \n
        |       `--TEXT ->
        `--EOF -> <EOF>
       
      See Also:
    • JAVADOC_TAG

      public static final int JAVADOC_TAG
      Javadoc tag.

      Type of Javadoc tag is resolved by literal node that is first child of this node.

      As literal could be:

      Example

      &#64;param T The bar.
      Tree
      
       JAVADOC_TAG -> JAVADOC_TAG
        |--PARAM_LITERAL -> @param
        |--WS ->
        |--PARAMETER_NAME -> T
        |--WS ->
        `--DESCRIPTION -> DESCRIPTION
            |--TEXT -> The bar.
            |--NEWLINE -> \r\n
            `--TEXT ->
       
      See Also:
    • JAVADOC_INLINE_TAG

      public static final int JAVADOC_INLINE_TAG
      Javadoc inline tag.

      Type of Javadoc inline tag is resolved by literal node that is second child of this node. First child is always JAVADOC_INLINE_TAG_START and last node is always JAVADOC_INLINE_TAG_END.

      As literal could be:

      Example:

      {@link String}
      Tree:
       
        JAVADOC_INLINE_TAG -> JAVADOC_INLINE_TAG
            |--JAVADOC_INLINE_TAG_START -> {
            |--LINK_LITERAL -> @link
            |--WS ->
            |--REFERENCE -> REFERENCE
                `--PACKAGE_CLASS -> String
            `--JAVADOC_INLINE_TAG_END -> }
       
       
      See Also:
    • REFERENCE

      public static final int REFERENCE
      Parameter of the Javadoc tags listed below.
      See Also:
    • PARAMETERS

      public static final int PARAMETERS
      Parameters part in REFERENCE. It is used to specify parameters for method. Always contains LEFT_BRACE as first child and RIGHT_BRACE as last child. Each parameter is represented by ARGUMENT node. Arguments in braces are separated by COMMA (and optional WS).

      Example:

      @see #method(Processor, String)
      Tree:
       
            JAVADOC_TAG -> JAVADOC_TAG
                |--SEE_LITERAL -> @see
                |--WS ->
                |--REFERENCE -> REFERENCE
                    |--HASH -> #
                    |--MEMBER -> method
                    `--PARAMETERS -> PARAMETERS
                        |--LEFT_BRACE -> (
                        |--ARGUMENT -> Processor
                        |--COMMA -> ,
                        |--WS ->
                        |--ARGUMENT -> String
                        `--RIGHT_BRACE -> )
       
       
      See Also:
    • DESCRIPTION

      public static final int DESCRIPTION
      Description node. It contains:

      It is argument for many Javadoc tags and inline tags.

      Example:

      @throws IOException if <b>connection</b> problems occur
      Tree:
       
         --JAVADOC_TAG -> JAVADOC_TAG
            |--THROWS_LITERAL -> @throws
            |--WS ->
            |--CLASS_NAME -> IOException
            |--WS ->
            `--DESCRIPTION -> DESCRIPTION
                |--TEXT -> if
                |--HTML_ELEMENT -> HTML_ELEMENT
                |   `--HTML_TAG -> HTML_TAG
                |       |--HTML_ELEMENT_START -> HTML_ELEMENT_START
                |       |   |--START -> <
                |       |   |--HTML_TAG_NAME -> b
                |       |   `--END -> >
                |       |--TEXT -> connection
                |       `--HTML_ELEMENT_END -> HTML_ELEMENT_END
                |           |--START -> <
                |           |--SLASH -> /
                |           |--HTML_TAG_NAME -> b
                |           `--END -> >
                |--TEXT ->  problems occur
       
       
      See Also:
    • HTML_ELEMENT

      public static final int HTML_ELEMENT
      Parent node for all html tags.
      See Also:
    • HTML_ELEMENT_START

      public static final int HTML_ELEMENT_START
      Start html tag: <XXXX>.
      See Also:
    • HTML_ELEMENT_END

      public static final int HTML_ELEMENT_END
      End html tag: <XXXX>.
      See Also:
    • HTML_TAG

      public static final int HTML_TAG
      Non-special HTML tag.
      See Also:
    • ATTRIBUTE

      public static final int ATTRIBUTE
      Html tag attribute. Parent node for: HTML_TAG_IDENT, EQUALS, ATTR_VALUE.

      Example

      <p class="highlight">Sample text</p>
      Tree
       
         HTML_ELEMENT -> HTML_ELEMENT
            `--PARAGRAPH -> PARAGRAPH
                |--P_TAG_START -> P_TAG_START
                |   |--START -> <
                |   |--P_HTML_TAG_NAME -> p
                |   |--WS ->
                |   |--ATTRIBUTE -> ATTRIBUTE
                |   |   |--HTML_TAG_NAME -> class
                |   |   |--EQUALS -> =
                |   |   `--ATTR_VALUE -> "highlight"
                |   `--END -> >
                |--TEXT -> Sample text
                `--P_TAG_END -> P_TAG_END
                    |--START -> <
                    |--SLASH -> /
                    |--P_HTML_TAG_NAME -> p
                    `--END -> >
       
       
      See Also:
    • PARAGRAPH

      public static final int PARAGRAPH
      Paragraph html tag.

      Example:

      <p>Sample text</p>
      Tree:
       
         `--JAVADOC -> JAVADOC
             |--NEWLINE -> \r\n
             |--LEADING_ASTERISK ->  *
             |--TEXT ->
             |--HTML_ELEMENT -> HTML_ELEMENT
             |   `--PARAGRAPH -> PARAGRAPH
             |       |--P_TAG_START -> P_TAG_START
             |       |   |--START -> <
             |       |   |--P_HTML_TAG_NAME -> p
             |       |   `--END -> >
             |       |--TEXT -> Sample text
             |       `--P_TAG_END -> P_TAG_END
             |           |--START -> <
             |           |--SLASH -> /
             |           |--P_HTML_TAG_NAME -> p
             |           `--END -> >
             |--NEWLINE -> \r\n
             |--TEXT ->
       
       
      See Also:
    • P_TAG_START

      public static final int P_TAG_START
      Start paragraph tag.
      See Also:
    • P_TAG_END

      public static final int P_TAG_END
      End paragraph tag.
      See Also:
    • LI

      public static final int LI
      List items html tag.

      Example:

      
       <ul>
            <li>Item 1</li>
       </ul>
       
      Tree:
       
         --JAVADOC -> JAVADOC
           |--NEWLINE -> \n
           |--LEADING_ASTERISK ->  *
           |--TEXT ->
           |--HTML_ELEMENT -> HTML_ELEMENT
           |   `--HTML_TAG -> HTML_TAG
           |       |--HTML_ELEMENT_START -> HTML_ELEMENT_START
           |       |   |--START -> <
           |       |   |--HTML_TAG_NAME -> ul
           |       |   `--END -> >
           |       |--NEWLINE -> \n
           |       |--LEADING_ASTERISK ->  *
           |       |--TEXT ->
           |       |--HTML_ELEMENT -> HTML_ELEMENT
           |       |   `--LI -> LI
           |       |       |--LI_TAG_START -> LI_TAG_START
           |       |       |   |--START -> <
           |       |       |   |--LI_HTML_TAG_NAME -> li
           |       |       |   `--END -> >
           |       |       |--TEXT -> Item 1
           |       |       `--LI_TAG_END -> LI_TAG_END
           |       |           |--START -> <
           |       |           |--SLASH -> /
           |       |           |--LI_HTML_TAG_NAME -> li
           |       |           `--END -> >
           |       |--NEWLINE -> \n
           |       |--LEADING_ASTERISK ->  *
           |       |--TEXT ->
           |       `--HTML_ELEMENT_END -> HTML_ELEMENT_END
           |           |--START -> <
           |           |--SLASH -> /
           |           |--HTML_TAG_NAME -> ul
           |           `--END -> >
           |--NEWLINE -> \n
           |--TEXT ->
       
       
      See Also:
    • LI_TAG_START

      public static final int LI_TAG_START
      Start list item tag.
      See Also:
    • LI_TAG_END

      public static final int LI_TAG_END
      End list item tag.
      See Also:
    • TR

      public static final int TR
      Table row html tag.

      Example:

      <tr></tr>
      Tree:
       
         JAVADOC -> JAVADOC
              |--NEWLINE -> \r\n
              |--LEADING_ASTERISK ->  *
              |--TEXT ->
              |--HTML_ELEMENT -> HTML_ELEMENT
              |   `--TR -> TR
              |       |--TR_TAG_START -> TR_TAG_START
              |       |   |--START -> <
              |       |   |--TR_HTML_TAG_NAME -> tr
              |       |   `--END -> >
              |       `--TR_TAG_END -> TR_TAG_END
              |           |--START -> <
              |           |--SLASH -> /
              |           |--TR_HTML_TAG_NAME -> tr
              |           `--END -> >
              |--NEWLINE -> \r\n
              |--TEXT ->
       
       
      See Also:
    • TR_TAG_START

      public static final int TR_TAG_START
      Start table row tag.
      See Also:
    • TR_TAG_END

      public static final int TR_TAG_END
      End table row tag.
      See Also:
    • TD

      public static final int TD
      Table cell HTML tag.

      Example:

      <td>Cell Content</td>
      Tree:
       
       HTML_ELEMENT -> HTML_ELEMENT
          `--TD -> TD
              |--TD_TAG_START -> TD_TAG_START
              |   |--START -> <
              |   |--TD_HTML_TAG_NAME -> td
              |   `--END -> >
              |--TEXT -> Cell Content
              `--TD_TAG_END -> TD_TAG_END
                  |--START -> <
                  |--SLASH -> /
                  |--TD_HTML_TAG_NAME -> td
                  `--END -> >
       
       
      See Also:
    • TD_TAG_START

      public static final int TD_TAG_START
      Start table cell tag.
      See Also:
    • TD_TAG_END

      public static final int TD_TAG_END
      End table cell tag.
      See Also:
    • TH

      public static final int TH
      Table header cell html tag: <th></th>.
      See Also:
    • TH_TAG_START

      public static final int TH_TAG_START
      Start table header cell tag.
      See Also:
    • TH_TAG_END

      public static final int TH_TAG_END
      End table header cell tag.
      See Also:
    • BODY

      public static final int BODY
      Body html tag.
      See Also:
    • BODY_TAG_START

      public static final int BODY_TAG_START
      Start body tag.

      Example:

      
       &lt;body&gt;
       This is a test
       &lt;/body&gt;
       
      Tree:
       
         JAVADOC -> JAVADOC
              |--TEXT -> /**
              |--NEWLINE -> \n
              |--LEADING_ASTERISK ->  *
              |--TEXT ->
              |--HTML_ELEMENT -> HTML_ELEMENT
              |    `--BODY -> BODY
              |         |--BODY_TAG_START -> BODY_TAG_START
              |         |    |--START -> <
              |         |    |--BODY_HTML_TAG_NAME -> body
              |         |    `--END -> >
              |         |--NEWLINE -> \n
              |         |--LEADING_ASTERISK ->  *
              |         |--TEXT ->  This is inside the body tag.
              |         |--NEWLINE -> \n
              |         |--LEADING_ASTERISK ->  *
              |         |--TEXT ->
              |         `--BODY_TAG_END -> BODY_TAG_END
              |             |--START -> <
              |             |--SLASH -> /
              |             |--BODY_HTML_TAG_NAME -> body
              |             `--END -> >
                |--NEWLINE -> \n
                |--LEADING_ASTERISK ->  *
                |--TEXT -> /
                |--NEWLINE -> \n
                |--TEXT -> public class Test {
                |--NEWLINE -> \n
                |--TEXT -> }
                |--NEWLINE -> \n
       
       
      See Also:
    • BODY_TAG_END

      public static final int BODY_TAG_END
      End body tag.

      Example:

      
        &lt;body&gt;
           This is a test
       &lt;/body&gt;
       
      Tree:
       
         JAVADOC -> JAVADOC
              |--TEXT -> /**
              |--NEWLINE -> \n
              |--LEADING_ASTERISK ->  *
              |--TEXT ->
              |--HTML_ELEMENT -> HTML_ELEMENT
              |    `--BODY -> BODY
              |         |--BODY_TAG_START -> BODY_TAG_START
              |         |    |--START -> <
              |         |    |--BODY_HTML_TAG_NAME -> body
              |         |    `--END -> >
              |         |--NEWLINE -> \n
              |         |--LEADING_ASTERISK ->  *
              |         |--TEXT ->  This is inside the body tag.
              |         |--NEWLINE -> \n
              |         |--LEADING_ASTERISK ->  *
              |         |--TEXT ->
              |         `--BODY_TAG_END -> BODY_TAG_END
              |             |--START -> <
              |             |--SLASH -> /
              |             |--BODY_HTML_TAG_NAME -> body
              |             `--END -> >
              |--NEWLINE -> \n
              |--LEADING_ASTERISK ->  *
              |--TEXT -> /
              |--NEWLINE -> \n
              |--TEXT -> public class Test {
              |--NEWLINE -> \n
              |--TEXT -> }
              |--NEWLINE -> \n
       
       
      See Also:
    • COLGROUP

      public static final int COLGROUP
      Colgroup html tag.

      Example:

      
       <colgroup>
           <col />
           <col span="2" class="batman" />
       </colgroup>
       
      Tree:
       
         --JAVADOC -> JAVADOC
             |--NEWLINE -> \n
             |--LEADING_ASTERISK ->  *
             |--TEXT ->
             |--HTML_ELEMENT -> HTML_ELEMENT
             |   `--COLGROUP -> COLGROUP
             |       |--COLGROUP_TAG_START -> COLGROUP_TAG_START
             |       |   |--START -> <
             |       |   |--COLGROUP_HTML_TAG_NAME -> colgroup
             |       |   |   `--END -> >
             |       |--NEWLINE -> \n
             |       |--LEADING_ASTERISK ->  *
             |       |--TEXT ->
             |       |--SINGLETON_ELEMENT -> SINGLETON_ELEMENT
             |       |   `--COL_TAG -> COL_TAG
             |       |       |--START -> <
             |       |       |--COL_HTML_TAG_NAME -> col
             |       |       |--WS ->
             |       |       `--SLASH_END -> />
             |       |--NEWLINE -> \n
             |       |--LEADING_ASTERISK ->  *
             |       |--TEXT ->
             |       |--SINGLETON_ELEMENT -> SINGLETON_ELEMENT
             |       |   `--COL_TAG -> COL_TAG
             |       |       |--START -> <
             |       |       |--COL_HTML_TAG_NAME -> col
             |       |       |--WS ->
             |       |       |--ATTRIBUTE -> ATTRIBUTE
             |       |       |   |--HTML_TAG_NAME -> span
             |       |       |   |--EQUALS -> =
             |       |       |   `--ATTR_VALUE -> "2"
             |       |       |--WS ->
             |       |       |--ATTRIBUTE -> ATTRIBUTE
             |       |       |   |--HTML_TAG_NAME -> class
             |       |       |   |--EQUALS -> =
             |       |       |   `--ATTR_VALUE -> "batman"
             |       |       |--WS ->
             |       |       `--SLASH_END -> />
             |       |--NEWLINE -> \n
             |       |--LEADING_ASTERISK ->  *
             |       |--TEXT ->
             |       `--COLGROUP_TAG_END -> COLGROUP_TAG_END
             |       |       |--START -> <
             |       |       |--SLASH -> /
             |       |       |--COLGROUP_HTML_TAG_NAME -> colgroup
             |       |       `--END -> >
             |--NEWLINE -> \n
             |--TEXT ->
       
       
      See Also:
    • COLGROUP_TAG_START

      public static final int COLGROUP_TAG_START
      Start colgroup tag.
      See Also:
    • COLGROUP_TAG_END

      public static final int COLGROUP_TAG_END
      End colgroup tag.
      See Also:
    • DD

      public static final int DD
      Description of a term html tag: <dd></dd>.
      See Also:
    • DD_TAG_START

      public static final int DD_TAG_START
      Start description of a term tag.
      See Also:
    • DD_TAG_END

      public static final int DD_TAG_END
      End description of a term tag.
      See Also:
    • DT

      public static final int DT
      Description term html tag: <dt></dt>.
      See Also:
    • DT_TAG_START

      public static final int DT_TAG_START
      Start description term tag.
      See Also:
    • DT_TAG_END

      public static final int DT_TAG_END
      End description term tag.
      See Also:
    • HEAD_TAG_START

      public static final int HEAD_TAG_START
      Start head tag.
      See Also:
    • HEAD_TAG_END

      public static final int HEAD_TAG_END
      End head tag.
      See Also:
    • HTML

      public static final int HTML
      Html html tag.
      See Also:
    • HTML_TAG_START

      public static final int HTML_TAG_START
      Start html tag.
      See Also:
    • HTML_TAG_END

      public static final int HTML_TAG_END
      End html tag.
      See Also:
    • OPTION

      public static final int OPTION
      Option html tag.
      See Also:
    • OPTION_TAG_START

      public static final int OPTION_TAG_START
      Start option tag.
      See Also:
    • OPTION_TAG_END

      public static final int OPTION_TAG_END
      End option tag.
      See Also:
    • TBODY

      public static final int TBODY
      Table body html tag.

      Example:

      <table><tbody></tbody></table>
      Tree:
       
          JAVADOC -> JAVADOC
            |--NEWLINE -> \r\n
            |--LEADING_ASTERISK ->  *
            |--TEXT ->
            |--HTML_ELEMENT -> HTML_ELEMENT
            |   `--HTML_TAG -> HTML_TAG
            |       |--HTML_ELEMENT_START -> HTML_ELEMENT_START
            |       |   |--START -> <
            |       |   |--HTML_TAG_NAME -> table
            |       |   `--END -> >
            |       |--HTML_ELEMENT -> HTML_ELEMENT
            |       |   `--TBODY -> TBODY
            |       |       |--TBODY_TAG_START -> TBODY_TAG_START
            |       |       |   |--START -> <
            |       |       |   |--TBODY_HTML_TAG_NAME -> tbody
            |       |       |   `--END -> >
            |       |       `--TBODY_TAG_END -> TBODY_TAG_END
            |       |           |--START -> <
            |       |           |--SLASH -> /
            |       |           |--TBODY_HTML_TAG_NAME -> tbody
            |       |           `--END -> >
            |       `--HTML_ELEMENT_END -> HTML_ELEMENT_END
            |           |--START -> <
            |           |--SLASH -> /
            |           |--HTML_TAG_NAME -> table
            |           `--END -> >
            |--NEWLINE -> \r\n
       
       
      See Also:
    • TBODY_TAG_START

      public static final int TBODY_TAG_START
      Start table body tag.
      See Also:
    • TBODY_TAG_END

      public static final int TBODY_TAG_END
      End table body tag.
      See Also:
    • TFOOT

      public static final int TFOOT
      Table foot html tag.
      See Also:
    • TFOOT_TAG_START

      public static final int TFOOT_TAG_START
      Start table foot tag.
      See Also:
    • TFOOT_TAG_END

      public static final int TFOOT_TAG_END
      End table foot tag.
      See Also:
    • THEAD

      public static final int THEAD
      Table head html tag.
      See Also:
    • THEAD_TAG_START

      public static final int THEAD_TAG_START
      Start table head tag.
      See Also:
    • THEAD_TAG_END

      public static final int THEAD_TAG_END
      End table head tag.
      See Also:
    • OPTGROUP

      public static final int OPTGROUP
      `optgroup` html tag.
      See Also:
    • OPTGROUP_TAG_START

      public static final int OPTGROUP_TAG_START
      `optgroup` tag start.
      See Also:
    • OPTGROUP_TAG_END

      public static final int OPTGROUP_TAG_END
      `optgroup` tag end.
      See Also:
    • RB

      public static final int RB
      `rb` html tag.
      See Also:
    • RB_TAG_START

      public static final int RB_TAG_START
      `rb` tag start.
      See Also:
    • RB_TAG_END

      public static final int RB_TAG_END
      `rb` tag end.
      See Also:
    • RT

      public static final int RT
      `rt` html tag.
      See Also:
    • RT_TAG_START

      public static final int RT_TAG_START
      `rt` tag start.
      See Also:
    • RT_TAG_END

      public static final int RT_TAG_END
      `rt` tag end.
      See Also:
    • RTC

      public static final int RTC
      `rtc` html tag.
      See Also:
    • RTC_TAG_START

      public static final int RTC_TAG_START
      `rtc` tag start.
      See Also:
    • RTC_TAG_END

      public static final int RTC_TAG_END
      `rtc` tag end.
      See Also:
    • RP

      public static final int RP
      `rp` html tag.
      See Also:
    • RP_TAG_START

      public static final int RP_TAG_START
      `rp` tag start.
      See Also:
    • RP_TAG_END

      public static final int RP_TAG_END
      `rp` tag end.
      See Also:
    • SINGLETON_ELEMENT

      public static final int SINGLETON_ELEMENT
      Parent node for all singleton html tags.
      See Also:
    • EMPTY_TAG

      public static final int EMPTY_TAG
      Non-special empty html tag.
      See Also:
    • AREA_TAG

      public static final int AREA_TAG
      Area html tag.

      Example:

      &lt area shape="rect" &gt
      Tree:
       
         JAVADOC -> JAVADOC
              |--NEWLINE -> \n
              |--LEADING_ASTERISK ->  *
              |--TEXT ->
              |--HTML_ELEMENT -> HTML_ELEMENT
              |   `--SINGLETON_ELEMENT -> SINGLETON_ELEMENT
              |       `--AREA_TAG -> AREA_TAG
              |           |--START -> <
              |           |--AREA_HTML_TAG_NAME -> area
              |           |--WS ->
              |           |--ATTRIBUTE -> ATTRIBUTE
              |           |   |--HTML_TAG_NAME -> shape
              |           |   |--EQUALS -> =
              |           |   `--ATTR_VALUE -> "rect"
              |           `--END -> >
              |--TEXT ->
              |--NEWLINE -> \n
              |--TEXT ->
       
       
      See Also:
    • BASE_TAG

      public static final int BASE_TAG
      Base html tag.
      See Also:
    • BASEFONT_TAG

      public static final int BASEFONT_TAG
      Basefont html tag.
      See Also:
    • BR_TAG

      public static final int BR_TAG
      Br html tag.
      See Also:
    • COL_TAG

      public static final int COL_TAG
      Col html tag.
      See Also:
    • FRAME_TAG

      public static final int FRAME_TAG
      Frame html tag.
      See Also:
    • HR_TAG

      public static final int HR_TAG
      Hr html tag.
      See Also:
    • IMG_TAG

      public static final int IMG_TAG
      Img html tag.
      See Also:
    • INPUT_TAG

      public static final int INPUT_TAG
      Input html tag.

      Example:

      Type here: <input type="text" id="id" name="name"> 
      Tree:
       
         JAVADOC -> JAVADOC
              |--NEWLINE -> \r\n
              |--LEADING_ASTERISK ->  *
              |--TEXT ->   Type here:
              |--HTML_ELEMENT -> HTML_ELEMENT
              |   `--SINGLETON_ELEMENT -> SINGLETON_ELEMENT
              |       `--INPUT_TAG -> INPUT_TAG
              |           |--START -> <
              |           |--INPUT_HTML_TAG_NAME -> input
              |           |--WS ->
              |           |--ATTRIBUTE -> ATTRIBUTE
              |           |   |--HTML_TAG_NAME -> type
              |           |   |--EQUALS -> =
              |           |   `--ATTR_VALUE -> "text"
              |           |--WS ->
              |           |--ATTRIBUTE -> ATTRIBUTE
              |           |   |--HTML_TAG_NAME -> id
              |           |   |--EQUALS -> =
              |           |   `--ATTR_VALUE -> "id"
              |           |--WS ->
              |           |--ATTRIBUTE -> ATTRIBUTE
              |           |   |--HTML_TAG_NAME -> name
              |           |   |--EQUALS -> =
              |           |   `--ATTR_VALUE -> "name"
              |           `--END -> >
              |--NEWLINE -> \r\n
              |--TEXT ->
       
       
      See Also:
    • ISINDEX_TAG

      public static final int ISINDEX_TAG
      Isindex html tag.
      See Also:
    • META_TAG

      public static final int META_TAG
      Meta html tag.
      See Also:
    • PARAM_TAG

      public static final int PARAM_TAG
      Param html tag.
      See Also:
    • EMBED_TAG

      public static final int EMBED_TAG
      HTML void element <embed>.
      See Also:
    • KEYGEN_TAG

      public static final int KEYGEN_TAG
      HTML void element <keygen>.
      See Also:
    • SOURCE_TAG

      public static final int SOURCE_TAG
      HTML void element <source>.
      See Also:
    • TRACK_TAG

      public static final int TRACK_TAG
      HTML void element <track>.
      See Also:
    • WBR_TAG

      public static final int WBR_TAG
      HTML void element <wbr>.
      See Also:
    • HTML_COMMENT

      public static final int HTML_COMMENT
      Html comment: <!-- -->.
      See Also:
    • TEXT

      public static final int TEXT
      CHAR and WS sequence.
      See Also:
  • Constructor Details

    • JavadocTokenTypes

      Empty private constructor of the current class.