<!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.5.0_18) on Sun Apr 01 21:18:17 PDT 2012 --> | |
<TITLE> | |
NumeratorFormatter.NumberFormatStringTokenizer | |
</TITLE> | |
<META NAME="keywords" CONTENT="org.apache.xalan.transformer.NumeratorFormatter.NumberFormatStringTokenizer class"> | |
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> | |
<SCRIPT type="text/javascript"> | |
function windowTitle() | |
{ | |
parent.document.title="NumeratorFormatter.NumberFormatStringTokenizer"; | |
} | |
</SCRIPT> | |
<NOSCRIPT> | |
</NOSCRIPT> | |
</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=2 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/NumeratorFormatter.NumberFormatStringTokenizer.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/xalan/transformer/NumeratorFormatter.html" title="class in org.apache.xalan.transformer"><B>PREV CLASS</B></A> | |
<A HREF="../../../../org/apache/xalan/transformer/QueuedEvents.html" title="class in org.apache.xalan.transformer"><B>NEXT CLASS</B></A></FONT></TD> | |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> | |
<A HREF="../../../../index.html?org/apache/xalan/transformer/NumeratorFormatter.NumberFormatStringTokenizer.html" target="_top"><B>FRAMES</B></A> | |
<A HREF="NumeratorFormatter.NumberFormatStringTokenizer.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.xalan.transformer</FONT> | |
<BR> | |
Class NumeratorFormatter.NumberFormatStringTokenizer</H2> | |
<PRE> | |
java.lang.Object | |
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.xalan.transformer.NumeratorFormatter.NumberFormatStringTokenizer</B> | |
</PRE> | |
<DL> | |
<DT><B>Enclosing class:</B><DD><A HREF="../../../../org/apache/xalan/transformer/NumeratorFormatter.html" title="class in org.apache.xalan.transformer">NumeratorFormatter</A></DD> | |
</DL> | |
<HR> | |
<DL> | |
<DT><PRE>static class <A HREF="../../../../src-html/org/apache/xalan/transformer/NumeratorFormatter.html#line.230"><B>NumeratorFormatter.NumberFormatStringTokenizer</B></A><DT>extends java.lang.Object</DL> | |
</PRE> | |
<P> | |
This class returns tokens using non-alphanumberic | |
characters as delimiters. | |
<P> | |
<P> | |
<HR> | |
<P> | |
<!-- =========== FIELD SUMMARY =========== --> | |
<A NAME="field_summary"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> | |
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> | |
<B>Field Summary</B></FONT></TH> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>private int</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xalan/transformer/NumeratorFormatter.NumberFormatStringTokenizer.html#currentPosition">currentPosition</A></B></CODE> | |
<BR> | |
Field holding the current position in the string</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>private int</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xalan/transformer/NumeratorFormatter.NumberFormatStringTokenizer.html#maxPosition">maxPosition</A></B></CODE> | |
<BR> | |
The total length of the string</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>private java.lang.String</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xalan/transformer/NumeratorFormatter.NumberFormatStringTokenizer.html#str">str</A></B></CODE> | |
<BR> | |
The string to tokenize</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"> | |
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> | |
<B>Constructor Summary</B></FONT></TH> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD><CODE><B><A HREF="../../../../org/apache/xalan/transformer/NumeratorFormatter.NumberFormatStringTokenizer.html#NumeratorFormatter.NumberFormatStringTokenizer(java.lang.String)">NumeratorFormatter.NumberFormatStringTokenizer</A></B>(java.lang.String str)</CODE> | |
<BR> | |
Construct a NumberFormatStringTokenizer.</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"> | |
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> | |
<B>Method Summary</B></FONT></TH> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>(package private) int</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xalan/transformer/NumeratorFormatter.NumberFormatStringTokenizer.html#countTokens()">countTokens</A></B>()</CODE> | |
<BR> | |
Calculates the number of times that this tokenizer's | |
<code>nextToken</code> method can be called before it generates an | |
exception.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>(package private) boolean</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xalan/transformer/NumeratorFormatter.NumberFormatStringTokenizer.html#hasMoreTokens()">hasMoreTokens</A></B>()</CODE> | |
<BR> | |
Tells if <code>nextToken</code> will throw an exception * if it is called.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>(package private) java.lang.String</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xalan/transformer/NumeratorFormatter.NumberFormatStringTokenizer.html#nextToken()">nextToken</A></B>()</CODE> | |
<BR> | |
Returns the next token from this string tokenizer.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>(package private) void</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xalan/transformer/NumeratorFormatter.NumberFormatStringTokenizer.html#reset()">reset</A></B>()</CODE> | |
<BR> | |
Reset tokenizer so that nextToken() starts from the beginning.</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"> | |
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</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"> | |
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> | |
<B>Field Detail</B></FONT></TH> | |
</TR> | |
</TABLE> | |
<A NAME="currentPosition"><!-- --></A><H3> | |
currentPosition</H3> | |
<PRE> | |
private int <A HREF="../../../../src-html/org/apache/xalan/transformer/NumeratorFormatter.NumberFormatStringTokenizer.html#line.234"><B>currentPosition</B></A></PRE> | |
<DL> | |
<DD>Field holding the current position in the string | |
<P> | |
<DL> | |
</DL> | |
</DL> | |
<HR> | |
<A NAME="maxPosition"><!-- --></A><H3> | |
maxPosition</H3> | |
<PRE> | |
private int <A HREF="../../../../src-html/org/apache/xalan/transformer/NumeratorFormatter.NumberFormatStringTokenizer.html#line.237"><B>maxPosition</B></A></PRE> | |
<DL> | |
<DD>The total length of the string | |
<P> | |
<DL> | |
</DL> | |
</DL> | |
<HR> | |
<A NAME="str"><!-- --></A><H3> | |
str</H3> | |
<PRE> | |
private java.lang.String <A HREF="../../../../src-html/org/apache/xalan/transformer/NumeratorFormatter.NumberFormatStringTokenizer.html#line.240"><B>str</B></A></PRE> | |
<DL> | |
<DD>The string to tokenize | |
<P> | |
<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"> | |
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> | |
<B>Constructor Detail</B></FONT></TH> | |
</TR> | |
</TABLE> | |
<A NAME="NumeratorFormatter.NumberFormatStringTokenizer(java.lang.String)"><!-- --></A><H3> | |
NumeratorFormatter.NumberFormatStringTokenizer</H3> | |
<PRE> | |
<A HREF="../../../../src-html/org/apache/xalan/transformer/NumeratorFormatter.NumberFormatStringTokenizer.html#line.247"><B>NumeratorFormatter.NumberFormatStringTokenizer</B></A>(java.lang.String str)</PRE> | |
<DL> | |
<DD>Construct a NumberFormatStringTokenizer. | |
<P> | |
<DL> | |
<DT><B>Parameters:</B><DD><CODE>str</CODE> - The string to tokenize</DL> | |
</DL> | |
<!-- ============ METHOD DETAIL ========== --> | |
<A NAME="method_detail"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> | |
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> | |
<B>Method Detail</B></FONT></TH> | |
</TR> | |
</TABLE> | |
<A NAME="reset()"><!-- --></A><H3> | |
reset</H3> | |
<PRE> | |
void <A HREF="../../../../src-html/org/apache/xalan/transformer/NumeratorFormatter.NumberFormatStringTokenizer.html#line.257"><B>reset</B></A>()</PRE> | |
<DL> | |
<DD>Reset tokenizer so that nextToken() starts from the beginning. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="nextToken()"><!-- --></A><H3> | |
nextToken</H3> | |
<PRE> | |
java.lang.String <A HREF="../../../../src-html/org/apache/xalan/transformer/NumeratorFormatter.NumberFormatStringTokenizer.html#line.269"><B>nextToken</B></A>()</PRE> | |
<DL> | |
<DD>Returns the next token from this string tokenizer. | |
<P> | |
<DD><DL> | |
<DT><B>Returns:</B><DD>the next token from this string tokenizer. | |
<DT><B>Throws:</B> | |
<DD><CODE>java.util.NoSuchElementException</CODE> - if there are no more tokens in this | |
tokenizer's string.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="hasMoreTokens()"><!-- --></A><H3> | |
hasMoreTokens</H3> | |
<PRE> | |
boolean <A HREF="../../../../src-html/org/apache/xalan/transformer/NumeratorFormatter.NumberFormatStringTokenizer.html#line.299"><B>hasMoreTokens</B></A>()</PRE> | |
<DL> | |
<DD>Tells if <code>nextToken</code> will throw an exception * if it is called. | |
<P> | |
<DD><DL> | |
<DT><B>Returns:</B><DD>true if <code>nextToken</code> can be called * without throwing an exception.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="countTokens()"><!-- --></A><H3> | |
countTokens</H3> | |
<PRE> | |
int <A HREF="../../../../src-html/org/apache/xalan/transformer/NumeratorFormatter.NumberFormatStringTokenizer.html#line.313"><B>countTokens</B></A>()</PRE> | |
<DL> | |
<DD>Calculates the number of times that this tokenizer's | |
<code>nextToken</code> method can be called before it generates an | |
exception. | |
<P> | |
<DD><DL> | |
<DT><B>Returns:</B><DD>the number of tokens remaining in the string using the current | |
delimiter set.<DT><B>See Also:</B><DD><CODE>StringTokenizer.nextToken()</CODE></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=2 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/NumeratorFormatter.NumberFormatStringTokenizer.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/xalan/transformer/NumeratorFormatter.html" title="class in org.apache.xalan.transformer"><B>PREV CLASS</B></A> | |
<A HREF="../../../../org/apache/xalan/transformer/QueuedEvents.html" title="class in org.apache.xalan.transformer"><B>NEXT CLASS</B></A></FONT></TD> | |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> | |
<A HREF="../../../../index.html?org/apache/xalan/transformer/NumeratorFormatter.NumberFormatStringTokenizer.html" target="_top"><B>FRAMES</B></A> | |
<A HREF="NumeratorFormatter.NumberFormatStringTokenizer.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> | |
</BODY> | |
</HTML> |