source: release-kits/lirk3/resources/gs3-release-maker/ant/docs/manual/api/org/apache/tools/ant/taskdefs/optional/ejb/DescriptorHandler.html@ 14982

Last change on this file since 14982 was 14982, checked in by oranfry, 16 years ago

initial import of LiRK3

File size: 23.4 KB
Line 
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_13) on Mon Oct 01 14:33:26 NZST 2007 -->
6<TITLE>
7DescriptorHandler (Apache Ant API)
8</TITLE>
9
10<META NAME="keywords" CONTENT="org.apache.tools.ant.taskdefs.optional.ejb.DescriptorHandler class">
11
12<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../../stylesheet.css" TITLE="Style">
13
14<SCRIPT type="text/javascript">
15function windowTitle()
16{
17 parent.document.title="DescriptorHandler (Apache Ant API)";
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>&nbsp;</TD>
36 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
37 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
38 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
39 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
40 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
42 </TR>
43</TABLE>
44</TD>
45<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
46</EM>
47</TD>
48</TR>
49
50<TR>
51<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
52&nbsp;<A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/DDCreatorHelper.html" title="class in org.apache.tools.ant.taskdefs.optional.ejb"><B>PREV CLASS</B></A>&nbsp;
53&nbsp;<A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/Ejbc.html" title="class in org.apache.tools.ant.taskdefs.optional.ejb"><B>NEXT CLASS</B></A></FONT></TD>
54<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
55 <A HREF="../../../../../../../index.html" target="_top"><B>FRAMES</B></A> &nbsp;
56&nbsp;<A HREF="DescriptorHandler.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
57&nbsp;<SCRIPT type="text/javascript">
58 <!--
59 if(window==top) {
60 document.writeln('<A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
61 }
62 //-->
63</SCRIPT>
64<NOSCRIPT>
65 <A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
66</NOSCRIPT>
67
68</FONT></TD>
69</TR>
70<TR>
71<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
72 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
73<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
74DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
75</TR>
76</TABLE>
77<A NAME="skip-navbar_top"></A>
78<!-- ========= END OF TOP NAVBAR ========= -->
79
80<HR>
81<!-- ======== START OF CLASS DATA ======== -->
82<H2>
83<FONT SIZE="-1">
84org.apache.tools.ant.taskdefs.optional.ejb</FONT>
85<BR>
86Class DescriptorHandler</H2>
87<PRE>
88java.lang.Object
89 <IMG SRC="../../../../../../../resources/inherit.gif" ALT="extended by">org.xml.sax.HandlerBase
90 <IMG SRC="../../../../../../../resources/inherit.gif" ALT="extended by"><B>org.apache.tools.ant.taskdefs.optional.ejb.DescriptorHandler</B>
91</PRE>
92<DL>
93<DT><B>All Implemented Interfaces:</B> <DD>org.xml.sax.DocumentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler</DD>
94</DL>
95<HR>
96<DL>
97<DT>public class <B>DescriptorHandler</B><DT>extends org.xml.sax.HandlerBase</DL>
98
99<P>
100Inner class used by EjbJar to facilitate the parsing of deployment
101 descriptors and the capture of appropriate information. Extends
102 HandlerBase so it only implements the methods needed. During parsing
103 creates a hashtable consisting of entries mapping the name it should be
104 inserted into an EJB jar as to a File representing the file on disk. This
105 list can then be accessed through the getFiles() method.
106<P>
107
108<P>
109<HR>
110
111<P>
112<!-- ======== NESTED CLASS SUMMARY ======== -->
113
114
115<!-- =========== FIELD SUMMARY =========== -->
116
117<A NAME="field_summary"><!-- --></A>
118<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
119<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
120<TD COLSPAN=2><FONT SIZE="+2">
121<B>Field Summary</B></FONT></TD>
122</TR>
123<TR BGCOLOR="white" CLASS="TableRowColor">
124<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
125<CODE>protected &nbsp;java.lang.String</CODE></FONT></TD>
126<TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/DescriptorHandler.html#currentElement">currentElement</A></B></CODE>
127
128<BR>
129&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Instance variable used to store the name of the current element being
130 processed by the SAX parser.</TD>
131</TR>
132<TR BGCOLOR="white" CLASS="TableRowColor">
133<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
134<CODE>protected &nbsp;java.lang.String</CODE></FONT></TD>
135<TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/DescriptorHandler.html#currentText">currentText</A></B></CODE>
136
137<BR>
138&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The text of the current element</TD>
139</TR>
140<TR BGCOLOR="white" CLASS="TableRowColor">
141<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
142<CODE>protected &nbsp;java.util.Hashtable</CODE></FONT></TD>
143<TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/DescriptorHandler.html#ejbFiles">ejbFiles</A></B></CODE>
144
145<BR>
146&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Instance variable that stores the names of the files as they will be
147 put into the jar file, mapped to File objects Accessed by the SAX
148 parser call-back method characters().</TD>
149</TR>
150<TR BGCOLOR="white" CLASS="TableRowColor">
151<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
152<CODE>protected &nbsp;java.lang.String</CODE></FONT></TD>
153<TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/DescriptorHandler.html#ejbName">ejbName</A></B></CODE>
154
155<BR>
156&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Instance variable that stores the value found in the &lt;ejb-name&gt; element</TD>
157</TR>
158</TABLE>
159&nbsp;
160<!-- ======== CONSTRUCTOR SUMMARY ======== -->
161
162<A NAME="constructor_summary"><!-- --></A>
163<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
164<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
165<TD COLSPAN=2><FONT SIZE="+2">
166<B>Constructor Summary</B></FONT></TD>
167</TR>
168<TR BGCOLOR="white" CLASS="TableRowColor">
169<TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/DescriptorHandler.html#DescriptorHandler(org.apache.tools.ant.Task, java.io.File)">DescriptorHandler</A></B>(<A HREF="../../../../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A>&nbsp;task,
170 java.io.File&nbsp;srcDir)</CODE>
171
172<BR>
173&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
174</TR>
175</TABLE>
176&nbsp;
177<!-- ========== METHOD SUMMARY =========== -->
178
179<A NAME="method_summary"><!-- --></A>
180<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
181<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
182<TD COLSPAN=2><FONT SIZE="+2">
183<B>Method Summary</B></FONT></TD>
184</TR>
185<TR BGCOLOR="white" CLASS="TableRowColor">
186<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
187<CODE>&nbsp;void</CODE></FONT></TD>
188<TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/DescriptorHandler.html#characters(char[], int, int)">characters</A></B>(char[]&nbsp;ch,
189 int&nbsp;start,
190 int&nbsp;length)</CODE>
191
192<BR>
193&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SAX parser call-back method invoked whenever characters are located within
194 an element.</TD>
195</TR>
196<TR BGCOLOR="white" CLASS="TableRowColor">
197<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
198<CODE>&nbsp;void</CODE></FONT></TD>
199<TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/DescriptorHandler.html#endElement(java.lang.String)">endElement</A></B>(java.lang.String&nbsp;name)</CODE>
200
201<BR>
202&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SAX parser call-back method that is invoked when an element is exited.</TD>
203</TR>
204<TR BGCOLOR="white" CLASS="TableRowColor">
205<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
206<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
207<TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/DescriptorHandler.html#getEjbName()">getEjbName</A></B>()</CODE>
208
209<BR>
210&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Getter method that returns the value of the &lt;ejb-name&gt; element.</TD>
211</TR>
212<TR BGCOLOR="white" CLASS="TableRowColor">
213<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
214<CODE>&nbsp;java.util.Hashtable</CODE></FONT></TD>
215<TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/DescriptorHandler.html#getFiles()">getFiles</A></B>()</CODE>
216
217<BR>
218&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Getter method that returns the set of files to include in the EJB jar.</TD>
219</TR>
220<TR BGCOLOR="white" CLASS="TableRowColor">
221<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
222<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
223<TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/DescriptorHandler.html#getPublicId()">getPublicId</A></B>()</CODE>
224
225<BR>
226&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the publicId of the DTD</TD>
227</TR>
228<TR BGCOLOR="white" CLASS="TableRowColor">
229<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
230<CODE>protected &nbsp;void</CODE></FONT></TD>
231<TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/DescriptorHandler.html#processElement()">processElement</A></B>()</CODE>
232
233<BR>
234&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
235</TR>
236<TR BGCOLOR="white" CLASS="TableRowColor">
237<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
238<CODE>&nbsp;void</CODE></FONT></TD>
239<TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/DescriptorHandler.html#registerDTD(java.lang.String, java.lang.String)">registerDTD</A></B>(java.lang.String&nbsp;publicId,
240 java.lang.String&nbsp;location)</CODE>
241
242<BR>
243&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
244</TR>
245<TR BGCOLOR="white" CLASS="TableRowColor">
246<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
247<CODE>&nbsp;org.xml.sax.InputSource</CODE></FONT></TD>
248<TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/DescriptorHandler.html#resolveEntity(java.lang.String, java.lang.String)">resolveEntity</A></B>(java.lang.String&nbsp;publicId,
249 java.lang.String&nbsp;systemId)</CODE>
250
251<BR>
252&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
253</TR>
254<TR BGCOLOR="white" CLASS="TableRowColor">
255<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
256<CODE>&nbsp;void</CODE></FONT></TD>
257<TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/DescriptorHandler.html#startDocument()">startDocument</A></B>()</CODE>
258
259<BR>
260&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SAX parser call-back method that is used to initialize the values of some
261 instance variables to ensure safe operation.</TD>
262</TR>
263<TR BGCOLOR="white" CLASS="TableRowColor">
264<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
265<CODE>&nbsp;void</CODE></FONT></TD>
266<TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/DescriptorHandler.html#startElement(java.lang.String, org.xml.sax.AttributeList)">startElement</A></B>(java.lang.String&nbsp;name,
267 org.xml.sax.AttributeList&nbsp;attrs)</CODE>
268
269<BR>
270&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SAX parser call-back method that is invoked when a new element is entered
271 into.</TD>
272</TR>
273</TABLE>
274&nbsp;<A NAME="methods_inherited_from_class_org.xml.sax.HandlerBase"><!-- --></A>
275<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
276<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
277<TD><B>Methods inherited from class org.xml.sax.HandlerBase</B></TD>
278</TR>
279<TR BGCOLOR="white" CLASS="TableRowColor">
280<TD><CODE>endDocument, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, setDocumentLocator, unparsedEntityDecl, warning</CODE></TD>
281</TR>
282</TABLE>
283&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
284<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
285<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
286<TD><B>Methods inherited from class java.lang.Object</B></TD>
287</TR>
288<TR BGCOLOR="white" CLASS="TableRowColor">
289<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
290</TR>
291</TABLE>
292&nbsp;
293<P>
294
295<!-- ============ FIELD DETAIL =========== -->
296
297<A NAME="field_detail"><!-- --></A>
298<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
299<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
300<TD COLSPAN=1><FONT SIZE="+2">
301<B>Field Detail</B></FONT></TD>
302</TR>
303</TABLE>
304
305<A NAME="currentElement"><!-- --></A><H3>
306currentElement</H3>
307<PRE>
308protected java.lang.String <B>currentElement</B></PRE>
309<DL>
310<DD>Instance variable used to store the name of the current element being
311 processed by the SAX parser. Accessed by the SAX parser call-back methods
312 startElement() and endElement().
313<P>
314<DL>
315</DL>
316</DL>
317<HR>
318
319<A NAME="currentText"><!-- --></A><H3>
320currentText</H3>
321<PRE>
322protected java.lang.String <B>currentText</B></PRE>
323<DL>
324<DD>The text of the current element
325<P>
326<DL>
327</DL>
328</DL>
329<HR>
330
331<A NAME="ejbFiles"><!-- --></A><H3>
332ejbFiles</H3>
333<PRE>
334protected java.util.Hashtable <B>ejbFiles</B></PRE>
335<DL>
336<DD>Instance variable that stores the names of the files as they will be
337 put into the jar file, mapped to File objects Accessed by the SAX
338 parser call-back method characters().
339<P>
340<DL>
341</DL>
342</DL>
343<HR>
344
345<A NAME="ejbName"><!-- --></A><H3>
346ejbName</H3>
347<PRE>
348protected java.lang.String <B>ejbName</B></PRE>
349<DL>
350<DD>Instance variable that stores the value found in the &lt;ejb-name&gt; element
351<P>
352<DL>
353</DL>
354</DL>
355
356<!-- ========= CONSTRUCTOR DETAIL ======== -->
357
358<A NAME="constructor_detail"><!-- --></A>
359<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
360<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
361<TD COLSPAN=1><FONT SIZE="+2">
362<B>Constructor Detail</B></FONT></TD>
363</TR>
364</TABLE>
365
366<A NAME="DescriptorHandler(org.apache.tools.ant.Task, java.io.File)"><!-- --></A><H3>
367DescriptorHandler</H3>
368<PRE>
369public <B>DescriptorHandler</B>(<A HREF="../../../../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A>&nbsp;task,
370 java.io.File&nbsp;srcDir)</PRE>
371<DL>
372</DL>
373
374<!-- ============ METHOD DETAIL ========== -->
375
376<A NAME="method_detail"><!-- --></A>
377<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
378<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
379<TD COLSPAN=1><FONT SIZE="+2">
380<B>Method Detail</B></FONT></TD>
381</TR>
382</TABLE>
383
384<A NAME="registerDTD(java.lang.String, java.lang.String)"><!-- --></A><H3>
385registerDTD</H3>
386<PRE>
387public void <B>registerDTD</B>(java.lang.String&nbsp;publicId,
388 java.lang.String&nbsp;location)</PRE>
389<DL>
390<DD><DL>
391</DL>
392</DD>
393</DL>
394<HR>
395
396<A NAME="resolveEntity(java.lang.String, java.lang.String)"><!-- --></A><H3>
397resolveEntity</H3>
398<PRE>
399public org.xml.sax.InputSource <B>resolveEntity</B>(java.lang.String&nbsp;publicId,
400 java.lang.String&nbsp;systemId)
401 throws org.xml.sax.SAXException</PRE>
402<DL>
403<DD><DL>
404
405<DT><B>Throws:</B>
406<DD><CODE>org.xml.sax.SAXException</CODE></DL>
407</DD>
408</DL>
409<HR>
410
411<A NAME="getFiles()"><!-- --></A><H3>
412getFiles</H3>
413<PRE>
414public java.util.Hashtable <B>getFiles</B>()</PRE>
415<DL>
416<DD>Getter method that returns the set of files to include in the EJB jar.
417<P>
418<DD><DL>
419</DL>
420</DD>
421</DL>
422<HR>
423
424<A NAME="getPublicId()"><!-- --></A><H3>
425getPublicId</H3>
426<PRE>
427public java.lang.String <B>getPublicId</B>()</PRE>
428<DL>
429<DD>Get the publicId of the DTD
430<P>
431<DD><DL>
432</DL>
433</DD>
434</DL>
435<HR>
436
437<A NAME="getEjbName()"><!-- --></A><H3>
438getEjbName</H3>
439<PRE>
440public java.lang.String <B>getEjbName</B>()</PRE>
441<DL>
442<DD>Getter method that returns the value of the &lt;ejb-name&gt; element.
443<P>
444<DD><DL>
445</DL>
446</DD>
447</DL>
448<HR>
449
450<A NAME="startDocument()"><!-- --></A><H3>
451startDocument</H3>
452<PRE>
453public void <B>startDocument</B>()
454 throws org.xml.sax.SAXException</PRE>
455<DL>
456<DD>SAX parser call-back method that is used to initialize the values of some
457 instance variables to ensure safe operation.
458<P>
459<DD><DL>
460
461<DT><B>Throws:</B>
462<DD><CODE>org.xml.sax.SAXException</CODE></DL>
463</DD>
464</DL>
465<HR>
466
467<A NAME="startElement(java.lang.String, org.xml.sax.AttributeList)"><!-- --></A><H3>
468startElement</H3>
469<PRE>
470public void <B>startElement</B>(java.lang.String&nbsp;name,
471 org.xml.sax.AttributeList&nbsp;attrs)
472 throws org.xml.sax.SAXException</PRE>
473<DL>
474<DD>SAX parser call-back method that is invoked when a new element is entered
475 into. Used to store the context (attribute name) in the currentAttribute
476 instance variable.
477<P>
478<DD><DL>
479<DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of the element being entered.<DD><CODE>attrs</CODE> - Attributes associated to the element.
480<DT><B>Throws:</B>
481<DD><CODE>org.xml.sax.SAXException</CODE></DL>
482</DD>
483</DL>
484<HR>
485
486<A NAME="endElement(java.lang.String)"><!-- --></A><H3>
487endElement</H3>
488<PRE>
489public void <B>endElement</B>(java.lang.String&nbsp;name)
490 throws org.xml.sax.SAXException</PRE>
491<DL>
492<DD>SAX parser call-back method that is invoked when an element is exited.
493 Used to blank out (set to the empty string, not nullify) the name of
494 the currentAttribute. A better method would be to use a stack as an
495 instance variable, however since we are only interested in leaf-node
496 data this is a simpler and workable solution.
497<P>
498<DD><DL>
499<DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of the attribute being exited. Ignored
500 in this implementation.
501<DT><B>Throws:</B>
502<DD><CODE>org.xml.sax.SAXException</CODE></DL>
503</DD>
504</DL>
505<HR>
506
507<A NAME="characters(char[], int, int)"><!-- --></A><H3>
508characters</H3>
509<PRE>
510public void <B>characters</B>(char[]&nbsp;ch,
511 int&nbsp;start,
512 int&nbsp;length)
513 throws org.xml.sax.SAXException</PRE>
514<DL>
515<DD>SAX parser call-back method invoked whenever characters are located within
516 an element. currentAttribute (modified by startElement and endElement)
517 tells us whether we are in an interesting element (one of the up to four
518 classes of an EJB). If so then converts the classname from the format
519 org.apache.tools.ant.Parser to the convention for storing such a class,
520 org/apache/tools/ant/Parser.class. This is then resolved into a file
521 object under the srcdir which is stored in a Hashtable.
522<P>
523<DD><DL>
524<DT><B>Parameters:</B><DD><CODE>ch</CODE> - A character array containing all the characters in
525 the element, and maybe others that should be ignored.<DD><CODE>start</CODE> - An integer marking the position in the char
526 array to start reading from.<DD><CODE>length</CODE> - An integer representing an offset into the
527 char array where the current data terminates.
528<DT><B>Throws:</B>
529<DD><CODE>org.xml.sax.SAXException</CODE></DL>
530</DD>
531</DL>
532<HR>
533
534<A NAME="processElement()"><!-- --></A><H3>
535processElement</H3>
536<PRE>
537protected void <B>processElement</B>()</PRE>
538<DL>
539<DD><DL>
540</DL>
541</DD>
542</DL>
543<!-- ========= END OF CLASS DATA ========= -->
544<HR>
545
546
547<!-- ======= START OF BOTTOM NAVBAR ====== -->
548<A NAME="navbar_bottom"><!-- --></A>
549<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
550<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
551<TR>
552<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
553<A NAME="navbar_bottom_firstrow"><!-- --></A>
554<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
555 <TR ALIGN="center" VALIGN="top">
556 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
557 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
558 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
559 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
560 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
561 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
562 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
563 </TR>
564</TABLE>
565</TD>
566<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
567</EM>
568</TD>
569</TR>
570
571<TR>
572<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
573&nbsp;<A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/DDCreatorHelper.html" title="class in org.apache.tools.ant.taskdefs.optional.ejb"><B>PREV CLASS</B></A>&nbsp;
574&nbsp;<A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/ejb/Ejbc.html" title="class in org.apache.tools.ant.taskdefs.optional.ejb"><B>NEXT CLASS</B></A></FONT></TD>
575<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
576 <A HREF="../../../../../../../index.html" target="_top"><B>FRAMES</B></A> &nbsp;
577&nbsp;<A HREF="DescriptorHandler.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
578&nbsp;<SCRIPT type="text/javascript">
579 <!--
580 if(window==top) {
581 document.writeln('<A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
582 }
583 //-->
584</SCRIPT>
585<NOSCRIPT>
586 <A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
587</NOSCRIPT>
588
589</FONT></TD>
590</TR>
591<TR>
592<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
593 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
594<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
595DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
596</TR>
597</TABLE>
598<A NAME="skip-navbar_bottom"></A>
599<!-- ======== END OF BOTTOM NAVBAR ======= -->
600
601<HR>
602Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.
603</BODY>
604</HTML>
Note: See TracBrowser for help on using the repository browser.