1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
2 |
<!--NewPage--> |
3 |
<HTML> |
4 |
<HEAD> |
5 |
<!-- Generated by javadoc (build 1.4.2_06) on Mon Jul 25 11:24:18 JST 2005 --> |
6 |
<TITLE> |
7 |
DocumentImpl (estraier) |
8 |
</TITLE> |
9 |
|
10 |
<META NAME="keywords" CONTENT="estraier.DocumentImpl class"> |
11 |
|
12 |
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style"> |
13 |
|
14 |
<SCRIPT type="text/javascript"> |
15 |
function windowTitle() |
16 |
{ |
17 |
parent.document.title="DocumentImpl (estraier)"; |
18 |
} |
19 |
</SCRIPT> |
20 |
|
21 |
</HEAD> |
22 |
|
23 |
<BODY BGCOLOR="white" onload="windowTitle();"> |
24 |
|
25 |
|
26 |
<!-- ========= START OF TOP NAVBAR ======= --> |
27 |
<A NAME="navbar_top"><!-- --></A> |
28 |
<A HREF="#skip-navbar_top" title="Skip navigation links"></A> |
29 |
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
30 |
<TR> |
31 |
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
32 |
<A NAME="navbar_top_firstrow"><!-- --></A> |
33 |
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
34 |
<TR ALIGN="center" VALIGN="top"> |
35 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
36 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
37 |
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
38 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
39 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
40 |
</TR> |
41 |
</TABLE> |
42 |
</TD> |
43 |
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
44 |
</EM> |
45 |
</TD> |
46 |
</TR> |
47 |
|
48 |
<TR> |
49 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
50 |
<A HREF="../estraier/Document.html" title="interface in estraier"><B>PREV CLASS</B></A> |
51 |
<A HREF="../estraier/Node.html" title="interface in estraier"><B>NEXT CLASS</B></A></FONT></TD> |
52 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
53 |
<A HREF="../index.html" target="_top"><B>FRAMES</B></A> |
54 |
<A HREF="DocumentImpl.html" target="_top"><B>NO FRAMES</B></A> |
55 |
<SCRIPT type="text/javascript"> |
56 |
<!-- |
57 |
if(window==top) { |
58 |
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>'); |
59 |
} |
60 |
//--> |
61 |
</SCRIPT> |
62 |
<NOSCRIPT> |
63 |
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A> |
64 |
</NOSCRIPT> |
65 |
|
66 |
</FONT></TD> |
67 |
</TR> |
68 |
<TR> |
69 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
70 |
SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
71 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
72 |
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
73 |
</TR> |
74 |
</TABLE> |
75 |
<A NAME="skip-navbar_top"></A> |
76 |
<!-- ========= END OF TOP NAVBAR ========= --> |
77 |
|
78 |
<HR> |
79 |
<!-- ======== START OF CLASS DATA ======== --> |
80 |
<H2> |
81 |
<FONT SIZE="-1"> |
82 |
estraier</FONT> |
83 |
<BR> |
84 |
Class DocumentImpl</H2> |
85 |
<PRE> |
86 |
java.lang.Object |
87 |
<IMG SRC="../resources/inherit.gif" ALT="extended by"><B>estraier.DocumentImpl</B> |
88 |
</PRE> |
89 |
<DL> |
90 |
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../estraier/Document.html" title="interface in estraier">Document</A></DD> |
91 |
</DL> |
92 |
<HR> |
93 |
<DL> |
94 |
<DT>public class <B>DocumentImpl</B><DT>extends java.lang.Object<DT>implements <A HREF="../estraier/Document.html" title="interface in estraier">Document</A></DL> |
95 |
|
96 |
<P> |
97 |
Implementation of document. |
98 |
<P> |
99 |
|
100 |
<P> |
101 |
<HR> |
102 |
|
103 |
<P> |
104 |
<!-- ======== NESTED CLASS SUMMARY ======== --> |
105 |
|
106 |
|
107 |
<!-- =========== FIELD SUMMARY =========== --> |
108 |
|
109 |
|
110 |
<!-- ======== CONSTRUCTOR SUMMARY ======== --> |
111 |
|
112 |
<A NAME="constructor_summary"><!-- --></A> |
113 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
114 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
115 |
<TD COLSPAN=2><FONT SIZE="+2"> |
116 |
<B>Constructor Summary</B></FONT></TD> |
117 |
</TR> |
118 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
119 |
<TD><CODE><B><A HREF="../estraier/DocumentImpl.html#DocumentImpl()">DocumentImpl</A></B>()</CODE> |
120 |
|
121 |
<BR> |
122 |
</TD> |
123 |
</TR> |
124 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
125 |
<TD><CODE><B><A HREF="../estraier/DocumentImpl.html#DocumentImpl(java.lang.String)">DocumentImpl</A></B>(java.lang.String draft)</CODE> |
126 |
|
127 |
<BR> |
128 |
</TD> |
129 |
</TR> |
130 |
</TABLE> |
131 |
|
132 |
<!-- ========== METHOD SUMMARY =========== --> |
133 |
|
134 |
<A NAME="method_summary"><!-- --></A> |
135 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
136 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
137 |
<TD COLSPAN=2><FONT SIZE="+2"> |
138 |
<B>Method Summary</B></FONT></TD> |
139 |
</TR> |
140 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
141 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
142 |
<CODE> void</CODE></FONT></TD> |
143 |
<TD><CODE><B><A HREF="../estraier/DocumentImpl.html#add_attr(java.lang.String, java.lang.String)">add_attr</A></B>(java.lang.String name, |
144 |
java.lang.String value)</CODE> |
145 |
|
146 |
<BR> |
147 |
Add an attribute.</TD> |
148 |
</TR> |
149 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
150 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
151 |
<CODE> void</CODE></FONT></TD> |
152 |
<TD><CODE><B><A HREF="../estraier/DocumentImpl.html#add_hidden_text(java.lang.String)">add_hidden_text</A></B>(java.lang.String text)</CODE> |
153 |
|
154 |
<BR> |
155 |
Add a hidden sentence.</TD> |
156 |
</TR> |
157 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
158 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
159 |
<CODE> void</CODE></FONT></TD> |
160 |
<TD><CODE><B><A HREF="../estraier/DocumentImpl.html#add_text(java.lang.String)">add_text</A></B>(java.lang.String text)</CODE> |
161 |
|
162 |
<BR> |
163 |
Add a sentence of text.</TD> |
164 |
</TR> |
165 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
166 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
167 |
<CODE> java.util.List</CODE></FONT></TD> |
168 |
<TD><CODE><B><A HREF="../estraier/DocumentImpl.html#attr_names()">attr_names</A></B>()</CODE> |
169 |
|
170 |
<BR> |
171 |
Get a list of attribute names.</TD> |
172 |
</TR> |
173 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
174 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
175 |
<CODE> java.lang.String</CODE></FONT></TD> |
176 |
<TD><CODE><B><A HREF="../estraier/DocumentImpl.html#attr(java.lang.String)">attr</A></B>(java.lang.String name)</CODE> |
177 |
|
178 |
<BR> |
179 |
Get the value of an attribute.</TD> |
180 |
</TR> |
181 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
182 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
183 |
<CODE> java.lang.String</CODE></FONT></TD> |
184 |
<TD><CODE><B><A HREF="../estraier/DocumentImpl.html#cat_texts()">cat_texts</A></B>()</CODE> |
185 |
|
186 |
<BR> |
187 |
Concatenate sentences of the text.</TD> |
188 |
</TR> |
189 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
190 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
191 |
<CODE> java.lang.String</CODE></FONT></TD> |
192 |
<TD><CODE><B><A HREF="../estraier/DocumentImpl.html#dump_draft()">dump_draft</A></B>()</CODE> |
193 |
|
194 |
<BR> |
195 |
Dump draft data.</TD> |
196 |
</TR> |
197 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
198 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
199 |
<CODE> int</CODE></FONT></TD> |
200 |
<TD><CODE><B><A HREF="../estraier/DocumentImpl.html#id()">id</A></B>()</CODE> |
201 |
|
202 |
<BR> |
203 |
Get the ID number.</TD> |
204 |
</TR> |
205 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
206 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
207 |
<CODE> java.lang.String</CODE></FONT></TD> |
208 |
<TD><CODE><B><A HREF="../estraier/DocumentImpl.html#make_snippet(java.util.List, int, int, int)">make_snippet</A></B>(java.util.List words, |
209 |
int wwidth, |
210 |
int hwidth, |
211 |
int awidth)</CODE> |
212 |
|
213 |
<BR> |
214 |
Make a snippet of the body text.</TD> |
215 |
</TR> |
216 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
217 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
218 |
<CODE> boolean</CODE></FONT></TD> |
219 |
<TD><CODE><B><A HREF="../estraier/DocumentImpl.html#scan_words(java.util.List)">scan_words</A></B>(java.util.List words)</CODE> |
220 |
|
221 |
<BR> |
222 |
Check whether the text includes every specified words.</TD> |
223 |
</TR> |
224 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
225 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
226 |
<CODE> java.util.List</CODE></FONT></TD> |
227 |
<TD><CODE><B><A HREF="../estraier/DocumentImpl.html#texts()">texts</A></B>()</CODE> |
228 |
|
229 |
<BR> |
230 |
Get a list of sentences of the text.</TD> |
231 |
</TR> |
232 |
</TABLE> |
233 |
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
234 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
235 |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
236 |
<TD><B>Methods inherited from class java.lang.Object</B></TD> |
237 |
</TR> |
238 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
239 |
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> |
240 |
</TR> |
241 |
</TABLE> |
242 |
|
243 |
<P> |
244 |
|
245 |
<!-- ============ FIELD DETAIL =========== --> |
246 |
|
247 |
|
248 |
<!-- ========= CONSTRUCTOR DETAIL ======== --> |
249 |
|
250 |
<A NAME="constructor_detail"><!-- --></A> |
251 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
252 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
253 |
<TD COLSPAN=1><FONT SIZE="+2"> |
254 |
<B>Constructor Detail</B></FONT></TD> |
255 |
</TR> |
256 |
</TABLE> |
257 |
|
258 |
<A NAME="DocumentImpl()"><!-- --></A><H3> |
259 |
DocumentImpl</H3> |
260 |
<PRE> |
261 |
public <B>DocumentImpl</B>()</PRE> |
262 |
<DL> |
263 |
</DL> |
264 |
<HR> |
265 |
|
266 |
<A NAME="DocumentImpl(java.lang.String)"><!-- --></A><H3> |
267 |
DocumentImpl</H3> |
268 |
<PRE> |
269 |
public <B>DocumentImpl</B>(java.lang.String draft)</PRE> |
270 |
<DL> |
271 |
</DL> |
272 |
|
273 |
<!-- ============ METHOD DETAIL ========== --> |
274 |
|
275 |
<A NAME="method_detail"><!-- --></A> |
276 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
277 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
278 |
<TD COLSPAN=1><FONT SIZE="+2"> |
279 |
<B>Method Detail</B></FONT></TD> |
280 |
</TR> |
281 |
</TABLE> |
282 |
|
283 |
<A NAME="add_attr(java.lang.String, java.lang.String)"><!-- --></A><H3> |
284 |
add_attr</H3> |
285 |
<PRE> |
286 |
public void <B>add_attr</B>(java.lang.String name, |
287 |
java.lang.String value)</PRE> |
288 |
<DL> |
289 |
<DD><B>Description copied from interface: <CODE><A HREF="../estraier/Document.html" title="interface in estraier">Document</A></CODE></B></DD> |
290 |
<DD>Add an attribute. |
291 |
<P> |
292 |
<DD><DL> |
293 |
<DT><B>Specified by:</B><DD><CODE><A HREF="../estraier/Document.html#add_attr(java.lang.String, java.lang.String)">add_attr</A></CODE> in interface <CODE><A HREF="../estraier/Document.html" title="interface in estraier">Document</A></CODE></DL> |
294 |
</DD> |
295 |
<DD><DL> |
296 |
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of an attribute.<DD><CODE>value</CODE> - the value of the attribute. If it is null, the attribute is removed.</DL> |
297 |
</DD> |
298 |
</DL> |
299 |
<HR> |
300 |
|
301 |
<A NAME="add_hidden_text(java.lang.String)"><!-- --></A><H3> |
302 |
add_hidden_text</H3> |
303 |
<PRE> |
304 |
public void <B>add_hidden_text</B>(java.lang.String text)</PRE> |
305 |
<DL> |
306 |
<DD><B>Description copied from interface: <CODE><A HREF="../estraier/Document.html" title="interface in estraier">Document</A></CODE></B></DD> |
307 |
<DD>Add a hidden sentence. |
308 |
<P> |
309 |
<DD><DL> |
310 |
<DT><B>Specified by:</B><DD><CODE><A HREF="../estraier/Document.html#add_hidden_text(java.lang.String)">add_hidden_text</A></CODE> in interface <CODE><A HREF="../estraier/Document.html" title="interface in estraier">Document</A></CODE></DL> |
311 |
</DD> |
312 |
<DD><DL> |
313 |
<DT><B>Parameters:</B><DD><CODE>text</CODE> - a hidden sentence.</DL> |
314 |
</DD> |
315 |
</DL> |
316 |
<HR> |
317 |
|
318 |
<A NAME="add_text(java.lang.String)"><!-- --></A><H3> |
319 |
add_text</H3> |
320 |
<PRE> |
321 |
public void <B>add_text</B>(java.lang.String text)</PRE> |
322 |
<DL> |
323 |
<DD><B>Description copied from interface: <CODE><A HREF="../estraier/Document.html" title="interface in estraier">Document</A></CODE></B></DD> |
324 |
<DD>Add a sentence of text. |
325 |
<P> |
326 |
<DD><DL> |
327 |
<DT><B>Specified by:</B><DD><CODE><A HREF="../estraier/Document.html#add_text(java.lang.String)">add_text</A></CODE> in interface <CODE><A HREF="../estraier/Document.html" title="interface in estraier">Document</A></CODE></DL> |
328 |
</DD> |
329 |
<DD><DL> |
330 |
<DT><B>Parameters:</B><DD><CODE>text</CODE> - sentence of text.</DL> |
331 |
</DD> |
332 |
</DL> |
333 |
<HR> |
334 |
|
335 |
<A NAME="attr_names()"><!-- --></A><H3> |
336 |
attr_names</H3> |
337 |
<PRE> |
338 |
public java.util.List <B>attr_names</B>()</PRE> |
339 |
<DL> |
340 |
<DD><B>Description copied from interface: <CODE><A HREF="../estraier/Document.html" title="interface in estraier">Document</A></CODE></B></DD> |
341 |
<DD>Get a list of attribute names. |
342 |
<P> |
343 |
<DD><DL> |
344 |
<DT><B>Specified by:</B><DD><CODE><A HREF="../estraier/Document.html#attr_names()">attr_names</A></CODE> in interface <CODE><A HREF="../estraier/Document.html" title="interface in estraier">Document</A></CODE></DL> |
345 |
</DD> |
346 |
<DD><DL> |
347 |
|
348 |
<DT><B>Returns:</B><DD>a list of attribute names.</DL> |
349 |
</DD> |
350 |
</DL> |
351 |
<HR> |
352 |
|
353 |
<A NAME="attr(java.lang.String)"><!-- --></A><H3> |
354 |
attr</H3> |
355 |
<PRE> |
356 |
public java.lang.String <B>attr</B>(java.lang.String name)</PRE> |
357 |
<DL> |
358 |
<DD><B>Description copied from interface: <CODE><A HREF="../estraier/Document.html" title="interface in estraier">Document</A></CODE></B></DD> |
359 |
<DD>Get the value of an attribute. |
360 |
<P> |
361 |
<DD><DL> |
362 |
<DT><B>Specified by:</B><DD><CODE><A HREF="../estraier/Document.html#attr(java.lang.String)">attr</A></CODE> in interface <CODE><A HREF="../estraier/Document.html" title="interface in estraier">Document</A></CODE></DL> |
363 |
</DD> |
364 |
<DD><DL> |
365 |
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of an attribute. |
366 |
<DT><B>Returns:</B><DD>the value of the attribute or null if it does not exist.</DL> |
367 |
</DD> |
368 |
</DL> |
369 |
<HR> |
370 |
|
371 |
<A NAME="cat_texts()"><!-- --></A><H3> |
372 |
cat_texts</H3> |
373 |
<PRE> |
374 |
public java.lang.String <B>cat_texts</B>()</PRE> |
375 |
<DL> |
376 |
<DD><B>Description copied from interface: <CODE><A HREF="../estraier/Document.html" title="interface in estraier">Document</A></CODE></B></DD> |
377 |
<DD>Concatenate sentences of the text. |
378 |
<P> |
379 |
<DD><DL> |
380 |
<DT><B>Specified by:</B><DD><CODE><A HREF="../estraier/Document.html#cat_texts()">cat_texts</A></CODE> in interface <CODE><A HREF="../estraier/Document.html" title="interface in estraier">Document</A></CODE></DL> |
381 |
</DD> |
382 |
<DD><DL> |
383 |
|
384 |
<DT><B>Returns:</B><DD>concatenated sentences of a document object.</DL> |
385 |
</DD> |
386 |
</DL> |
387 |
<HR> |
388 |
|
389 |
<A NAME="dump_draft()"><!-- --></A><H3> |
390 |
dump_draft</H3> |
391 |
<PRE> |
392 |
public java.lang.String <B>dump_draft</B>()</PRE> |
393 |
<DL> |
394 |
<DD><B>Description copied from interface: <CODE><A HREF="../estraier/Document.html" title="interface in estraier">Document</A></CODE></B></DD> |
395 |
<DD>Dump draft data. |
396 |
<P> |
397 |
<DD><DL> |
398 |
<DT><B>Specified by:</B><DD><CODE><A HREF="../estraier/Document.html#dump_draft()">dump_draft</A></CODE> in interface <CODE><A HREF="../estraier/Document.html" title="interface in estraier">Document</A></CODE></DL> |
399 |
</DD> |
400 |
<DD><DL> |
401 |
|
402 |
<DT><B>Returns:</B><DD>draft data.</DL> |
403 |
</DD> |
404 |
</DL> |
405 |
<HR> |
406 |
|
407 |
<A NAME="id()"><!-- --></A><H3> |
408 |
id</H3> |
409 |
<PRE> |
410 |
public int <B>id</B>()</PRE> |
411 |
<DL> |
412 |
<DD><B>Description copied from interface: <CODE><A HREF="../estraier/Document.html" title="interface in estraier">Document</A></CODE></B></DD> |
413 |
<DD>Get the ID number. |
414 |
<P> |
415 |
<DD><DL> |
416 |
<DT><B>Specified by:</B><DD><CODE><A HREF="../estraier/Document.html#id()">id</A></CODE> in interface <CODE><A HREF="../estraier/Document.html" title="interface in estraier">Document</A></CODE></DL> |
417 |
</DD> |
418 |
<DD><DL> |
419 |
|
420 |
<DT><B>Returns:</B><DD>the ID number. If this object has never been registered, -1 is returned.</DL> |
421 |
</DD> |
422 |
</DL> |
423 |
<HR> |
424 |
|
425 |
<A NAME="make_snippet(java.util.List, int, int, int)"><!-- --></A><H3> |
426 |
make_snippet</H3> |
427 |
<PRE> |
428 |
public java.lang.String <B>make_snippet</B>(java.util.List words, |
429 |
int wwidth, |
430 |
int hwidth, |
431 |
int awidth)</PRE> |
432 |
<DL> |
433 |
<DD>Make a snippet of the body text. |
434 |
<P> |
435 |
<DD><DL> |
436 |
<DT><B>Specified by:</B><DD><CODE><A HREF="../estraier/Document.html#make_snippet(java.util.List, int, int, int)">make_snippet</A></CODE> in interface <CODE><A HREF="../estraier/Document.html" title="interface in estraier">Document</A></CODE></DL> |
437 |
</DD> |
438 |
<DD><DL> |
439 |
<DT><B>Parameters:</B><DD><CODE>words</CODE> - a list object of words to be highlight.<DD><CODE>wwidth</CODE> - whole width of the result.<DD><CODE>hwidth</CODE> - width of strings picked up from the beginning of the text.<DD><CODE>awidth</CODE> - width of strings picked up around each highlighted word. |
440 |
<DT><B>Returns:</B><DD>a snippet string of the body text.<DT><B>Note:</B></DT> |
441 |
<DD>This class have never been implemented yet.</DD> |
442 |
</DL> |
443 |
</DD> |
444 |
</DL> |
445 |
<HR> |
446 |
|
447 |
<A NAME="scan_words(java.util.List)"><!-- --></A><H3> |
448 |
scan_words</H3> |
449 |
<PRE> |
450 |
public boolean <B>scan_words</B>(java.util.List words)</PRE> |
451 |
<DL> |
452 |
<DD>Check whether the text includes every specified words. |
453 |
<P> |
454 |
<DD><DL> |
455 |
<DT><B>Specified by:</B><DD><CODE><A HREF="../estraier/Document.html#scan_words(java.util.List)">scan_words</A></CODE> in interface <CODE><A HREF="../estraier/Document.html" title="interface in estraier">Document</A></CODE></DL> |
456 |
</DD> |
457 |
<DD><DL> |
458 |
<DT><B>Parameters:</B><DD><CODE>words</CODE> - a list object of words to be checked. |
459 |
<DT><B>Returns:</B><DD>true if every specified words is found, else it is false.<DT><B>Note:</B></DT> |
460 |
<DD>This class have never been implemented yet.</DD> |
461 |
</DL> |
462 |
</DD> |
463 |
</DL> |
464 |
<HR> |
465 |
|
466 |
<A NAME="texts()"><!-- --></A><H3> |
467 |
texts</H3> |
468 |
<PRE> |
469 |
public java.util.List <B>texts</B>()</PRE> |
470 |
<DL> |
471 |
<DD><B>Description copied from interface: <CODE><A HREF="../estraier/Document.html" title="interface in estraier">Document</A></CODE></B></DD> |
472 |
<DD>Get a list of sentences of the text. |
473 |
<P> |
474 |
<DD><DL> |
475 |
<DT><B>Specified by:</B><DD><CODE><A HREF="../estraier/Document.html#texts()">texts</A></CODE> in interface <CODE><A HREF="../estraier/Document.html" title="interface in estraier">Document</A></CODE></DL> |
476 |
</DD> |
477 |
<DD><DL> |
478 |
|
479 |
<DT><B>Returns:</B><DD>a list object of sentences of the text.</DL> |
480 |
</DD> |
481 |
</DL> |
482 |
<!-- ========= END OF CLASS DATA ========= --> |
483 |
<HR> |
484 |
|
485 |
|
486 |
<!-- ======= START OF BOTTOM NAVBAR ====== --> |
487 |
<A NAME="navbar_bottom"><!-- --></A> |
488 |
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
489 |
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
490 |
<TR> |
491 |
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
492 |
<A NAME="navbar_bottom_firstrow"><!-- --></A> |
493 |
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
494 |
<TR ALIGN="center" VALIGN="top"> |
495 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
496 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
497 |
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
498 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
499 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
500 |
</TR> |
501 |
</TABLE> |
502 |
</TD> |
503 |
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
504 |
</EM> |
505 |
</TD> |
506 |
</TR> |
507 |
|
508 |
<TR> |
509 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
510 |
<A HREF="../estraier/Document.html" title="interface in estraier"><B>PREV CLASS</B></A> |
511 |
<A HREF="../estraier/Node.html" title="interface in estraier"><B>NEXT CLASS</B></A></FONT></TD> |
512 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
513 |
<A HREF="../index.html" target="_top"><B>FRAMES</B></A> |
514 |
<A HREF="DocumentImpl.html" target="_top"><B>NO FRAMES</B></A> |
515 |
<SCRIPT type="text/javascript"> |
516 |
<!-- |
517 |
if(window==top) { |
518 |
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>'); |
519 |
} |
520 |
//--> |
521 |
</SCRIPT> |
522 |
<NOSCRIPT> |
523 |
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A> |
524 |
</NOSCRIPT> |
525 |
|
526 |
</FONT></TD> |
527 |
</TR> |
528 |
<TR> |
529 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
530 |
SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
531 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
532 |
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
533 |
</TR> |
534 |
</TABLE> |
535 |
<A NAME="skip-navbar_bottom"></A> |
536 |
<!-- ======== END OF BOTTOM NAVBAR ======= --> |
537 |
|
538 |
<HR> |
539 |
|
540 |
</BODY> |
541 |
</HTML> |