Added:
lenya/site/apidocs/1.4/org/apache/lenya/lucene/html/HTMLParserTokenManager.html
URL:
http://svn.apache.org/viewcvs/lenya/site/apidocs/1.4/org/apache/lenya/lucene/html/HTMLParserTokenManager.html?rev=164448&view=auto
==============================================================================
---
lenya/site/apidocs/1.4/org/apache/lenya/lucene/html/HTMLParserTokenManager.html
(added)
+++
lenya/site/apidocs/1.4/org/apache/lenya/lucene/html/HTMLParserTokenManager.html
Sat Apr 23 22:30:06 2005
@@ -0,0 +1,499 @@
+<!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) on Thu Mar 17 10:25:12 CET 2005 -->
+<TITLE>
+HTMLParserTokenManager (Apache Lenya API - Version 1.4-dev)
+</TITLE>
+
+<META NAME="keywords"
CONTENT="org.apache.lenya.lucene.html.HTMLParserTokenManager class">
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../javadoc.css"
TITLE="Style">
+
+<SCRIPT type="text/javascript">
+function windowTitle()
+{
+ parent.document.title="HTMLParserTokenManager (Apache Lenya API - Version
1.4-dev)";
+}
+</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="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="../../../../../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/lenya/lucene/html/HTMLParser.html"
title="class in org.apache.lenya.lucene.html"><B>PREV CLASS</B></A>
+ <A
HREF="../../../../../org/apache/lenya/lucene/html/SimpleCharStream.html"
title="class in org.apache.lenya.lucene.html"><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="HTMLParserTokenManager.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.lenya.lucene.html</FONT>
+<BR>
+Class HTMLParserTokenManager</H2>
+<PRE>
+java.lang.Object
+ <IMG SRC="../../../../../resources/inherit.gif" ALT="extended
by"><B>org.apache.lenya.lucene.html.HTMLParserTokenManager</B>
+</PRE>
+<DL>
+<DT><B>All Implemented Interfaces:</B> <DD><A
HREF="../../../../../org/apache/lenya/lucene/html/HTMLParserConstants.html"
title="interface in org.apache.lenya.lucene.html">HTMLParserConstants</A></DD>
+</DL>
+<HR>
+<DL>
+<DT>public class <B>HTMLParserTokenManager</B><DT>extends
java.lang.Object<DT>implements <A
HREF="../../../../../org/apache/lenya/lucene/html/HTMLParserConstants.html"
title="interface in org.apache.lenya.lucene.html">HTMLParserConstants</A></DL>
+
+<P>
+Auto-generated (by JavaCC) class for HTML Parser tokens
+<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/lenya/lucene/html/HTMLParserTokenManager.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> java.io.PrintStream</CODE></FONT></TD>
+<TD><CODE><B><A
HREF="../../../../../org/apache/lenya/lucene/html/HTMLParserTokenManager.html#debugStream">debugStream</A></B></CODE>
+
+<BR>
+ <code>debugStream</code>
The debug stream for this parser</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/lenya/lucene/html/HTMLParserTokenManager.html#jjnewLexState">jjnewLexState</A></B></CODE>
+
+<BR>
+ <code>jjnewLexState</code>
(further parser states)</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static java.lang.String[]</CODE></FONT></TD>
+<TD><CODE><B><A
HREF="../../../../../org/apache/lenya/lucene/html/HTMLParserTokenManager.html#jjstrLiteralImages">jjstrLiteralImages</A></B></CODE>
+
+<BR>
+ <code>jjstrLiteralImages</code></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static java.lang.String[]</CODE></FONT></TD>
+<TD><CODE><B><A
HREF="../../../../../org/apache/lenya/lucene/html/HTMLParserTokenManager.html#lexStateNames">lexStateNames</A></B></CODE>
+
+<BR>
+ <code>lexStateNames</code>
(represents parser states)</TD>
+</TR>
+</TABLE>
+ <A
NAME="fields_inherited_from_class_org.apache.lenya.lucene.html.HTMLParserConstants"><!--
--></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TD><B>Fields inherited from interface org.apache.lenya.lucene.html.<A
HREF="../../../../../org/apache/lenya/lucene/html/HTMLParserConstants.html"
title="interface in
org.apache.lenya.lucene.html">HTMLParserConstants</A></B></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><A
HREF="../../../../../org/apache/lenya/lucene/html/HTMLParserConstants.html#AfterEquals">AfterEquals</A>,
<A
HREF="../../../../../org/apache/lenya/lucene/html/HTMLParserConstants.html#ArgEquals">ArgEquals</A>,
<A
HREF="../../../../../org/apache/lenya/lucene/html/HTMLParserConstants.html#ArgName">ArgName</A>,
<A
HREF="../../../../../org/apache/lenya/lucene/html/HTMLParserConstants.html#ArgQuote1">ArgQuote1</A>,
<A
HREF="../../../../../org/apache/lenya/lucene/html/HTMLParserConstants.html#ArgQuote2">ArgQuote2</A>,
<A
HREF="../../../../../org/apache/lenya/lucene/html/HTMLParserConstants.html#ArgValue">ArgValue</A>,
<A
HREF="../../../../../org/apache/lenya/lucene/html/HTMLParserConstants.html#CloseQuote1">CloseQuote1</A>,
<A
HREF="../../../../../org/apache/lenya/lucene/html/HTMLParserConstants.html#CloseQuote2">CloseQuote2</A>,
<A
HREF="../../../../../org/apache/lenya/lucene/html/HTMLParserConstants.html#Comment1">Comment1</A>,
<A
HREF="../../../../../org/apache/lenya/lucene/html/HTMLParserConstants.html#Comment2">Comment2</A>,
<A
HREF="../../../../../org/apache/lenya/lucene/html/HTMLParserConstants.html#CommentEnd1">CommentEnd1</A>,
<A
HREF="../../../../../org/apache/lenya/lucene/html/HTMLParserConstants.html#CommentEnd2">CommentEnd2</A>,
<A
HREF="../../../../../org/apache/lenya/lucene/html/HTMLParserConstants.html#CommentText1">CommentText1</A>,
<A
HREF="../../../../../org/apache/lenya/lucene/html/HTMLParserConstants.html#CommentText2">CommentText2</A>,
<A
HREF="../../../../../org/apache/lenya/lucene/html/HTMLParserConstants.html#DeclName">DeclName</A>,
<A
HREF="../../../../../org/apache/lenya/lucene/html/HTMLParserConstants.html#DEFAULT">DEFAULT</A>,
<A
HREF="../../../../../org/apache/lenya/lucene/html/HTMLParserConstants.html#Entity">Entity</A>,
<A
HREF="../../../../../org/apache/lenya/lucene/html/HTMLParserConstants.html#EOF">EOF</A>,
<A
HREF="../../../../../org/apache/lenya/lucene/html/HTMLParserConstants.html#LET">LET</A>,
<A
HREF="../../../../../org/apache/lenya/lucene/html/HTMLParserConstants.html#NUM">NUM</A>,
<A
HREF="../../../../../org/apache/lenya/lucene/html/HTMLParserConstants.html#Punct">Punct</A>,
<A
HREF="../../../../../org/apache/lenya/lucene/html/HTMLParserConstants.html#Quote1Text">Quote1Text</A>,
<A
HREF="../../../../../org/apache/lenya/lucene/html/HTMLParserConstants.html#Quote2Text">Quote2Text</A>,
<A
HREF="../../../../../org/apache/lenya/lucene/html/HTMLParserConstants.html#SP">SP</A>,
<A
HREF="../../../../../org/apache/lenya/lucene/html/HTMLParserConstants.html#Space">Space</A>,
<A
HREF="../../../../../org/apache/lenya/lucene/html/HTMLParserConstants.html#TagEnd">TagEnd</A>,
<A
HREF="../../../../../org/apache/lenya/lucene/html/HTMLParserConstants.html#TagName">TagName</A>,
<A
HREF="../../../../../org/apache/lenya/lucene/html/HTMLParserConstants.html#tokenImage">tokenImage</A>,
<A
HREF="../../../../../org/apache/lenya/lucene/html/HTMLParserConstants.html#WithinComment1">WithinComment1</A>,
<A
HREF="../../../../../org/apache/lenya/lucene/html/HTMLParserConstants.html#WithinComment2">WithinComment2</A>,
<A
HREF="../../../../../org/apache/lenya/lucene/html/HTMLParserConstants.html#WithinQuote1">WithinQuote1</A>,
<A
HREF="../../../../../org/apache/lenya/lucene/html/HTMLParserConstants.html#WithinQuote2">WithinQuote2</A>,
<A
HREF="../../../../../org/apache/lenya/lucene/html/HTMLParserConstants.html#WithinTag">WithinTag</A>,
<A
HREF="../../../../../org/apache/lenya/lucene/html/HTMLParserConstants.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/lenya/lucene/html/HTMLParserTokenManager.html#HTMLParserTokenManager(org.apache.lenya.lucene.html.SimpleCharStream)">HTMLParserTokenManager</A></B>(<A
HREF="../../../../../org/apache/lenya/lucene/html/SimpleCharStream.html"
title="class in
org.apache.lenya.lucene.html">SimpleCharStream</A> stream)</CODE>
+
+<BR>
+ Creates a new
HTMLParserTokenManager object using a Stream</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><B><A
HREF="../../../../../org/apache/lenya/lucene/html/HTMLParserTokenManager.html#HTMLParserTokenManager(org.apache.lenya.lucene.html.SimpleCharStream,
int)">HTMLParserTokenManager</A></B>(<A
HREF="../../../../../org/apache/lenya/lucene/html/SimpleCharStream.html"
title="class in org.apache.lenya.lucene.html">SimpleCharStream</A> stream,
+ int lexState)</CODE>
+
+<BR>
+ Creates a new
HTMLParserTokenManager object.</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> <A HREF="../../../../../org/apache/lenya/lucene/html/Token.html"
title="class in org.apache.lenya.lucene.html">Token</A></CODE></FONT></TD>
+<TD><CODE><B><A
HREF="../../../../../org/apache/lenya/lucene/html/HTMLParserTokenManager.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> void</CODE></FONT></TD>
+<TD><CODE><B><A
HREF="../../../../../org/apache/lenya/lucene/html/HTMLParserTokenManager.html#reInit(org.apache.lenya.lucene.html.SimpleCharStream)">reInit</A></B>(<A
HREF="../../../../../org/apache/lenya/lucene/html/SimpleCharStream.html"
title="class in
org.apache.lenya.lucene.html">SimpleCharStream</A> stream)</CODE>
+
+<BR>
+ Reinitialize the
parser, passing the stream</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/lenya/lucene/html/HTMLParserTokenManager.html#reInit(org.apache.lenya.lucene.html.SimpleCharStream,
int)">reInit</A></B>(<A
HREF="../../../../../org/apache/lenya/lucene/html/SimpleCharStream.html"
title="class in org.apache.lenya.lucene.html">SimpleCharStream</A> stream,
+ int lexState)</CODE>
+
+<BR>
+ Reinitialize the
parser with a certain parser state</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/lenya/lucene/html/HTMLParserTokenManager.html#setDebugStream(java.io.PrintStream)">setDebugStream</A></B>(java.io.PrintStream ds)</CODE>
+
+<BR>
+ Set the debug
stream</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/lenya/lucene/html/HTMLParserTokenManager.html#switchTo(int)">switchTo</A></B>(int lexState)</CODE>
+
+<BR>
+ Switch to a new
parser 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.Object</B></TD>
+</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">
+<TD COLSPAN=1><FONT SIZE="+2">
+<B>Field Detail</B></FONT></TD>
+</TR>
+</TABLE>
+
+<A NAME="jjstrLiteralImages"><!-- --></A><H3>
+jjstrLiteralImages</H3>
+<PRE>
+public static final java.lang.String[] <B>jjstrLiteralImages</B></PRE>
+<DL>
+<DD><code>jjstrLiteralImages</code>
+<P>
+<DL>
+</DL>
+</DL>
+<HR>
+
+<A NAME="lexStateNames"><!-- --></A><H3>
+lexStateNames</H3>
+<PRE>
+public static final java.lang.String[] <B>lexStateNames</B></PRE>
+<DL>
+<DD><code>lexStateNames</code> (represents parser states)
+<P>
+<DL>
+</DL>
+</DL>
+<HR>
+
+<A NAME="jjnewLexState"><!-- --></A><H3>
+jjnewLexState</H3>
+<PRE>
+public static final int[] <B>jjnewLexState</B></PRE>
+<DL>
+<DD><code>jjnewLexState</code> (further parser states)
+<P>
+<DL>
+</DL>
+</DL>
+<HR>
+
+<A NAME="debugStream"><!-- --></A><H3>
+debugStream</H3>
+<PRE>
+public java.io.PrintStream <B>debugStream</B></PRE>
+<DL>
+<DD><code>debugStream</code> The debug stream for this parser
+<P>
+<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="HTMLParserTokenManager(org.apache.lenya.lucene.html.SimpleCharStream)"><!--
--></A><H3>
+HTMLParserTokenManager</H3>
+<PRE>
+public <B>HTMLParserTokenManager</B>(<A
HREF="../../../../../org/apache/lenya/lucene/html/SimpleCharStream.html"
title="class in
org.apache.lenya.lucene.html">SimpleCharStream</A> stream)</PRE>
+<DL>
+<DD>Creates a new HTMLParserTokenManager object using a Stream
+<P>
+<DT><B>Parameters:</B><DD><CODE>stream</CODE> - The stream</DL>
+<HR>
+
+<A NAME="HTMLParserTokenManager(org.apache.lenya.lucene.html.SimpleCharStream,
int)"><!-- --></A><H3>
+HTMLParserTokenManager</H3>
+<PRE>
+public <B>HTMLParserTokenManager</B>(<A
HREF="../../../../../org/apache/lenya/lucene/html/SimpleCharStream.html"
title="class in org.apache.lenya.lucene.html">SimpleCharStream</A> stream,
+ int lexState)</PRE>
+<DL>
+<DD>Creates a new HTMLParserTokenManager object.
+<P>
+<DT><B>Parameters:</B><DD><CODE>stream</CODE> - The
stream<DD><CODE>lexState</CODE> - The parser state</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="setDebugStream(java.io.PrintStream)"><!-- --></A><H3>
+setDebugStream</H3>
+<PRE>
+public void <B>setDebugStream</B>(java.io.PrintStream ds)</PRE>
+<DL>
+<DD>Set the debug stream
+<P>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>ds</CODE> - The debug stream</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="reInit(org.apache.lenya.lucene.html.SimpleCharStream)"><!--
--></A><H3>
+reInit</H3>
+<PRE>
+public void <B>reInit</B>(<A
HREF="../../../../../org/apache/lenya/lucene/html/SimpleCharStream.html"
title="class in
org.apache.lenya.lucene.html">SimpleCharStream</A> stream)</PRE>
+<DL>
+<DD>Reinitialize the parser, passing the stream
+<P>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>stream</CODE> - The stream to parse</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="reInit(org.apache.lenya.lucene.html.SimpleCharStream, int)"><!--
--></A><H3>
+reInit</H3>
+<PRE>
+public void <B>reInit</B>(<A
HREF="../../../../../org/apache/lenya/lucene/html/SimpleCharStream.html"
title="class in org.apache.lenya.lucene.html">SimpleCharStream</A> stream,
+ int lexState)</PRE>
+<DL>
+<DD>Reinitialize the parser with a certain parser state
+<P>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>stream</CODE> - The stream to
parse<DD><CODE>lexState</CODE> - The parser state</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 a new parser state
+<P>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>lexState</CODE> - The state</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getNextToken()"><!-- --></A><H3>
+getNextToken</H3>
+<PRE>
+public final <A HREF="../../../../../org/apache/lenya/lucene/html/Token.html"
title="class in org.apache.lenya.lucene.html">Token</A>
<B>getNextToken</B>()</PRE>
+<DL>
+<DD>Get the next token
+<P>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+
+<DT><B>Returns:</B><DD>The token</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="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="../../../../../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/lenya/lucene/html/HTMLParser.html"
title="class in org.apache.lenya.lucene.html"><B>PREV CLASS</B></A>
+ <A
HREF="../../../../../org/apache/lenya/lucene/html/SimpleCharStream.html"
title="class in org.apache.lenya.lucene.html"><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="HTMLParserTokenManager.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 © 1999-2004 Apache Software Foundation. All Rights Reserved.
+</BODY>
+</HTML>
Propchange:
lenya/site/apidocs/1.4/org/apache/lenya/lucene/html/HTMLParserTokenManager.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
lenya/site/apidocs/1.4/org/apache/lenya/lucene/html/HTMLParserTokenManager.html
------------------------------------------------------------------------------
svn:mime-type = text/html
Added:
lenya/site/apidocs/1.4/org/apache/lenya/lucene/html/HtmlContentHandler.html
URL:
http://svn.apache.org/viewcvs/lenya/site/apidocs/1.4/org/apache/lenya/lucene/html/HtmlContentHandler.html?rev=164448&view=auto
==============================================================================
--- lenya/site/apidocs/1.4/org/apache/lenya/lucene/html/HtmlContentHandler.html
(added)
+++ lenya/site/apidocs/1.4/org/apache/lenya/lucene/html/HtmlContentHandler.html
Sat Apr 23 22:30:06 2005
@@ -0,0 +1,362 @@
+<!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) on Thu Mar 17 10:25:12 CET 2005 -->
+<TITLE>
+HtmlContentHandler (Apache Lenya API - Version 1.4-dev)
+</TITLE>
+
+<META NAME="keywords" CONTENT="org.apache.lenya.lucene.html.HtmlContentHandler
class">
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../javadoc.css"
TITLE="Style">
+
+<SCRIPT type="text/javascript">
+function windowTitle()
+{
+ parent.document.title="HtmlContentHandler (Apache Lenya API - Version
1.4-dev)";
+}
+</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="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="../../../../../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/lenya/lucene/html/Entities.html"
title="class in org.apache.lenya.lucene.html"><B>PREV CLASS</B></A>
+ <A HREF="../../../../../org/apache/lenya/lucene/html/HtmlDocument.html"
title="class in org.apache.lenya.lucene.html"><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="HtmlContentHandler.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 | FIELD | <A
HREF="#constructor_summary">CONSTR</A> | <A
HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL: FIELD | <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.lenya.lucene.html</FONT>
+<BR>
+Class HtmlContentHandler</H2>
+<PRE>
+java.lang.Object
+ <IMG SRC="../../../../../resources/inherit.gif" ALT="extended
by">org.xml.sax.helpers.DefaultHandler
+ <IMG SRC="../../../../../resources/inherit.gif" ALT="extended
by"><B>org.apache.lenya.lucene.html.HtmlContentHandler</B>
+</PRE>
+<DL>
+<DT><B>All Implemented Interfaces:</B> <DD>org.xml.sax.ContentHandler,
org.xml.sax.DTDHandler, org.xml.sax.EntityResolver,
org.xml.sax.ErrorHandler</DD>
+</DL>
+<HR>
+<DL>
+<DT>public class <B>HtmlContentHandler</B><DT>extends
org.xml.sax.helpers.DefaultHandler</DL>
+
+<P>
+HTML content handler
+<P>
+
+<P>
+<HR>
+
+<P>
+<!-- ======== NESTED CLASS SUMMARY ======== -->
+
+
+<!-- =========== FIELD SUMMARY =========== -->
+
+
+<!-- ======== 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/lenya/lucene/html/HtmlContentHandler.html#HtmlContentHandler()">HtmlContentHandler</A></B>()</CODE>
+
+<BR>
+ </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/lenya/lucene/html/HtmlContentHandler.html#endDocument()">endDocument</A></B>()</CODE>
+
+<BR>
+ End the
document</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static void</CODE></FONT></TD>
+<TD><CODE><B><A
HREF="../../../../../org/apache/lenya/lucene/html/HtmlContentHandler.html#main(java.lang.String[])">main</A></B>(java.lang.String[] args)</CODE>
+
+<BR>
+ Command line
interface</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/lenya/lucene/html/HtmlContentHandler.html#setDocumentLocator(org.xml.sax.Locator)">setDocumentLocator</A></B>(org.xml.sax.Locator locator)</CODE>
+
+<BR>
+ Set the document
locator</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/lenya/lucene/html/HtmlContentHandler.html#startDocument()">startDocument</A></B>()</CODE>
+
+<BR>
+ Start document</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/lenya/lucene/html/HtmlContentHandler.html#startPrefixMapping(java.lang.String,
java.lang.String)">startPrefixMapping</A></B>(java.lang.String prefix,
+ java.lang.String uri)</CODE>
+
+<BR>
+ Start the prefix
mapping</TD>
+</TR>
+</TABLE>
+ <A
NAME="methods_inherited_from_class_org.xml.sax.helpers.DefaultHandler"><!--
--></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TD><B>Methods inherited from class org.xml.sax.helpers.DefaultHandler</B></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE>characters, endElement, endPrefixMapping, error, fatalError,
ignorableWhitespace, notationDecl, processingInstruction, resolveEntity,
skippedEntity, startElement, unparsedEntityDecl, warning</CODE></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.Object</B></TD>
+</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 =========== -->
+
+
+<!-- ========= 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="HtmlContentHandler()"><!-- --></A><H3>
+HtmlContentHandler</H3>
+<PRE>
+public <B>HtmlContentHandler</B>()</PRE>
+<DL>
+</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="main(java.lang.String[])"><!-- --></A><H3>
+main</H3>
+<PRE>
+public static void <B>main</B>(java.lang.String[] args)</PRE>
+<DL>
+<DD>Command line interface
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>args</CODE> - Command line args</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="endDocument()"><!-- --></A><H3>
+endDocument</H3>
+<PRE>
+public void <B>endDocument</B>()
+ throws org.xml.sax.SAXException</PRE>
+<DL>
+<DD>End the document
+<P>
+<DD><DL>
+
+<DT><B>Throws:</B>
+<DD><CODE>org.xml.sax.SAXException</CODE></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="startPrefixMapping(java.lang.String, java.lang.String)"><!--
--></A><H3>
+startPrefixMapping</H3>
+<PRE>
+public void <B>startPrefixMapping</B>(java.lang.String prefix,
+ java.lang.String uri)
+ throws org.xml.sax.SAXException</PRE>
+<DL>
+<DD>Start the prefix mapping
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>prefix</CODE> - The prefix<DD><CODE>uri</CODE>
- The URI
+<DT><B>Throws:</B>
+<DD><CODE>org.xml.sax.SAXException</CODE> - if a parser error occurs</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="setDocumentLocator(org.xml.sax.Locator)"><!-- --></A><H3>
+setDocumentLocator</H3>
+<PRE>
+public void <B>setDocumentLocator</B>(org.xml.sax.Locator locator)</PRE>
+<DL>
+<DD>Set the document locator
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>locator</CODE> - The locator</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="startDocument()"><!-- --></A><H3>
+startDocument</H3>
+<PRE>
+public void <B>startDocument</B>()
+ throws org.xml.sax.SAXException</PRE>
+<DL>
+<DD>Start document
+<P>
+<DD><DL>
+
+<DT><B>Throws:</B>
+<DD><CODE>org.xml.sax.SAXException</CODE> - if a parser error occurs</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="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="../../../../../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/lenya/lucene/html/Entities.html"
title="class in org.apache.lenya.lucene.html"><B>PREV CLASS</B></A>
+ <A HREF="../../../../../org/apache/lenya/lucene/html/HtmlDocument.html"
title="class in org.apache.lenya.lucene.html"><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="HtmlContentHandler.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 | FIELD | <A
HREF="#constructor_summary">CONSTR</A> | <A
HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL: FIELD | <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 © 1999-2004 Apache Software Foundation. All Rights Reserved.
+</BODY>
+</HTML>
Propchange:
lenya/site/apidocs/1.4/org/apache/lenya/lucene/html/HtmlContentHandler.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
lenya/site/apidocs/1.4/org/apache/lenya/lucene/html/HtmlContentHandler.html
------------------------------------------------------------------------------
svn:mime-type = text/html
Added: lenya/site/apidocs/1.4/org/apache/lenya/lucene/html/HtmlDocument.html
URL:
http://svn.apache.org/viewcvs/lenya/site/apidocs/1.4/org/apache/lenya/lucene/html/HtmlDocument.html?rev=164448&view=auto
==============================================================================
--- lenya/site/apidocs/1.4/org/apache/lenya/lucene/html/HtmlDocument.html
(added)
+++ lenya/site/apidocs/1.4/org/apache/lenya/lucene/html/HtmlDocument.html Sat
Apr 23 22:30:06 2005
@@ -0,0 +1,350 @@
+<!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) on Thu Mar 17 10:25:12 CET 2005 -->
+<TITLE>
+HtmlDocument (Apache Lenya API - Version 1.4-dev)
+</TITLE>
+
+<META NAME="keywords" CONTENT="org.apache.lenya.lucene.html.HtmlDocument
class">
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../javadoc.css"
TITLE="Style">
+
+<SCRIPT type="text/javascript">
+function windowTitle()
+{
+ parent.document.title="HtmlDocument (Apache Lenya API - Version 1.4-dev)";
+}
+</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="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="../../../../../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/lenya/lucene/html/HtmlContentHandler.html"
title="class in org.apache.lenya.lucene.html"><B>PREV CLASS</B></A>
+ <A HREF="../../../../../org/apache/lenya/lucene/html/HTMLParser.html"
title="class in org.apache.lenya.lucene.html"><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="HtmlDocument.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 | FIELD | <A
HREF="#constructor_summary">CONSTR</A> | <A
HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL: FIELD | <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.lenya.lucene.html</FONT>
+<BR>
+Class HtmlDocument</H2>
+<PRE>
+java.lang.Object
+ <IMG SRC="../../../../../resources/inherit.gif" ALT="extended
by"><B>org.apache.lenya.lucene.html.HtmlDocument</B>
+</PRE>
+<HR>
+<DL>
+<DT>public class <B>HtmlDocument</B><DT>extends java.lang.Object</DL>
+
+<P>
+The <code>HtmlDocument</code> class creates a Lucene <CODE>Document</CODE>
+ from an HTML document.
+
+ <P>
+ It does this by using JTidy package. It can take input input from
<CODE>File</CODE> or <CODE>InputStream</CODE>.
+ </p>
+<P>
+
+<P>
+<HR>
+
+<P>
+<!-- ======== NESTED CLASS SUMMARY ======== -->
+
+
+<!-- =========== FIELD SUMMARY =========== -->
+
+
+<!-- ======== 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/lenya/lucene/html/HtmlDocument.html#HtmlDocument(java.io.File)">HtmlDocument</A></B>(java.io.File file)</CODE>
+
+<BR>
+ Constructs an
<code>HtmlDocument</code> from a <CODE>File</CODE>.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><B><A
HREF="../../../../../org/apache/lenya/lucene/html/HtmlDocument.html#HtmlDocument(java.io.InputStream)">HtmlDocument</A></B>(java.io.InputStream is)</CODE>
+
+<BR>
+ Constructs an
<code>HtmlDocument</code> from an <CODE>InputStream</CODE>.</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>static org.apache.lucene.document.Document</CODE></FONT></TD>
+<TD><CODE><B><A
HREF="../../../../../org/apache/lenya/lucene/html/HtmlDocument.html#document(java.io.File)">document</A></B>(java.io.File file)</CODE>
+
+<BR>
+ Creates a Lucene
<code>Document</code> from a <CODE>File</CODE>.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> java.lang.String</CODE></FONT></TD>
+<TD><CODE><B><A
HREF="../../../../../org/apache/lenya/lucene/html/HtmlDocument.html#getBody()">getBody</A></B>()</CODE>
+
+<BR>
+ Gets the body text
attribute of the <code>HtmlDocument</code> object.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static org.apache.lucene.document.Document</CODE></FONT></TD>
+<TD><CODE><B><A
HREF="../../../../../org/apache/lenya/lucene/html/HtmlDocument.html#getDocument(java.io.InputStream)">getDocument</A></B>(java.io.InputStream is)</CODE>
+
+<BR>
+ Creates a Lucene
<code>Document</code> from an <CODE>InputStream</CODE>.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> java.lang.String</CODE></FONT></TD>
+<TD><CODE><B><A
HREF="../../../../../org/apache/lenya/lucene/html/HtmlDocument.html#getTitle()">getTitle</A></B>()</CODE>
+
+<BR>
+ Gets the title
attribute of the <code>HtmlDocument</code> object.</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.Object</B></TD>
+</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 =========== -->
+
+
+<!-- ========= 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="HtmlDocument(java.io.File)"><!-- --></A><H3>
+HtmlDocument</H3>
+<PRE>
+public <B>HtmlDocument</B>(java.io.File file)
+ throws java.io.IOException</PRE>
+<DL>
+<DD>Constructs an <code>HtmlDocument</code> from a <CODE>File</CODE>.
+<P>
+<DT><B>Parameters:</B><DD><CODE>file</CODE> - the <code>File</code> containing
the HTML to parse
+<DT><B>Throws:</B>
+<DD><CODE>java.io.IOException</CODE> - if an I/O exception occurs</DL>
+<HR>
+
+<A NAME="HtmlDocument(java.io.InputStream)"><!-- --></A><H3>
+HtmlDocument</H3>
+<PRE>
+public <B>HtmlDocument</B>(java.io.InputStream is)</PRE>
+<DL>
+<DD>Constructs an <code>HtmlDocument</code> from an <CODE>InputStream</CODE>.
+<P>
+<DT><B>Parameters:</B><DD><CODE>is</CODE> - the <code>InputStream</code>
containing the HTML</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="getDocument(java.io.InputStream)"><!-- --></A><H3>
+getDocument</H3>
+<PRE>
+public static org.apache.lucene.document.Document
<B>getDocument</B>(java.io.InputStream is)</PRE>
+<DL>
+<DD>Creates a Lucene <code>Document</code> from an <CODE>InputStream</CODE>.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>is</CODE> - the <code>InputStream</code>
containing the HTML
+<DT><B>Returns:</B><DD>org.apache.lucene.document.Document</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="document(java.io.File)"><!-- --></A><H3>
+document</H3>
+<PRE>
+public static org.apache.lucene.document.Document
<B>document</B>(java.io.File file)
+ throws
java.io.IOException</PRE>
+<DL>
+<DD>Creates a Lucene <code>Document</code> from a <CODE>File</CODE>.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>file</CODE> - The tile
+<DT><B>Returns:</B><DD>org.apache.lucene.document.Document
+<DT><B>Throws:</B>
+<DD><CODE>java.io.IOException</CODE> - when an IO error occurs</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getTitle()"><!-- --></A><H3>
+getTitle</H3>
+<PRE>
+public java.lang.String <B>getTitle</B>()</PRE>
+<DL>
+<DD>Gets the title attribute of the <code>HtmlDocument</code> object.
+<P>
+<DD><DL>
+
+<DT><B>Returns:</B><DD>the title value</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getBody()"><!-- --></A><H3>
+getBody</H3>
+<PRE>
+public java.lang.String <B>getBody</B>()</PRE>
+<DL>
+<DD>Gets the body text attribute of the <code>HtmlDocument</code> object.
+<P>
+<DD><DL>
+
+<DT><B>Returns:</B><DD>the body text value</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="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="../../../../../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/lenya/lucene/html/HtmlContentHandler.html"
title="class in org.apache.lenya.lucene.html"><B>PREV CLASS</B></A>
+ <A HREF="../../../../../org/apache/lenya/lucene/html/HTMLParser.html"
title="class in org.apache.lenya.lucene.html"><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="HtmlDocument.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 | FIELD | <A
HREF="#constructor_summary">CONSTR</A> | <A
HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL: FIELD | <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 © 1999-2004 Apache Software Foundation. All Rights Reserved.
+</BODY>
+</HTML>
Propchange:
lenya/site/apidocs/1.4/org/apache/lenya/lucene/html/HtmlDocument.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
lenya/site/apidocs/1.4/org/apache/lenya/lucene/html/HtmlDocument.html
------------------------------------------------------------------------------
svn:mime-type = text/html
Added: lenya/site/apidocs/1.4/org/apache/lenya/lucene/html/ParseException.html
URL:
http://svn.apache.org/viewcvs/lenya/site/apidocs/1.4/org/apache/lenya/lucene/html/ParseException.html?rev=164448&view=auto
==============================================================================
--- lenya/site/apidocs/1.4/org/apache/lenya/lucene/html/ParseException.html
(added)
+++ lenya/site/apidocs/1.4/org/apache/lenya/lucene/html/ParseException.html Sat
Apr 23 22:30:06 2005
@@ -0,0 +1,473 @@
+<!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) on Thu Mar 17 10:25:12 CET 2005 -->
+<TITLE>
+ParseException (Apache Lenya API - Version 1.4-dev)
+</TITLE>
+
+<META NAME="keywords" CONTENT="org.apache.lenya.lucene.html.ParseException
class">
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../javadoc.css"
TITLE="Style">
+
+<SCRIPT type="text/javascript">
+function windowTitle()
+{
+ parent.document.title="ParseException (Apache Lenya API - Version
1.4-dev)";
+}
+</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="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="../../../../../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">
+ PREV CLASS
+ NEXT CLASS</FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="ParseException.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.lenya.lucene.html</FONT>
+<BR>
+Class ParseException</H2>
+<PRE>
+java.lang.Object
+ <IMG SRC="../../../../../resources/inherit.gif" ALT="extended
by">java.lang.Throwable
+ <IMG SRC="../../../../../resources/inherit.gif" ALT="extended
by">java.lang.Exception
+ <IMG SRC="../../../../../resources/inherit.gif" ALT="extended
by"><B>org.apache.lenya.lucene.html.ParseException</B>
+</PRE>
+<DL>
+<DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable</DD>
+</DL>
+<HR>
+<DL>
+<DT>public class <B>ParseException</B><DT>extends java.lang.Exception</DL>
+
+<P>
+This exception is thrown when parse errors are encountered. You can explicitly
create objects of
+ this exception type by calling the method generateParseException in the
generated parser. You
+ can modify this class to customize your error reporting mechanisms so long as
you retain the
+ public fields.
+<P>
+
+<P>
+<DL>
+<DT><B>See Also:</B><DD><A
HREF="../../../../../serialized-form.html#org.apache.lenya.lucene.html.ParseException">Serialized
Form</A></DL>
+<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> <A HREF="../../../../../org/apache/lenya/lucene/html/Token.html"
title="class in org.apache.lenya.lucene.html">Token</A></CODE></FONT></TD>
+<TD><CODE><B><A
HREF="../../../../../org/apache/lenya/lucene/html/ParseException.html#currentToken">currentToken</A></B></CODE>
+
+<BR>
+ This is the last
token that has been consumed successfully. </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>protected java.lang.String</CODE></FONT></TD>
+<TD><CODE><B><A
HREF="../../../../../org/apache/lenya/lucene/html/ParseException.html#eol">eol</A></B></CODE>
+
+<BR>
+ The end of line
string for this machine.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> int[][]</CODE></FONT></TD>
+<TD><CODE><B><A
HREF="../../../../../org/apache/lenya/lucene/html/ParseException.html#expectedTokenSequences">expectedTokenSequences</A></B></CODE>
+
+<BR>
+ Each entry in this
array is an array of integers. </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>protected boolean</CODE></FONT></TD>
+<TD><CODE><B><A
HREF="../../../../../org/apache/lenya/lucene/html/ParseException.html#specialConstructor">specialConstructor</A></B></CODE>
+
+<BR>
+ This variable
determines which constructor was used to create this object and thereby
+ affects the semantics of the "getMessage" method (see below).</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> java.lang.String[]</CODE></FONT></TD>
+<TD><CODE><B><A
HREF="../../../../../org/apache/lenya/lucene/html/ParseException.html#tokenImage">tokenImage</A></B></CODE>
+
+<BR>
+ This is a
reference to the "tokenImage" array of the generated parser within which the
parse
+ error occurred. </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/lenya/lucene/html/ParseException.html#ParseException()">ParseException</A></B>()</CODE>
+
+<BR>
+ The following
constructors are for use by you for whatever purpose you can think of.
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><B><A
HREF="../../../../../org/apache/lenya/lucene/html/ParseException.html#ParseException(java.lang.String)">ParseException</A></B>(java.lang.String message)</CODE>
+
+<BR>
+ Creates a new
ParseException object.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><B><A
HREF="../../../../../org/apache/lenya/lucene/html/ParseException.html#ParseException(org.apache.lenya.lucene.html.Token,
int[][], java.lang.String[])">ParseException</A></B>(<A
HREF="../../../../../org/apache/lenya/lucene/html/Token.html" title="class in
org.apache.lenya.lucene.html">Token</A> currentTokenVal,
+ int[][] expectedTokenSequencesVal,
+ java.lang.String[] tokenImageVal)</CODE>
+
+<BR>
+ This constructor
is used by the method "generateParseException" in the generated parser.
+ </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>protected java.lang.String</CODE></FONT></TD>
+<TD><CODE><B><A
HREF="../../../../../org/apache/lenya/lucene/html/ParseException.html#add_escapes(java.lang.String)">add_escapes</A></B>(java.lang.String str)</CODE>
+
+<BR>
+ Used to convert
raw characters to their escaped version when these raw version cannot be
+ used as part of an ASCII string literal.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> java.lang.String</CODE></FONT></TD>
+<TD><CODE><B><A
HREF="../../../../../org/apache/lenya/lucene/html/ParseException.html#getMessage()">getMessage</A></B>()</CODE>
+
+<BR>
+ This method has
the standard behavior when this object has been created using the standard
+ constructors. </TD>
+</TR>
+</TABLE>
+ <A NAME="methods_inherited_from_class_java.lang.Throwable"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TD><B>Methods inherited from class java.lang.Throwable</B></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE>fillInStackTrace, getCause, getLocalizedMessage, getStackTrace,
initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace,
toString</CODE></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.Object</B></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll,
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">
+<TD COLSPAN=1><FONT SIZE="+2">
+<B>Field Detail</B></FONT></TD>
+</TR>
+</TABLE>
+
+<A NAME="specialConstructor"><!-- --></A><H3>
+specialConstructor</H3>
+<PRE>
+protected boolean <B>specialConstructor</B></PRE>
+<DL>
+<DD>This variable determines which constructor was used to create this object
and thereby
+ affects the semantics of the "getMessage" method (see below).
+<P>
+<DL>
+</DL>
+</DL>
+<HR>
+
+<A NAME="currentToken"><!-- --></A><H3>
+currentToken</H3>
+<PRE>
+public <A HREF="../../../../../org/apache/lenya/lucene/html/Token.html"
title="class in org.apache.lenya.lucene.html">Token</A>
<B>currentToken</B></PRE>
+<DL>
+<DD>This is the last token that has been consumed successfully. If this
object has been created
+ due to a parse error, the token followng this token will (therefore) be the
first error
+ token.
+<P>
+<DL>
+</DL>
+</DL>
+<HR>
+
+<A NAME="expectedTokenSequences"><!-- --></A><H3>
+expectedTokenSequences</H3>
+<PRE>
+public int[][] <B>expectedTokenSequences</B></PRE>
+<DL>
+<DD>Each entry in this array is an array of integers. Each array of integers
represents a
+ sequence of tokens (by their ordinal values) that is expected at this point
of the parse.
+<P>
+<DL>
+</DL>
+</DL>
+<HR>
+
+<A NAME="tokenImage"><!-- --></A><H3>
+tokenImage</H3>
+<PRE>
+public java.lang.String[] <B>tokenImage</B></PRE>
+<DL>
+<DD>This is a reference to the "tokenImage" array of the generated parser
within which the parse
+ error occurred. This array is defined in the generated ...Constants
interface.
+<P>
+<DL>
+</DL>
+</DL>
+<HR>
+
+<A NAME="eol"><!-- --></A><H3>
+eol</H3>
+<PRE>
+protected java.lang.String <B>eol</B></PRE>
+<DL>
+<DD>The end of line string for this machine.
+<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">
+<TD COLSPAN=1><FONT SIZE="+2">
+<B>Constructor Detail</B></FONT></TD>
+</TR>
+</TABLE>
+
+<A NAME="ParseException(org.apache.lenya.lucene.html.Token, int[][],
java.lang.String[])"><!-- --></A><H3>
+ParseException</H3>
+<PRE>
+public <B>ParseException</B>(<A
HREF="../../../../../org/apache/lenya/lucene/html/Token.html" title="class in
org.apache.lenya.lucene.html">Token</A> currentTokenVal,
+ int[][] expectedTokenSequencesVal,
+ java.lang.String[] tokenImageVal)</PRE>
+<DL>
+<DD>This constructor is used by the method "generateParseException" in the
generated parser.
+ Calling this constructor generates a new object of this type with the fields
+ "currentToken", "expectedTokenSequences", and "tokenImage" set. The boolean
flag
+ "specialConstructor" is also set to true to indicate that this constructor
was used to
+ create this object. This constructor calls its super class with the empty
string to force
+ the "toString" method of parent class "Throwable" to print the error message
in the form:
+ ParseException: <result of getMessage>
+<P>
+<DT><B>Parameters:</B><DD><CODE>currentTokenVal</CODE> - Value of the current
token<DD><CODE>expectedTokenSequencesVal</CODE> - Value of the expected token
sequences<DD><CODE>tokenImageVal</CODE> - Value of the image token</DL>
+<HR>
+
+<A NAME="ParseException()"><!-- --></A><H3>
+ParseException</H3>
+<PRE>
+public <B>ParseException</B>()</PRE>
+<DL>
+<DD>The following constructors are for use by you for whatever purpose you can
think of.
+ Constructing the exception in this manner makes the exception behave in the
normal way -
+ i.e., as documented in the class "Throwable". The fields "errorToken",
+ "expectedTokenSequences", and "tokenImage" do not contain relevant
information. The JavaCC
+ generated code does not use these constructors.
+<P>
+</DL>
+<HR>
+
+<A NAME="ParseException(java.lang.String)"><!-- --></A><H3>
+ParseException</H3>
+<PRE>
+public <B>ParseException</B>(java.lang.String message)</PRE>
+<DL>
+<DD>Creates a new ParseException object.
+<P>
+<DT><B>Parameters:</B><DD><CODE>message</CODE> - The message</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="getMessage()"><!-- --></A><H3>
+getMessage</H3>
+<PRE>
+public java.lang.String <B>getMessage</B>()</PRE>
+<DL>
+<DD>This method has the standard behavior when this object has been created
using the standard
+ constructors. Otherwise, it uses "currentToken" and "expectedTokenSequences"
to generate a
+ parse error message and returns it. If this object has been created due to a
parse error,
+ and you do not catch it (it gets thrown from the parser), then this method is
called during
+ the printing of the final stack trace, and hence the correct error message
gets displayed.
+<P>
+<DD><DL>
+
+<DT><B>Returns:</B><DD>The exception message</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="add_escapes(java.lang.String)"><!-- --></A><H3>
+add_escapes</H3>
+<PRE>
+protected java.lang.String <B>add_escapes</B>(java.lang.String str)</PRE>
+<DL>
+<DD>Used to convert raw characters to their escaped version when these raw
version cannot be
+ used as part of an ASCII string literal.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>str</CODE> - The string to be escaped
+<DT><B>Returns:</B><DD>The escaped string</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="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="../../../../../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">
+ PREV CLASS
+ NEXT CLASS</FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="ParseException.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 © 1999-2004 Apache Software Foundation. All Rights Reserved.
+</BODY>
+</HTML>
Propchange:
lenya/site/apidocs/1.4/org/apache/lenya/lucene/html/ParseException.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
lenya/site/apidocs/1.4/org/apache/lenya/lucene/html/ParseException.html
------------------------------------------------------------------------------
svn:mime-type = text/html
|