org.apache.batik.xml
Interface LexicalUnits


public interface LexicalUnits

This interface defines the constants that represent XML lexical units.


Field Summary
static int ANY_IDENTIFIER
          Represents a 'ANY' lexical unit.
static int ATTLIST_START
          Represents an ATTLIST declaration start lexical unit, ie.
static int ATTRIBUTE_FRAGMENT
          Represents an attribute fragment lexical unit.
static int CDATA_IDENTIFIER
          Represents a 'CDATA' lexical unit.
static int CDATA_START
          Represents a CDATA section start lexical unit, ie.
static int CHARACTER_DATA
          Represents a character data lexical unit, ie.
static int CHARACTER_REFERENCE
          Represents a character reference lexical unit.
static int COMMA
          Represents a ',' lexical unit.
static int COMMENT
          Represents a comment lexical unit.
static int DOCTYPE_START
          Represents a doctype start lexical unit, ie.
static int ELEMENT_DECLARATION_START
          Represents a element declaration start lexical unit, ie.
static int EMPTY_ELEMENT_END
          Represents an empty element end lexical unit, ie.
static int EMPTY_IDENTIFIER
          Represents a 'EMPTY' lexical unit.
static int ENCODING_IDENTIFIER
          Represents a 'encoding' lexical unit.
static int END_CHAR
          Represents a end character lexical unit, ie.
static int END_TAG
          Represents an end tag lexical unit, ie.
static int ENTITIES_IDENTIFIER
          Represents a 'ENTITIES' lexical unit.
static int ENTITY_IDENTIFIER
          Represents a 'ENTITY' lexical unit.
static int ENTITY_REFERENCE
          Represents an entity reference lexical unit.
static int ENTITY_START
          Represents an entity start lexical unit, ie.
static int EOF
          Represents the EOF lexical unit.
static int EQ
          Represents '=' lexical unit.
static int FIRST_ATTRIBUTE_FRAGMENT
          Represents a first attribute fragment lexical unit.
static int FIXED_IDENTIFIER
          Represents a '#FIXED' lexical unit.
static int ID_IDENTIFIER
          Represents a 'ID' lexical unit.
static int IDREF_IDENTIFIER
          Represents a 'IDREF' lexical unit.
static int IDREFS_IDENTIFIER
          Represents a 'IDREFS' lexical unit.
static int IMPLIED_IDENTIFIER
          Represents a '#IMPLIED' lexical unit.
static int LAST_ATTRIBUTE_FRAGMENT
          Represents a last attribute fragment lexical unit.
static int LEFT_BRACE
          Represents a '(' lexical unit.
static int LSQUARE_BRACKET
          Represents a '[' lexical unit.
static int NAME
          Represents a name lexical unit.
static int NDATA_IDENTIFIER
          Represents a 'NDATA' lexical unit.
static int NMTOKEN
          Represents a Nmtoken lexical unit.
static int NMTOKEN_IDENTIFIER
          Represents a 'NMTOKEN' lexical unit.
static int NMTOKENS_IDENTIFIER
          Represents a 'NMTOKENS' lexical unit.
static int NOTATION_IDENTIFIER
          Represents a 'NOTATION' lexical unit.
static int NOTATION_START
          Represents a notation start lexical unit, ie.
static int PARAMETER_ENTITY_REFERENCE
          Represents a parameter entity reference lexical unit, ie.
static int PCDATA_IDENTIFIER
          Represents a '#PCDATA' lexical unit.
static int PERCENT
          Represents a '%' lexical unit.
static int PI_DATA
          Represents a PI data lexical unit.
static int PI_END
          Represents a PI end lexical unit, ie.
static int PI_START
          Represents a PI start lexical unit, ie.
static int PIPE
          Represents a '|' lexical unit.
static int PLUS
          Represents a '+' lexical unit.
static int PUBLIC_IDENTIFIER
          Represents a 'PUBLIC' lexical unit.
static int QUESTION
          Represents a '?' lexical unit.
static int REQUIRED_IDENTIFIER
          Represents a '#REQUIRED' lexical unit.
static int RIGHT_BRACE
          Represents a ')' lexical unit.
static int RSQUARE_BRACKET
          Represents a ']' lexical unit.
static int S
          Represents the S (space) lexical unit.
static int SECTION_END
          Represents a section end lexical unit, ie.
static int STANDALONE_IDENTIFIER
          Represents a 'standalone' lexical unit.
static int STAR
          Represents a '*' lexical unit.
static int START_TAG
          Represents a start tag lexical unit, ie.
static int STRING
          Represents a string lexical unit.
static int SYSTEM_IDENTIFIER
          Represents a 'SYSTEM' lexical unit.
static int VERSION_IDENTIFIER
          Represents a 'version' lexical unit.
static int XML_DECL_START
          Represents an XML declaration start lexical unit, ie.
 

Field Detail

EOF

public static final int EOF
Represents the EOF lexical unit.

S

public static final int S
Represents the S (space) lexical unit.

XML_DECL_START

public static final int XML_DECL_START
Represents an XML declaration start lexical unit, ie. '

DOCTYPE_START

public static final int DOCTYPE_START
Represents a doctype start lexical unit, ie.

COMMENT

public static final int COMMENT
Represents a comment lexical unit.

PI_START

public static final int PI_START
Represents a PI start lexical unit, ie. '

PI_DATA

public static final int PI_DATA
Represents a PI data lexical unit.

PI_END

public static final int PI_END
Represents a PI end lexical unit, ie. '?>'.

CHARACTER_DATA

public static final int CHARACTER_DATA
Represents a character data lexical unit, ie. the content of an element.

START_TAG

public static final int START_TAG
Represents a start tag lexical unit, ie. '

END_TAG

public static final int END_TAG
Represents an end tag lexical unit, ie. '

CDATA_START

public static final int CDATA_START
Represents a CDATA section start lexical unit, ie. '

CHARACTER_REFERENCE

public static final int CHARACTER_REFERENCE
Represents a character reference lexical unit.

ENTITY_REFERENCE

public static final int ENTITY_REFERENCE
Represents an entity reference lexical unit.

NAME

public static final int NAME
Represents a name lexical unit.

EQ

public static final int EQ
Represents '=' lexical unit.

FIRST_ATTRIBUTE_FRAGMENT

public static final int FIRST_ATTRIBUTE_FRAGMENT
Represents a first attribute fragment lexical unit.

ATTRIBUTE_FRAGMENT

public static final int ATTRIBUTE_FRAGMENT
Represents an attribute fragment lexical unit.

LAST_ATTRIBUTE_FRAGMENT

public static final int LAST_ATTRIBUTE_FRAGMENT
Represents a last attribute fragment lexical unit.

EMPTY_ELEMENT_END

public static final int EMPTY_ELEMENT_END
Represents an empty element end lexical unit, ie. '/>'.

END_CHAR

public static final int END_CHAR
Represents a end character lexical unit, ie. '>'.

SECTION_END

public static final int SECTION_END
Represents a section end lexical unit, ie. ']]>'.

VERSION_IDENTIFIER

public static final int VERSION_IDENTIFIER
Represents a 'version' lexical unit.

ENCODING_IDENTIFIER

public static final int ENCODING_IDENTIFIER
Represents a 'encoding' lexical unit.

STANDALONE_IDENTIFIER

public static final int STANDALONE_IDENTIFIER
Represents a 'standalone' lexical unit.

STRING

public static final int STRING
Represents a string lexical unit.

SYSTEM_IDENTIFIER

public static final int SYSTEM_IDENTIFIER
Represents a 'SYSTEM' lexical unit.

PUBLIC_IDENTIFIER

public static final int PUBLIC_IDENTIFIER
Represents a 'PUBLIC' lexical unit.

LSQUARE_BRACKET

public static final int LSQUARE_BRACKET
Represents a '[' lexical unit.

RSQUARE_BRACKET

public static final int RSQUARE_BRACKET
Represents a ']' lexical unit.

ELEMENT_DECLARATION_START

public static final int ELEMENT_DECLARATION_START
Represents a element declaration start lexical unit, ie. '

ATTLIST_START

public static final int ATTLIST_START
Represents an ATTLIST declaration start lexical unit, ie. '

ENTITY_START

public static final int ENTITY_START
Represents an entity start lexical unit, ie. '

NOTATION_START

public static final int NOTATION_START
Represents a notation start lexical unit, ie. '

PARAMETER_ENTITY_REFERENCE

public static final int PARAMETER_ENTITY_REFERENCE
Represents a parameter entity reference lexical unit, ie. '%Name;'.

EMPTY_IDENTIFIER

public static final int EMPTY_IDENTIFIER
Represents a 'EMPTY' lexical unit.

ANY_IDENTIFIER

public static final int ANY_IDENTIFIER
Represents a 'ANY' lexical unit.

QUESTION

public static final int QUESTION
Represents a '?' lexical unit.

PLUS

public static final int PLUS
Represents a '+' lexical unit.

STAR

public static final int STAR
Represents a '*' lexical unit.

LEFT_BRACE

public static final int LEFT_BRACE
Represents a '(' lexical unit.

RIGHT_BRACE

public static final int RIGHT_BRACE
Represents a ')' lexical unit.

PIPE

public static final int PIPE
Represents a '|' lexical unit.

COMMA

public static final int COMMA
Represents a ',' lexical unit.

PCDATA_IDENTIFIER

public static final int PCDATA_IDENTIFIER
Represents a '#PCDATA' lexical unit.

CDATA_IDENTIFIER

public static final int CDATA_IDENTIFIER
Represents a 'CDATA' lexical unit.

ID_IDENTIFIER

public static final int ID_IDENTIFIER
Represents a 'ID' lexical unit.

IDREF_IDENTIFIER

public static final int IDREF_IDENTIFIER
Represents a 'IDREF' lexical unit.

IDREFS_IDENTIFIER

public static final int IDREFS_IDENTIFIER
Represents a 'IDREFS' lexical unit.

NMTOKEN_IDENTIFIER

public static final int NMTOKEN_IDENTIFIER
Represents a 'NMTOKEN' lexical unit.

NMTOKENS_IDENTIFIER

public static final int NMTOKENS_IDENTIFIER
Represents a 'NMTOKENS' lexical unit.

ENTITY_IDENTIFIER

public static final int ENTITY_IDENTIFIER
Represents a 'ENTITY' lexical unit.

ENTITIES_IDENTIFIER

public static final int ENTITIES_IDENTIFIER
Represents a 'ENTITIES' lexical unit.

REQUIRED_IDENTIFIER

public static final int REQUIRED_IDENTIFIER
Represents a '#REQUIRED' lexical unit.

IMPLIED_IDENTIFIER

public static final int IMPLIED_IDENTIFIER
Represents a '#IMPLIED' lexical unit.

FIXED_IDENTIFIER

public static final int FIXED_IDENTIFIER
Represents a '#FIXED' lexical unit.

NMTOKEN

public static final int NMTOKEN
Represents a Nmtoken lexical unit.

NOTATION_IDENTIFIER

public static final int NOTATION_IDENTIFIER
Represents a 'NOTATION' lexical unit.

PERCENT

public static final int PERCENT
Represents a '%' lexical unit.

NDATA_IDENTIFIER

public static final int NDATA_IDENTIFIER
Represents a 'NDATA' lexical unit.


Copyright © 2002 Apache Software Foundation. All Rights Reserved.