Interface LexicalUnits


public interface LexicalUnits
This interface defines the constants that represent XML lexical units.
Version:
$Id: LexicalUnits.java 1733416 2016-03-03 07:07:13Z gadams $
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Represents a 'ANY' lexical unit.
    static final int
    Represents an ATTLIST declaration start lexical unit, i.e. '<!ATTLIST'.
    static final int
    Represents an attribute fragment lexical unit.
    static final int
    Represents a 'CDATA' lexical unit.
    static final int
    Represents a CDATA section start lexical unit, i.e. '<![CDATA['.
    static final int
    Represents a character data lexical unit, i.e. the content of an element.
    static final int
    Represents a character reference lexical unit.
    static final int
    Represents a ',' lexical unit.
    static final int
    Represents a comment lexical unit.
    static final int
    Represents a doctype start lexical unit, i.e. <!DOCTYPE.
    static final int
    Represents a element declaration start lexical unit, i.e. '<!ELEMENT'.
    static final int
    Represents an empty element end lexical unit, i.e. '/>'.
    static final int
    Represents a 'EMPTY' lexical unit.
    static final int
    Represents a 'encoding' lexical unit.
    static final int
    Represents a end character lexical unit, i.e. '>'.
    static final int
    Represents an end tag lexical unit, i.e. '</Name'.
    static final int
    Represents a 'ENTITIES' lexical unit.
    static final int
    Represents a 'ENTITY' lexical unit.
    static final int
    Represents an entity reference lexical unit.
    static final int
    Represents an entity start lexical unit, i.e. '<!ENTITY'.
    static final int
    Represents the EOF lexical unit.
    static final int
    Represents '=' lexical unit.
    static final int
    Represents a first attribute fragment lexical unit.
    static final int
    Represents a '#FIXED' lexical unit.
    static final int
    Represents a 'ID' lexical unit.
    static final int
    Represents a 'IDREF' lexical unit.
    static final int
    Represents a 'IDREFS' lexical unit.
    static final int
    Represents a '#IMPLIED' lexical unit.
    static final int
    Represents a last attribute fragment lexical unit.
    static final int
    Represents a '(' lexical unit.
    static final int
    Represents a '[' lexical unit.
    static final int
    Represents a name lexical unit.
    static final int
    Represents a 'NDATA' lexical unit.
    static final int
    Represents a Nmtoken lexical unit.
    static final int
    Represents a 'NMTOKEN' lexical unit.
    static final int
    Represents a 'NMTOKENS' lexical unit.
    static final int
    Represents a 'NOTATION' lexical unit.
    static final int
    Represents a notation start lexical unit, i.e. '<!NOTATION'.
    static final int
    Represents a parameter entity reference lexical unit, i.e. '%Name;'.
    static final int
    Represents a '#PCDATA' lexical unit.
    static final int
    Represents a '%' lexical unit.
    static final int
    Represents a PI data lexical unit.
    static final int
    Represents a PI end lexical unit, i.e. '?>'.
    static final int
    Represents a PI start lexical unit, i.e. '<?Name'.
    static final int
    Represents a '|' lexical unit.
    static final int
    Represents a '+' lexical unit.
    static final int
    Represents a 'PUBLIC' lexical unit.
    static final int
    Represents a '?' lexical unit.
    static final int
    Represents a '#REQUIRED' lexical unit.
    static final int
    Represents a ')' lexical unit.
    static final int
    Represents a ']' lexical unit.
    static final int
    Represents the S (space) lexical unit.
    static final int
    Represents a section end lexical unit, i.e. ']]>'.
    static final int
    Represents a 'standalone' lexical unit.
    static final int
    Represents a '*' lexical unit.
    static final int
    Represents a start tag lexical unit, i.e. '<Name'.
    static final int
    Represents a string lexical unit.
    static final int
    Represents a 'SYSTEM' lexical unit.
    static final int
    Represents a 'version' lexical unit.
    static final int
    Represents an XML declaration start lexical unit, i.e. '<?xml'.
  • Field Details

    • EOF

      static final int EOF
      Represents the EOF lexical unit.
      See Also:
    • S

      static final int S
      Represents the S (space) lexical unit.
      See Also:
    • XML_DECL_START

      static final int XML_DECL_START
      Represents an XML declaration start lexical unit, i.e. '<?xml'.
      See Also:
    • DOCTYPE_START

      static final int DOCTYPE_START
      Represents a doctype start lexical unit, i.e. <!DOCTYPE.
      See Also:
    • COMMENT

      static final int COMMENT
      Represents a comment lexical unit.
      See Also:
    • PI_START

      static final int PI_START
      Represents a PI start lexical unit, i.e. '<?Name'.
      See Also:
    • PI_DATA

      static final int PI_DATA
      Represents a PI data lexical unit.
      See Also:
    • PI_END

      static final int PI_END
      Represents a PI end lexical unit, i.e. '?>'.
      See Also:
    • CHARACTER_DATA

      static final int CHARACTER_DATA
      Represents a character data lexical unit, i.e. the content of an element.
      See Also:
    • START_TAG

      static final int START_TAG
      Represents a start tag lexical unit, i.e. '<Name'.
      See Also:
    • END_TAG

      static final int END_TAG
      Represents an end tag lexical unit, i.e. '</Name'.
      See Also:
    • CDATA_START

      static final int CDATA_START
      Represents a CDATA section start lexical unit, i.e. '<![CDATA['.
      See Also:
    • CHARACTER_REFERENCE

      static final int CHARACTER_REFERENCE
      Represents a character reference lexical unit.
      See Also:
    • ENTITY_REFERENCE

      static final int ENTITY_REFERENCE
      Represents an entity reference lexical unit.
      See Also:
    • NAME

      static final int NAME
      Represents a name lexical unit.
      See Also:
    • EQ

      static final int EQ
      Represents '=' lexical unit.
      See Also:
    • FIRST_ATTRIBUTE_FRAGMENT

      static final int FIRST_ATTRIBUTE_FRAGMENT
      Represents a first attribute fragment lexical unit.
      See Also:
    • ATTRIBUTE_FRAGMENT

      static final int ATTRIBUTE_FRAGMENT
      Represents an attribute fragment lexical unit.
      See Also:
    • LAST_ATTRIBUTE_FRAGMENT

      static final int LAST_ATTRIBUTE_FRAGMENT
      Represents a last attribute fragment lexical unit.
      See Also:
    • EMPTY_ELEMENT_END

      static final int EMPTY_ELEMENT_END
      Represents an empty element end lexical unit, i.e. '/>'.
      See Also:
    • END_CHAR

      static final int END_CHAR
      Represents a end character lexical unit, i.e. '>'.
      See Also:
    • SECTION_END

      static final int SECTION_END
      Represents a section end lexical unit, i.e. ']]>'.
      See Also:
    • VERSION_IDENTIFIER

      static final int VERSION_IDENTIFIER
      Represents a 'version' lexical unit.
      See Also:
    • ENCODING_IDENTIFIER

      static final int ENCODING_IDENTIFIER
      Represents a 'encoding' lexical unit.
      See Also:
    • STANDALONE_IDENTIFIER

      static final int STANDALONE_IDENTIFIER
      Represents a 'standalone' lexical unit.
      See Also:
    • STRING

      static final int STRING
      Represents a string lexical unit.
      See Also:
    • SYSTEM_IDENTIFIER

      static final int SYSTEM_IDENTIFIER
      Represents a 'SYSTEM' lexical unit.
      See Also:
    • PUBLIC_IDENTIFIER

      static final int PUBLIC_IDENTIFIER
      Represents a 'PUBLIC' lexical unit.
      See Also:
    • LSQUARE_BRACKET

      static final int LSQUARE_BRACKET
      Represents a '[' lexical unit.
      See Also:
    • RSQUARE_BRACKET

      static final int RSQUARE_BRACKET
      Represents a ']' lexical unit.
      See Also:
    • ELEMENT_DECLARATION_START

      static final int ELEMENT_DECLARATION_START
      Represents a element declaration start lexical unit, i.e. '<!ELEMENT'.
      See Also:
    • ATTLIST_START

      static final int ATTLIST_START
      Represents an ATTLIST declaration start lexical unit, i.e. '<!ATTLIST'.
      See Also:
    • ENTITY_START

      static final int ENTITY_START
      Represents an entity start lexical unit, i.e. '<!ENTITY'.
      See Also:
    • NOTATION_START

      static final int NOTATION_START
      Represents a notation start lexical unit, i.e. '<!NOTATION'.
      See Also:
    • PARAMETER_ENTITY_REFERENCE

      static final int PARAMETER_ENTITY_REFERENCE
      Represents a parameter entity reference lexical unit, i.e. '%Name;'.
      See Also:
    • EMPTY_IDENTIFIER

      static final int EMPTY_IDENTIFIER
      Represents a 'EMPTY' lexical unit.
      See Also:
    • ANY_IDENTIFIER

      static final int ANY_IDENTIFIER
      Represents a 'ANY' lexical unit.
      See Also:
    • QUESTION

      static final int QUESTION
      Represents a '?' lexical unit.
      See Also:
    • PLUS

      static final int PLUS
      Represents a '+' lexical unit.
      See Also:
    • STAR

      static final int STAR
      Represents a '*' lexical unit.
      See Also:
    • LEFT_BRACE

      static final int LEFT_BRACE
      Represents a '(' lexical unit.
      See Also:
    • RIGHT_BRACE

      static final int RIGHT_BRACE
      Represents a ')' lexical unit.
      See Also:
    • PIPE

      static final int PIPE
      Represents a '|' lexical unit.
      See Also:
    • COMMA

      static final int COMMA
      Represents a ',' lexical unit.
      See Also:
    • PCDATA_IDENTIFIER

      static final int PCDATA_IDENTIFIER
      Represents a '#PCDATA' lexical unit.
      See Also:
    • CDATA_IDENTIFIER

      static final int CDATA_IDENTIFIER
      Represents a 'CDATA' lexical unit.
      See Also:
    • ID_IDENTIFIER

      static final int ID_IDENTIFIER
      Represents a 'ID' lexical unit.
      See Also:
    • IDREF_IDENTIFIER

      static final int IDREF_IDENTIFIER
      Represents a 'IDREF' lexical unit.
      See Also:
    • IDREFS_IDENTIFIER

      static final int IDREFS_IDENTIFIER
      Represents a 'IDREFS' lexical unit.
      See Also:
    • NMTOKEN_IDENTIFIER

      static final int NMTOKEN_IDENTIFIER
      Represents a 'NMTOKEN' lexical unit.
      See Also:
    • NMTOKENS_IDENTIFIER

      static final int NMTOKENS_IDENTIFIER
      Represents a 'NMTOKENS' lexical unit.
      See Also:
    • ENTITY_IDENTIFIER

      static final int ENTITY_IDENTIFIER
      Represents a 'ENTITY' lexical unit.
      See Also:
    • ENTITIES_IDENTIFIER

      static final int ENTITIES_IDENTIFIER
      Represents a 'ENTITIES' lexical unit.
      See Also:
    • REQUIRED_IDENTIFIER

      static final int REQUIRED_IDENTIFIER
      Represents a '#REQUIRED' lexical unit.
      See Also:
    • IMPLIED_IDENTIFIER

      static final int IMPLIED_IDENTIFIER
      Represents a '#IMPLIED' lexical unit.
      See Also:
    • FIXED_IDENTIFIER

      static final int FIXED_IDENTIFIER
      Represents a '#FIXED' lexical unit.
      See Also:
    • NMTOKEN

      static final int NMTOKEN
      Represents a Nmtoken lexical unit.
      See Also:
    • NOTATION_IDENTIFIER

      static final int NOTATION_IDENTIFIER
      Represents a 'NOTATION' lexical unit.
      See Also:
    • PERCENT

      static final int PERCENT
      Represents a '%' lexical unit.
      See Also:
    • NDATA_IDENTIFIER

      static final int NDATA_IDENTIFIER
      Represents a 'NDATA' lexical unit.
      See Also: