|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1) E13403-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HTMLTokens
The HTMLTokens
interface defines the constants for the
various tokens of the HTML language. Currently, only two token
types are differentiated, regular HTML tags, and HTML comments. No
tokens are generated for plain text.
LexerToken
,
HTMLLexer
Field Summary | |
---|---|
static int |
TK_HTML_COMMENT
Constant for a HTML comment. |
static int |
TK_HTML_DOCUMENT_TYPE
Constant for HTML Document Type |
static int |
TK_HTML_PROCESSING_INSTRUCTION
Constant for HTML Processing Instruction |
static int |
TK_HTML_SCRIPT
Constant for script content. |
static int |
TK_HTML_STYLE
Constant for style content. |
static int |
TK_HTML_TAG
Constant for an HTML tag which is not a comment. |
static int |
TK_HTML_TEXT
Constant for text content |
static int |
TK_JSP_COMMENT
Constant for a JSP comment. |
static int |
TK_JSP_DECLARATION
Constant for a JSP declaration tag. |
static int |
TK_JSP_DIRECTIVE
Constant for a JSP directive (such as a page directive). |
static int |
TK_JSP_EXPRESSION
Constant for a JSP expression tag. |
static int |
TK_JSP_SCRIPLET
Constant for a JSP scriplet (with Java code.) For example, the following is a JSP scriplet: |
static int |
TK_PHP_ASPTAG
Deprecated. Recognizing php tokens in the HTMLLexer will be desupported. |
static int |
TK_PHP_TAG
Deprecated. Recognizing php tokens in the HTMLLexer will be desupported. |
Field Detail |
---|
static final int TK_HTML_TAG
static final int TK_HTML_COMMENT
<!-- a comment -->
static final int TK_HTML_SCRIPT
static final int TK_HTML_STYLE
static final int TK_HTML_TEXT
static final int TK_HTML_DOCUMENT_TYPE
static final int TK_HTML_PROCESSING_INSTRUCTION
static final int TK_JSP_DIRECTIVE
<%@ directive {attr_name=attr_value} %>
static final int TK_JSP_SCRIPLET
<% if ( i == 5 ) %>
static final int TK_JSP_DECLARATION
<%! int i = 0; %>
static final int TK_JSP_EXPRESSION
<%= int i = 0; %>
static final int TK_JSP_COMMENT
<%-- this is a comment --%>
@Deprecated static final int TK_PHP_TAG
<?php echo( "Hello!" ); ?>
@Deprecated static final int TK_PHP_ASPTAG
<% echo( "Hello!" ); %>
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1) E13403-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |