<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.4.2_16) on Fri Nov 19 12:15:44 PST 2010 --> <TITLE> ParserTokenManager (Velocity 1.7 API) </TITLE> <META NAME="keywords" CONTENT="org.apache.velocity.runtime.parser.ParserTokenManager class"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style"> <SCRIPT type="text/javascript"> function windowTitle() { parent.document.title="ParserTokenManager (Velocity 1.7 API)"; } </SCRIPT> </HEAD> <BODY BGCOLOR="white" onload="windowTitle();"> <!-- ========= START OF TOP NAVBAR ======= --> <A NAME="navbar_top"><!-- --></A> <A HREF="#skip-navbar_top" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_top_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ParserTokenManager.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../org/apache/velocity/runtime/parser/Parser.html" title="class in org.apache.velocity.runtime.parser"><B>PREV CLASS</B></A> <A HREF="../../../../../org/apache/velocity/runtime/parser/Token.html" title="class in org.apache.velocity.runtime.parser"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A> <A HREF="ParserTokenManager.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_top"></A> <!-- ========= END OF TOP NAVBAR ========= --> <HR> <!-- ======== START OF CLASS DATA ======== --> <H2> <FONT SIZE="-1"> org.apache.velocity.runtime.parser</FONT> <BR> Class ParserTokenManager</H2> <PRE> <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html" title="class or interface in java.lang">java.lang.Object</A> <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><B>org.apache.velocity.runtime.parser.ParserTokenManager</B> </PRE> <DL> <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../../org/apache/velocity/runtime/parser/ParserConstants.html" title="interface in org.apache.velocity.runtime.parser">ParserConstants</A></DD> </DL> <HR> <DL> <DT>public class <B>ParserTokenManager</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A><DT>implements <A HREF="../../../../../org/apache/velocity/runtime/parser/ParserConstants.html" title="interface in org.apache.velocity.runtime.parser">ParserConstants</A></DL> <P> Token Manager. <P> <P> <HR> <P> <!-- ======== NESTED CLASS SUMMARY ======== --> <!-- =========== FIELD SUMMARY =========== --> <A NAME="field_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TD COLSPAN=2><FONT SIZE="+2"> <B>Field Summary</B></FONT></TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected char</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/velocity/runtime/parser/ParserTokenManager.html#curChar">curChar</A></B></CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/velocity/runtime/parser/ParserTokenManager.html#debugPrint">debugPrint</A></B></CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/PrintStream.html" title="class or interface in java.io">PrintStream</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/velocity/runtime/parser/ParserTokenManager.html#debugStream">debugStream</A></B></CODE> <BR> Debug output.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/velocity/runtime/parser/ParserTokenManager.html#inDirective">inDirective</A></B></CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected <A HREF="../../../../../org/apache/velocity/runtime/parser/CharStream.html" title="interface in org.apache.velocity.runtime.parser">CharStream</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/velocity/runtime/parser/ParserTokenManager.html#input_stream">input_stream</A></B></CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/velocity/runtime/parser/ParserTokenManager.html#inSet">inSet</A></B></CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/velocity/runtime/parser/ParserTokenManager.html#jjnewLexState">jjnewLexState</A></B></CODE> <BR> Lex State array.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/velocity/runtime/parser/ParserTokenManager.html#jjstrLiteralImages">jjstrLiteralImages</A></B></CODE> <BR> Token literal values.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/velocity/runtime/parser/ParserTokenManager.html#lexStateNames">lexStateNames</A></B></CODE> <BR> Lexer state names.</TD> </TR> </TABLE> <A NAME="fields_inherited_from_class_org.apache.velocity.runtime.parser.ParserConstants"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TD><B>Fields inherited from interface org.apache.velocity.runtime.parser.<A HREF="../../../../../org/apache/velocity/runtime/parser/ParserConstants.html" title="interface in org.apache.velocity.runtime.parser">ParserConstants</A></B></TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../../org/apache/velocity/runtime/parser/ParserConstants.html#ALPHA_CHAR">ALPHA_CHAR</A>, <A HREF="../../../../../org/apache/velocity/runtime/parser/ParserConstants.html#ALPHANUM_CHAR">ALPHANUM_CHAR</A>, <A HREF="../../../../../org/apache/velocity/runtime/parser/ParserConstants.html#BRACKETED_WORD">BRACKETED_WORD</A>, <A HREF="../../../../../org/apache/velocity/runtime/parser/ParserConstants.html#COLON">COLON</A>, <A HREF="../../../../../org/apache/velocity/runtime/parser/ParserConstants.html#COMMA">COMMA</A>, <A HREF="../../../../../org/apache/velocity/runtime/parser/ParserConstants.html#DEFAULT">DEFAULT</A>, <A HREF="../../../../../org/apache/velocity/runtime/parser/ParserConstants.html#DIGIT">DIGIT</A>, <A HREF="../../../../../org/apache/velocity/runtime/parser/ParserConstants.html#DIRECTIVE">DIRECTIVE</A>, <A HREF="../../../../../org/apache/velocity/runtime/parser/ParserConstants.html#DIRECTIVE_CHAR">DIRECTIVE_CHAR</A>, <A HREF="../../../../../org/apache/velocity/runtime/parser/ParserConstants.html#DIRECTIVE_TERMINATOR">DIRECTIVE_TERMINATOR</A>, <A HREF="../../../../../org/apache/velocity/runtime/parser/ParserConstants.html#DIVIDE">DIVIDE</A>, <A HREF="../../../../../org/apache/velocity/runtime/parser/ParserConstants.html#DOLLAR">DOLLAR</A>, <A HREF="../../../../../org/apache/velocity/runtime/parser/ParserConstants.html#DOLLARBANG">DOLLARBANG</A>, <A HREF="../../../../../org/apache/velocity/runtime/parser/ParserConstants.html#DOT">DOT</A>, <A HREF="../../../../../org/apache/velocity/runtime/parser/ParserConstants.html#DOUBLE_ESCAPE">DOUBLE_ESCAPE</A>, <A HREF="../../../../../org/apache/velocity/runtime/parser/ParserConstants.html#DOUBLEDOT">DOUBLEDOT</A>, <A HREF="../../../../../org/apache/velocity/runtime/parser/ParserConstants.html#ELSE_DIRECTIVE">ELSE_DIRECTIVE</A>, <A HREF="../../../../../org/apache/velocity/runtime/parser/ParserConstants.html#ELSEIF_DIRECTIVE">ELSEIF_DIRECTIVE</A>, <A HREF="../../../../../org/apache/velocity/runtime/parser/ParserConstants.html#EMPTY_INDEX">EMPTY_INDEX</A>, <A HREF="../../../../../org/apache/velocity/runtime/parser/ParserConstants.html#END">END</A>, <A HREF="../../../../../org/apache/velocity/runtime/parser/ParserConstants.html#EOF">EOF</A>, <A HREF="../../../../../org/apache/velocity/runtime/parser/ParserConstants.html#EQUALS">EQUALS</A>, <A HREF="../../../../../org/apache/velocity/runtime/parser/ParserConstants.html#ESCAPE">ESCAPE</A>, <A HREF="../../../../../org/apache/velocity/runtime/parser/ParserConstants.html#ESCAPE_DIRECTIVE">ESCAPE_DIRECTIVE</A>, <A HREF="../../../../../org/apache/velocity/runtime/parser/ParserConstants.html#EXPONENT">EXPONENT</A>, <A HREF="../../../../../org/apache/velocity/runtime/parser/ParserConstants.html#FALSE">FALSE</A>, <A HREF="../../../../../org/apache/velocity/runtime/parser/ParserConstants.html#FLOATING_POINT_LITERAL">FLOATING_POINT_LITERAL</A>, <A HREF="../../../../../org/apache/velocity/runtime/parser/ParserConstants.html#FORMAL_COMMENT">FORMAL_COMMENT</A>, <A HREF="../../../../../org/apache/velocity/runtime/parser/ParserConstants.html#HASH">HASH</A>, <A HREF="../../../../../org/apache/velocity/runtime/parser/ParserConstants.html#IDENTIFIER">IDENTIFIER</A>, <A HREF="../../../../../org/apache/velocity/runtime/parser/ParserConstants.html#IDENTIFIER_CHAR">IDENTIFIER_CHAR</A>, <A HREF="../../../../../org/apache/velocity/runtime/parser/ParserConstants.html#IF_DIRECTIVE">IF_DIRECTIVE</A>, <A HREF="../../../../../org/apache/velocity/runtime/parser/ParserConstants.html#IN_FORMAL_COMMENT">IN_FORMAL_COMMENT</A>, <A HREF="../../../../../org/apache/velocity/runtime/parser/ParserConstants.html#IN_MULTI_LINE_COMMENT">IN_MULTI_LINE_COMMENT</A>, <A HREF="../../../../../org/apache/velocity/runtime/parser/ParserConstants.html#IN_SINGLE_LINE_COMMENT">IN_SINGLE_LINE_COMMENT</A>, <A HREF="../../../../../org/apache/velocity/runtime/parser/ParserConstants.html#IN_TEXTBLOCK">IN_TEXTBLOCK</A>, <A HREF="../../../../../org/apache/velocity/runtime/parser/ParserConstants.html#INDEX_LBRACKET">INDEX_LBRACKET</A>, <A HREF="../../../../../org/apache/velocity/runtime/parser/ParserConstants.html#INDEX_RBRACKET">INDEX_RBRACKET</A>, <A HREF="../../../../../org/apache/velocity/runtime/parser/ParserConstants.html#INTEGER_LITERAL">INTEGER_LITERAL</A>, <A HREF="../../../../../org/apache/velocity/runtime/parser/ParserConstants.html#LBRACKET">LBRACKET</A>, <A HREF="../../../../../org/apache/velocity/runtime/parser/ParserConstants.html#LCURLY">LCURLY</A>, <A HREF="../../../../../org/apache/velocity/runtime/parser/ParserConstants.html#LEFT_CURLEY">LEFT_CURLEY</A>, <A HREF="../../../../../org/apache/velocity/runtime/parser/ParserConstants.html#LETTER">LETTER</A>, <A HREF="../../../../../org/apache/velocity/runtime/parser/ParserConstants.html#LOGICAL_AND">LOGICAL_AND</A>, <A HREF="../../../../../org/apache/velocity/runtime/parser/ParserConstants.html#LOGICAL_EQUALS">LOGICAL_EQUALS</A>, <A HREF="../../../../../org/apache/velocity/runtime/parser/ParserConstants.html#LOGICAL_GE">LOGICAL_GE</A>, <A HREF="../../../../../org/apache/velocity/runtime/parser/ParserConstants.html#LOGICAL_GT">LOGICAL_GT</A>, <A HREF="../../../../../org/apache/velocity/runtime/parser/ParserConstants.html#LOGICAL_LE">LOGICAL_LE</A>, <A HREF="../../../../../org/apache/velocity/runtime/parser/ParserConstants.html#LOGICAL_LT">LOGICAL_LT</A>, <A HREF="../../../../../org/apache/velocity/runtime/parser/ParserConstants.html#LOGICAL_NOT">LOGICAL_NOT</A>, <A HREF="../../../../../org/apache/velocity/runtime/parser/ParserConstants.html#LOGICAL_NOT_EQUALS">LOGICAL_NOT_EQUALS</A>, <A HREF="../../../../../org/apache/velocity/runtime/parser/ParserConstants.html#LOGICAL_OR">LOGICAL_OR</A>, <A HREF="../../../../../org/apache/velocity/runtime/parser/ParserConstants.html#LPAREN">LPAREN</A>, <A HREF="../../../../../org/apache/velocity/runtime/parser/ParserConstants.html#MINUS">MINUS</A>, <A HREF="../../../../../org/apache/velocity/runtime/parser/ParserConstants.html#MODULUS">MODULUS</A>, <A HREF="../../../../../org/apache/velocity/runtime/parser/ParserConstants.html#MULTI_LINE_COMMENT">MULTI_LINE_COMMENT</A>, <A HREF="../../../../../org/apache/velocity/runtime/parser/ParserConstants.html#MULTIPLY">MULTIPLY</A>, <A HREF="../../../../../org/apache/velocity/runtime/parser/ParserConstants.html#NEWLINE">NEWLINE</A>, <A HREF="../../../../../org/apache/velocity/runtime/parser/ParserConstants.html#PLUS">PLUS</A>, <A HREF="../../../../../org/apache/velocity/runtime/parser/ParserConstants.html#PRE_DIRECTIVE">PRE_DIRECTIVE</A>, <A HREF="../../../../../org/apache/velocity/runtime/parser/ParserConstants.html#RBRACKET">RBRACKET</A>, <A HREF="../../../../../org/apache/velocity/runtime/parser/ParserConstants.html#RCURLY">RCURLY</A>, <A HREF="../../../../../org/apache/velocity/runtime/parser/ParserConstants.html#REFERENCE">REFERENCE</A>, <A HREF="../../../../../org/apache/velocity/runtime/parser/ParserConstants.html#REFERENCE_TERMINATOR">REFERENCE_TERMINATOR</A>, <A HREF="../../../../../org/apache/velocity/runtime/parser/ParserConstants.html#REFINDEX">REFINDEX</A>, <A HREF="../../../../../org/apache/velocity/runtime/parser/ParserConstants.html#REFMOD">REFMOD</A>, <A HREF="../../../../../org/apache/velocity/runtime/parser/ParserConstants.html#REFMOD2">REFMOD2</A>, <A HREF="../../../../../org/apache/velocity/runtime/parser/ParserConstants.html#REFMOD2_RPAREN">REFMOD2_RPAREN</A>, <A HREF="../../../../../org/apache/velocity/runtime/parser/ParserConstants.html#REFMODIFIER">REFMODIFIER</A>, <A HREF="../../../../../org/apache/velocity/runtime/parser/ParserConstants.html#RIGHT_CURLEY">RIGHT_CURLEY</A>, <A HREF="../../../../../org/apache/velocity/runtime/parser/ParserConstants.html#RPAREN">RPAREN</A>, <A HREF="../../../../../org/apache/velocity/runtime/parser/ParserConstants.html#SET_DIRECTIVE">SET_DIRECTIVE</A>, <A HREF="../../../../../org/apache/velocity/runtime/parser/ParserConstants.html#SINGLE_LINE_COMMENT">SINGLE_LINE_COMMENT</A>, <A HREF="../../../../../org/apache/velocity/runtime/parser/ParserConstants.html#SINGLE_LINE_COMMENT_START">SINGLE_LINE_COMMENT_START</A>, <A HREF="../../../../../org/apache/velocity/runtime/parser/ParserConstants.html#STRING_LITERAL">STRING_LITERAL</A>, <A HREF="../../../../../org/apache/velocity/runtime/parser/ParserConstants.html#TEXT">TEXT</A>, <A HREF="../../../../../org/apache/velocity/runtime/parser/ParserConstants.html#TEXTBLOCK">TEXTBLOCK</A>, <A HREF="../../../../../org/apache/velocity/runtime/parser/ParserConstants.html#tokenImage">tokenImage</A>, <A HREF="../../../../../org/apache/velocity/runtime/parser/ParserConstants.html#TRUE">TRUE</A>, <A HREF="../../../../../org/apache/velocity/runtime/parser/ParserConstants.html#WHITESPACE">WHITESPACE</A>, <A HREF="../../../../../org/apache/velocity/runtime/parser/ParserConstants.html#WORD">WORD</A></CODE></TD> </TR> </TABLE> <!-- ======== CONSTRUCTOR SUMMARY ======== --> <A NAME="constructor_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TD COLSPAN=2><FONT SIZE="+2"> <B>Constructor Summary</B></FONT></TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../../org/apache/velocity/runtime/parser/ParserTokenManager.html#ParserTokenManager(org.apache.velocity.runtime.parser.CharStream)">ParserTokenManager</A></B>(<A HREF="../../../../../org/apache/velocity/runtime/parser/CharStream.html" title="interface in org.apache.velocity.runtime.parser">CharStream</A> stream)</CODE> <BR> Constructor.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../../org/apache/velocity/runtime/parser/ParserTokenManager.html#ParserTokenManager(org.apache.velocity.runtime.parser.CharStream, int)">ParserTokenManager</A></B>(<A HREF="../../../../../org/apache/velocity/runtime/parser/CharStream.html" title="interface in org.apache.velocity.runtime.parser">CharStream</A> stream, int lexState)</CODE> <BR> Constructor.</TD> </TR> </TABLE> <!-- ========== METHOD SUMMARY =========== --> <A NAME="method_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TD COLSPAN=2><FONT SIZE="+2"> <B>Method Summary</B></FONT></TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/velocity/runtime/parser/ParserTokenManager.html#clearStateVars()">clearStateVars</A></B>()</CODE> <BR> Clears all state variables, resets to start values, clears stateStack.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../../org/apache/velocity/runtime/parser/Token.html" title="class in org.apache.velocity.runtime.parser">Token</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/velocity/runtime/parser/ParserTokenManager.html#getNextToken()">getNextToken</A></B>()</CODE> <BR> Get the next Token.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected <A HREF="../../../../../org/apache/velocity/runtime/parser/Token.html" title="class in org.apache.velocity.runtime.parser">Token</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/velocity/runtime/parser/ParserTokenManager.html#jjFillToken()">jjFillToken</A></B>()</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/velocity/runtime/parser/ParserTokenManager.html#ReInit(org.apache.velocity.runtime.parser.CharStream)">ReInit</A></B>(<A HREF="../../../../../org/apache/velocity/runtime/parser/CharStream.html" title="interface in org.apache.velocity.runtime.parser">CharStream</A> stream)</CODE> <BR> Reinitialise parser.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/velocity/runtime/parser/ParserTokenManager.html#ReInit(org.apache.velocity.runtime.parser.CharStream, int)">ReInit</A></B>(<A HREF="../../../../../org/apache/velocity/runtime/parser/CharStream.html" title="interface in org.apache.velocity.runtime.parser">CharStream</A> stream, int lexState)</CODE> <BR> Reinitialise parser.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/velocity/runtime/parser/ParserTokenManager.html#setDebugStream(java.io.PrintStream)">setDebugStream</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/PrintStream.html" title="class or interface in java.io">PrintStream</A> ds)</CODE> <BR> Set debug output.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/velocity/runtime/parser/ParserTokenManager.html#stateStackPop()">stateStackPop</A></B>()</CODE> <BR> pushes the current state onto the 'state stack', and maintains the parens counts public because we need it in PD & VM handling</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/velocity/runtime/parser/ParserTokenManager.html#stateStackPush()">stateStackPush</A></B>()</CODE> <BR> pops a state off the stack, and restores paren counts</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/velocity/runtime/parser/ParserTokenManager.html#SwitchTo(int)">SwitchTo</A></B>(int lexState)</CODE> <BR> Switch to specified lex state.</TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD> </TR> </TABLE> <P> <!-- ============ FIELD DETAIL =========== --> <A NAME="field_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TD COLSPAN=1><FONT SIZE="+2"> <B>Field Detail</B></FONT></TD> </TR> </TABLE> <A NAME="debugPrint"><!-- --></A><H3> debugPrint</H3> <PRE> public boolean <B>debugPrint</B></PRE> <DL> <DL> </DL> </DL> <HR> <A NAME="inDirective"><!-- --></A><H3> inDirective</H3> <PRE> public boolean <B>inDirective</B></PRE> <DL> <DL> </DL> </DL> <HR> <A NAME="inSet"><!-- --></A><H3> inSet</H3> <PRE> public boolean <B>inSet</B></PRE> <DL> <DL> </DL> </DL> <HR> <A NAME="debugStream"><!-- --></A><H3> debugStream</H3> <PRE> public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/PrintStream.html" title="class or interface in java.io">PrintStream</A> <B>debugStream</B></PRE> <DL> <DD>Debug output. <P> <DL> </DL> </DL> <HR> <A NAME="jjstrLiteralImages"><!-- --></A><H3> jjstrLiteralImages</H3> <PRE> public static final <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>[] <B>jjstrLiteralImages</B></PRE> <DL> <DD>Token literal values. <P> <DL> </DL> </DL> <HR> <A NAME="lexStateNames"><!-- --></A><H3> lexStateNames</H3> <PRE> public static final <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>[] <B>lexStateNames</B></PRE> <DL> <DD>Lexer state names. <P> <DL> </DL> </DL> <HR> <A NAME="jjnewLexState"><!-- --></A><H3> jjnewLexState</H3> <PRE> public static final int[] <B>jjnewLexState</B></PRE> <DL> <DD>Lex State array. <P> <DL> </DL> </DL> <HR> <A NAME="input_stream"><!-- --></A><H3> input_stream</H3> <PRE> protected <A HREF="../../../../../org/apache/velocity/runtime/parser/CharStream.html" title="interface in org.apache.velocity.runtime.parser">CharStream</A> <B>input_stream</B></PRE> <DL> <DL> </DL> </DL> <HR> <A NAME="curChar"><!-- --></A><H3> curChar</H3> <PRE> protected char <B>curChar</B></PRE> <DL> <DL> </DL> </DL> <!-- ========= CONSTRUCTOR DETAIL ======== --> <A NAME="constructor_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TD COLSPAN=1><FONT SIZE="+2"> <B>Constructor Detail</B></FONT></TD> </TR> </TABLE> <A NAME="ParserTokenManager(org.apache.velocity.runtime.parser.CharStream)"><!-- --></A><H3> ParserTokenManager</H3> <PRE> public <B>ParserTokenManager</B>(<A HREF="../../../../../org/apache/velocity/runtime/parser/CharStream.html" title="interface in org.apache.velocity.runtime.parser">CharStream</A> stream)</PRE> <DL> <DD>Constructor. <P> </DL> <HR> <A NAME="ParserTokenManager(org.apache.velocity.runtime.parser.CharStream, int)"><!-- --></A><H3> ParserTokenManager</H3> <PRE> public <B>ParserTokenManager</B>(<A HREF="../../../../../org/apache/velocity/runtime/parser/CharStream.html" title="interface in org.apache.velocity.runtime.parser">CharStream</A> stream, int lexState)</PRE> <DL> <DD>Constructor. <P> </DL> <!-- ============ METHOD DETAIL ========== --> <A NAME="method_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TD COLSPAN=1><FONT SIZE="+2"> <B>Method Detail</B></FONT></TD> </TR> </TABLE> <A NAME="stateStackPop()"><!-- --></A><H3> stateStackPop</H3> <PRE> public boolean <B>stateStackPop</B>()</PRE> <DL> <DD>pushes the current state onto the 'state stack', and maintains the parens counts public because we need it in PD & VM handling <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>boolean : success. It can fail if the state machine gets messed up (do don't mess it up :)</DL> </DD> </DL> <HR> <A NAME="stateStackPush()"><!-- --></A><H3> stateStackPush</H3> <PRE> public boolean <B>stateStackPush</B>()</PRE> <DL> <DD>pops a state off the stack, and restores paren counts <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>boolean : success of operation</DL> </DD> </DL> <HR> <A NAME="clearStateVars()"><!-- --></A><H3> clearStateVars</H3> <PRE> public void <B>clearStateVars</B>()</PRE> <DL> <DD>Clears all state variables, resets to start values, clears stateStack. Call before parsing. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="setDebugStream(java.io.PrintStream)"><!-- --></A><H3> setDebugStream</H3> <PRE> public void <B>setDebugStream</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/PrintStream.html" title="class or interface in java.io">PrintStream</A> ds)</PRE> <DL> <DD>Set debug output. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="ReInit(org.apache.velocity.runtime.parser.CharStream)"><!-- --></A><H3> ReInit</H3> <PRE> public void <B>ReInit</B>(<A HREF="../../../../../org/apache/velocity/runtime/parser/CharStream.html" title="interface in org.apache.velocity.runtime.parser">CharStream</A> stream)</PRE> <DL> <DD>Reinitialise parser. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="ReInit(org.apache.velocity.runtime.parser.CharStream, int)"><!-- --></A><H3> ReInit</H3> <PRE> public void <B>ReInit</B>(<A HREF="../../../../../org/apache/velocity/runtime/parser/CharStream.html" title="interface in org.apache.velocity.runtime.parser">CharStream</A> stream, int lexState)</PRE> <DL> <DD>Reinitialise parser. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="SwitchTo(int)"><!-- --></A><H3> SwitchTo</H3> <PRE> public void <B>SwitchTo</B>(int lexState)</PRE> <DL> <DD>Switch to specified lex state. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="jjFillToken()"><!-- --></A><H3> jjFillToken</H3> <PRE> protected <A HREF="../../../../../org/apache/velocity/runtime/parser/Token.html" title="class in org.apache.velocity.runtime.parser">Token</A> <B>jjFillToken</B>()</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="getNextToken()"><!-- --></A><H3> getNextToken</H3> <PRE> public <A HREF="../../../../../org/apache/velocity/runtime/parser/Token.html" title="class in org.apache.velocity.runtime.parser">Token</A> <B>getNextToken</B>()</PRE> <DL> <DD>Get the next Token. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <!-- ========= END OF CLASS DATA ========= --> <HR> <!-- ======= START OF BOTTOM NAVBAR ====== --> <A NAME="navbar_bottom"><!-- --></A> <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_bottom_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ParserTokenManager.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../org/apache/velocity/runtime/parser/Parser.html" title="class in org.apache.velocity.runtime.parser"><B>PREV CLASS</B></A> <A HREF="../../../../../org/apache/velocity/runtime/parser/Token.html" title="class in org.apache.velocity.runtime.parser"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A> <A HREF="ParserTokenManager.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_bottom"></A> <!-- ======== END OF BOTTOM NAVBAR ======= --> <HR> Copyright © 2000-2010 <a href=http://www.apache.org/>Apache Software Foundation</a>. All Rights Reserved. </BODY> </HTML>