[14627] | 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:16 NZST 2007 -->
|
---|
| 6 | <TITLE>
|
---|
| 7 | ProjectHelper2.AntHandler (Apache Ant API)
|
---|
| 8 | </TITLE>
|
---|
| 9 |
|
---|
| 10 | <META NAME="keywords" CONTENT="org.apache.tools.ant.helper.ProjectHelper2.AntHandler 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="ProjectHelper2.AntHandler (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> </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="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
---|
| 40 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
---|
| 41 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </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 | <A HREF="../../../../../org/apache/tools/ant/helper/ProjectHelper2.html" title="class in org.apache.tools.ant.helper"><B>PREV CLASS</B></A>
|
---|
| 53 | <A HREF="../../../../../org/apache/tools/ant/helper/ProjectHelper2.ElementHandler.html" title="class in org.apache.tools.ant.helper"><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>
|
---|
| 56 | <A HREF="ProjectHelper2.AntHandler.html" target="_top"><B>NO FRAMES</B></A>
|
---|
| 57 | <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: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
---|
| 73 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
| 74 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <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">
|
---|
| 84 | org.apache.tools.ant.helper</FONT>
|
---|
| 85 | <BR>
|
---|
| 86 | Class ProjectHelper2.AntHandler</H2>
|
---|
| 87 | <PRE>
|
---|
| 88 | java.lang.Object
|
---|
| 89 | <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><B>org.apache.tools.ant.helper.ProjectHelper2.AntHandler</B>
|
---|
| 90 | </PRE>
|
---|
| 91 | <DL>
|
---|
| 92 | <DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../../org/apache/tools/ant/helper/ProjectHelper2.ElementHandler.html" title="class in org.apache.tools.ant.helper">ProjectHelper2.ElementHandler</A>, <A HREF="../../../../../org/apache/tools/ant/helper/ProjectHelper2.MainHandler.html" title="class in org.apache.tools.ant.helper">ProjectHelper2.MainHandler</A>, <A HREF="../../../../../org/apache/tools/ant/helper/ProjectHelper2.ProjectHandler.html" title="class in org.apache.tools.ant.helper">ProjectHelper2.ProjectHandler</A>, <A HREF="../../../../../org/apache/tools/ant/helper/ProjectHelper2.TargetHandler.html" title="class in org.apache.tools.ant.helper">ProjectHelper2.TargetHandler</A></DD>
|
---|
| 93 | </DL>
|
---|
| 94 | <DL>
|
---|
| 95 | <DT><B>Enclosing class:</B><DD><A HREF="../../../../../org/apache/tools/ant/helper/ProjectHelper2.html" title="class in org.apache.tools.ant.helper">ProjectHelper2</A></DD>
|
---|
| 96 | </DL>
|
---|
| 97 | <HR>
|
---|
| 98 | <DL>
|
---|
| 99 | <DT>public static class <B>ProjectHelper2.AntHandler</B><DT>extends java.lang.Object</DL>
|
---|
| 100 |
|
---|
| 101 | <P>
|
---|
| 102 | The common superclass for all SAX event handlers used to parse
|
---|
| 103 | the configuration file.
|
---|
| 104 |
|
---|
| 105 | The context will hold all state information. At each time
|
---|
| 106 | there is one active handler for the current element. It can
|
---|
| 107 | use onStartChild() to set an alternate handler for the child.
|
---|
| 108 | <P>
|
---|
| 109 |
|
---|
| 110 | <P>
|
---|
| 111 | <HR>
|
---|
| 112 |
|
---|
| 113 | <P>
|
---|
| 114 | <!-- ======== NESTED CLASS SUMMARY ======== -->
|
---|
| 115 |
|
---|
| 116 |
|
---|
| 117 | <!-- =========== FIELD SUMMARY =========== -->
|
---|
| 118 |
|
---|
| 119 |
|
---|
| 120 | <!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
---|
| 121 |
|
---|
| 122 | <A NAME="constructor_summary"><!-- --></A>
|
---|
| 123 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
| 124 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
| 125 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
| 126 | <B>Constructor Summary</B></FONT></TD>
|
---|
| 127 | </TR>
|
---|
| 128 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 129 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/helper/ProjectHelper2.AntHandler.html#ProjectHelper2.AntHandler()">ProjectHelper2.AntHandler</A></B>()</CODE>
|
---|
| 130 |
|
---|
| 131 | <BR>
|
---|
| 132 | </TD>
|
---|
| 133 | </TR>
|
---|
| 134 | </TABLE>
|
---|
| 135 |
|
---|
| 136 | <!-- ========== METHOD SUMMARY =========== -->
|
---|
| 137 |
|
---|
| 138 | <A NAME="method_summary"><!-- --></A>
|
---|
| 139 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
| 140 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
| 141 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
| 142 | <B>Method Summary</B></FONT></TD>
|
---|
| 143 | </TR>
|
---|
| 144 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 145 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
| 146 | <CODE> void</CODE></FONT></TD>
|
---|
| 147 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/helper/ProjectHelper2.AntHandler.html#characters(char[], int, int, org.apache.tools.ant.helper.AntXMLContext)">characters</A></B>(char[] buf,
|
---|
| 148 | int start,
|
---|
| 149 | int count,
|
---|
| 150 | <A HREF="../../../../../org/apache/tools/ant/helper/AntXMLContext.html" title="class in org.apache.tools.ant.helper">AntXMLContext</A> context)</CODE>
|
---|
| 151 |
|
---|
| 152 | <BR>
|
---|
| 153 | Handles text within an element.</TD>
|
---|
| 154 | </TR>
|
---|
| 155 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 156 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
| 157 | <CODE>protected void</CODE></FONT></TD>
|
---|
| 158 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/helper/ProjectHelper2.AntHandler.html#checkNamespace(java.lang.String)">checkNamespace</A></B>(java.lang.String uri)</CODE>
|
---|
| 159 |
|
---|
| 160 | <BR>
|
---|
| 161 | Will be called every time a namespace is reached.</TD>
|
---|
| 162 | </TR>
|
---|
| 163 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 164 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
| 165 | <CODE> void</CODE></FONT></TD>
|
---|
| 166 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/helper/ProjectHelper2.AntHandler.html#onEndChild(java.lang.String, java.lang.String, java.lang.String, org.apache.tools.ant.helper.AntXMLContext)">onEndChild</A></B>(java.lang.String uri,
|
---|
| 167 | java.lang.String tag,
|
---|
| 168 | java.lang.String qname,
|
---|
| 169 | <A HREF="../../../../../org/apache/tools/ant/helper/AntXMLContext.html" title="class in org.apache.tools.ant.helper">AntXMLContext</A> context)</CODE>
|
---|
| 170 |
|
---|
| 171 | <BR>
|
---|
| 172 | Handle the end of a element.</TD>
|
---|
| 173 | </TR>
|
---|
| 174 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 175 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
| 176 | <CODE> void</CODE></FONT></TD>
|
---|
| 177 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/helper/ProjectHelper2.AntHandler.html#onEndElement(java.lang.String, java.lang.String, org.apache.tools.ant.helper.AntXMLContext)">onEndElement</A></B>(java.lang.String uri,
|
---|
| 178 | java.lang.String tag,
|
---|
| 179 | <A HREF="../../../../../org/apache/tools/ant/helper/AntXMLContext.html" title="class in org.apache.tools.ant.helper">AntXMLContext</A> context)</CODE>
|
---|
| 180 |
|
---|
| 181 | <BR>
|
---|
| 182 | This method is called when this element and all elements nested into it have been
|
---|
| 183 | handled.</TD>
|
---|
| 184 | </TR>
|
---|
| 185 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 186 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
| 187 | <CODE> <A HREF="../../../../../org/apache/tools/ant/helper/ProjectHelper2.AntHandler.html" title="class in org.apache.tools.ant.helper">ProjectHelper2.AntHandler</A></CODE></FONT></TD>
|
---|
| 188 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/helper/ProjectHelper2.AntHandler.html#onStartChild(java.lang.String, java.lang.String, java.lang.String, org.xml.sax.Attributes, org.apache.tools.ant.helper.AntXMLContext)">onStartChild</A></B>(java.lang.String uri,
|
---|
| 189 | java.lang.String tag,
|
---|
| 190 | java.lang.String qname,
|
---|
| 191 | org.xml.sax.Attributes attrs,
|
---|
| 192 | <A HREF="../../../../../org/apache/tools/ant/helper/AntXMLContext.html" title="class in org.apache.tools.ant.helper">AntXMLContext</A> context)</CODE>
|
---|
| 193 |
|
---|
| 194 | <BR>
|
---|
| 195 | Handles the start of an element.</TD>
|
---|
| 196 | </TR>
|
---|
| 197 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 198 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
| 199 | <CODE> void</CODE></FONT></TD>
|
---|
| 200 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/helper/ProjectHelper2.AntHandler.html#onStartElement(java.lang.String, java.lang.String, java.lang.String, org.xml.sax.Attributes, org.apache.tools.ant.helper.AntXMLContext)">onStartElement</A></B>(java.lang.String uri,
|
---|
| 201 | java.lang.String tag,
|
---|
| 202 | java.lang.String qname,
|
---|
| 203 | org.xml.sax.Attributes attrs,
|
---|
| 204 | <A HREF="../../../../../org/apache/tools/ant/helper/AntXMLContext.html" title="class in org.apache.tools.ant.helper">AntXMLContext</A> context)</CODE>
|
---|
| 205 |
|
---|
| 206 | <BR>
|
---|
| 207 | Handles the start of an element.</TD>
|
---|
| 208 | </TR>
|
---|
| 209 | </TABLE>
|
---|
| 210 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
---|
| 211 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
| 212 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
| 213 | <TD><B>Methods inherited from class java.lang.Object</B></TD>
|
---|
| 214 | </TR>
|
---|
| 215 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 216 | <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
|
---|
| 217 | </TR>
|
---|
| 218 | </TABLE>
|
---|
| 219 |
|
---|
| 220 | <P>
|
---|
| 221 |
|
---|
| 222 | <!-- ============ FIELD DETAIL =========== -->
|
---|
| 223 |
|
---|
| 224 |
|
---|
| 225 | <!-- ========= CONSTRUCTOR DETAIL ======== -->
|
---|
| 226 |
|
---|
| 227 | <A NAME="constructor_detail"><!-- --></A>
|
---|
| 228 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
| 229 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
| 230 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
| 231 | <B>Constructor Detail</B></FONT></TD>
|
---|
| 232 | </TR>
|
---|
| 233 | </TABLE>
|
---|
| 234 |
|
---|
| 235 | <A NAME="ProjectHelper2.AntHandler()"><!-- --></A><H3>
|
---|
| 236 | ProjectHelper2.AntHandler</H3>
|
---|
| 237 | <PRE>
|
---|
| 238 | public <B>ProjectHelper2.AntHandler</B>()</PRE>
|
---|
| 239 | <DL>
|
---|
| 240 | </DL>
|
---|
| 241 |
|
---|
| 242 | <!-- ============ METHOD DETAIL ========== -->
|
---|
| 243 |
|
---|
| 244 | <A NAME="method_detail"><!-- --></A>
|
---|
| 245 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
| 246 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
| 247 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
| 248 | <B>Method Detail</B></FONT></TD>
|
---|
| 249 | </TR>
|
---|
| 250 | </TABLE>
|
---|
| 251 |
|
---|
| 252 | <A NAME="onStartElement(java.lang.String, java.lang.String, java.lang.String, org.xml.sax.Attributes, org.apache.tools.ant.helper.AntXMLContext)"><!-- --></A><H3>
|
---|
| 253 | onStartElement</H3>
|
---|
| 254 | <PRE>
|
---|
| 255 | public void <B>onStartElement</B>(java.lang.String uri,
|
---|
| 256 | java.lang.String tag,
|
---|
| 257 | java.lang.String qname,
|
---|
| 258 | org.xml.sax.Attributes attrs,
|
---|
| 259 | <A HREF="../../../../../org/apache/tools/ant/helper/AntXMLContext.html" title="class in org.apache.tools.ant.helper">AntXMLContext</A> context)
|
---|
| 260 | throws org.xml.sax.SAXParseException</PRE>
|
---|
| 261 | <DL>
|
---|
| 262 | <DD>Handles the start of an element. This base implementation does
|
---|
| 263 | nothing.
|
---|
| 264 | <P>
|
---|
| 265 | <DD><DL>
|
---|
| 266 | <DT><B>Parameters:</B><DD><CODE>uri</CODE> - the namespace URI for the tag<DD><CODE>tag</CODE> - The name of the element being started.
|
---|
| 267 | Will not be <code>null</code>.<DD><CODE>qname</CODE> - The qualified name of the element.<DD><CODE>attrs</CODE> - Attributes of the element being started.
|
---|
| 268 | Will not be <code>null</code>.<DD><CODE>context</CODE> - The context that this element is in.
|
---|
| 269 | <DT><B>Throws:</B>
|
---|
| 270 | <DD><CODE>org.xml.sax.SAXParseException</CODE> - if this method is not overridden, or in
|
---|
| 271 | case of error in an overridden version</DL>
|
---|
| 272 | </DD>
|
---|
| 273 | </DL>
|
---|
| 274 | <HR>
|
---|
| 275 |
|
---|
| 276 | <A NAME="onStartChild(java.lang.String, java.lang.String, java.lang.String, org.xml.sax.Attributes, org.apache.tools.ant.helper.AntXMLContext)"><!-- --></A><H3>
|
---|
| 277 | onStartChild</H3>
|
---|
| 278 | <PRE>
|
---|
| 279 | public <A HREF="../../../../../org/apache/tools/ant/helper/ProjectHelper2.AntHandler.html" title="class in org.apache.tools.ant.helper">ProjectHelper2.AntHandler</A> <B>onStartChild</B>(java.lang.String uri,
|
---|
| 280 | java.lang.String tag,
|
---|
| 281 | java.lang.String qname,
|
---|
| 282 | org.xml.sax.Attributes attrs,
|
---|
| 283 | <A HREF="../../../../../org/apache/tools/ant/helper/AntXMLContext.html" title="class in org.apache.tools.ant.helper">AntXMLContext</A> context)
|
---|
| 284 | throws org.xml.sax.SAXParseException</PRE>
|
---|
| 285 | <DL>
|
---|
| 286 | <DD>Handles the start of an element. This base implementation just
|
---|
| 287 | throws an exception - you must override this method if you expect
|
---|
| 288 | child elements.
|
---|
| 289 | <P>
|
---|
| 290 | <DD><DL>
|
---|
| 291 | <DT><B>Parameters:</B><DD><CODE>uri</CODE> - The namespace uri for this element.<DD><CODE>tag</CODE> - The name of the element being started.
|
---|
| 292 | Will not be <code>null</code>.<DD><CODE>qname</CODE> - The qualified name for this element.<DD><CODE>attrs</CODE> - Attributes of the element being started.
|
---|
| 293 | Will not be <code>null</code>.<DD><CODE>context</CODE> - The current context.
|
---|
| 294 | <DT><B>Returns:</B><DD>a handler (in the derived classes)
|
---|
| 295 | <DT><B>Throws:</B>
|
---|
| 296 | <DD><CODE>org.xml.sax.SAXParseException</CODE> - if this method is not overridden, or in
|
---|
| 297 | case of error in an overridden version</DL>
|
---|
| 298 | </DD>
|
---|
| 299 | </DL>
|
---|
| 300 | <HR>
|
---|
| 301 |
|
---|
| 302 | <A NAME="onEndChild(java.lang.String, java.lang.String, java.lang.String, org.apache.tools.ant.helper.AntXMLContext)"><!-- --></A><H3>
|
---|
| 303 | onEndChild</H3>
|
---|
| 304 | <PRE>
|
---|
| 305 | public void <B>onEndChild</B>(java.lang.String uri,
|
---|
| 306 | java.lang.String tag,
|
---|
| 307 | java.lang.String qname,
|
---|
| 308 | <A HREF="../../../../../org/apache/tools/ant/helper/AntXMLContext.html" title="class in org.apache.tools.ant.helper">AntXMLContext</A> context)
|
---|
| 309 | throws org.xml.sax.SAXParseException</PRE>
|
---|
| 310 | <DL>
|
---|
| 311 | <DD>Handle the end of a element.
|
---|
| 312 | <P>
|
---|
| 313 | <DD><DL>
|
---|
| 314 | <DT><B>Parameters:</B><DD><CODE>uri</CODE> - the namespace uri of the element<DD><CODE>tag</CODE> - the tag of the element<DD><CODE>qname</CODE> - the qualified name of the element<DD><CODE>context</CODE> - the current context
|
---|
| 315 | <DT><B>Throws:</B>
|
---|
| 316 | <DD><CODE>org.xml.sax.SAXParseException</CODE> - if an error occurs</DL>
|
---|
| 317 | </DD>
|
---|
| 318 | </DL>
|
---|
| 319 | <HR>
|
---|
| 320 |
|
---|
| 321 | <A NAME="onEndElement(java.lang.String, java.lang.String, org.apache.tools.ant.helper.AntXMLContext)"><!-- --></A><H3>
|
---|
| 322 | onEndElement</H3>
|
---|
| 323 | <PRE>
|
---|
| 324 | public void <B>onEndElement</B>(java.lang.String uri,
|
---|
| 325 | java.lang.String tag,
|
---|
| 326 | <A HREF="../../../../../org/apache/tools/ant/helper/AntXMLContext.html" title="class in org.apache.tools.ant.helper">AntXMLContext</A> context)</PRE>
|
---|
| 327 | <DL>
|
---|
| 328 | <DD>This method is called when this element and all elements nested into it have been
|
---|
| 329 | handled. I.e., this happens at the </end_tag_of_the_element>.
|
---|
| 330 | <P>
|
---|
| 331 | <DD><DL>
|
---|
| 332 | <DT><B>Parameters:</B><DD><CODE>uri</CODE> - the namespace uri for this element<DD><CODE>tag</CODE> - the element name<DD><CODE>context</CODE> - the current context</DL>
|
---|
| 333 | </DD>
|
---|
| 334 | </DL>
|
---|
| 335 | <HR>
|
---|
| 336 |
|
---|
| 337 | <A NAME="characters(char[], int, int, org.apache.tools.ant.helper.AntXMLContext)"><!-- --></A><H3>
|
---|
| 338 | characters</H3>
|
---|
| 339 | <PRE>
|
---|
| 340 | public void <B>characters</B>(char[] buf,
|
---|
| 341 | int start,
|
---|
| 342 | int count,
|
---|
| 343 | <A HREF="../../../../../org/apache/tools/ant/helper/AntXMLContext.html" title="class in org.apache.tools.ant.helper">AntXMLContext</A> context)
|
---|
| 344 | throws org.xml.sax.SAXParseException</PRE>
|
---|
| 345 | <DL>
|
---|
| 346 | <DD>Handles text within an element. This base implementation just
|
---|
| 347 | throws an exception, you must override it if you expect content.
|
---|
| 348 | <P>
|
---|
| 349 | <DD><DL>
|
---|
| 350 | <DT><B>Parameters:</B><DD><CODE>buf</CODE> - A character array of the text within the element.
|
---|
| 351 | Will not be <code>null</code>.<DD><CODE>start</CODE> - The start element in the array.<DD><CODE>count</CODE> - The number of characters to read from the array.<DD><CODE>context</CODE> - The current context.
|
---|
| 352 | <DT><B>Throws:</B>
|
---|
| 353 | <DD><CODE>org.xml.sax.SAXParseException</CODE> - if this method is not overridden, or in
|
---|
| 354 | case of error in an overridden version</DL>
|
---|
| 355 | </DD>
|
---|
| 356 | </DL>
|
---|
| 357 | <HR>
|
---|
| 358 |
|
---|
| 359 | <A NAME="checkNamespace(java.lang.String)"><!-- --></A><H3>
|
---|
| 360 | checkNamespace</H3>
|
---|
| 361 | <PRE>
|
---|
| 362 | protected void <B>checkNamespace</B>(java.lang.String uri)</PRE>
|
---|
| 363 | <DL>
|
---|
| 364 | <DD>Will be called every time a namespace is reached.
|
---|
| 365 | It'll verify if the ns was processed, and if not load the task
|
---|
| 366 | definitions.
|
---|
| 367 | <P>
|
---|
| 368 | <DD><DL>
|
---|
| 369 | <DT><B>Parameters:</B><DD><CODE>uri</CODE> - The namespace uri.</DL>
|
---|
| 370 | </DD>
|
---|
| 371 | </DL>
|
---|
| 372 | <!-- ========= END OF CLASS DATA ========= -->
|
---|
| 373 | <HR>
|
---|
| 374 |
|
---|
| 375 |
|
---|
| 376 | <!-- ======= START OF BOTTOM NAVBAR ====== -->
|
---|
| 377 | <A NAME="navbar_bottom"><!-- --></A>
|
---|
| 378 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
---|
| 379 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
---|
| 380 | <TR>
|
---|
| 381 | <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
---|
| 382 | <A NAME="navbar_bottom_firstrow"><!-- --></A>
|
---|
| 383 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
---|
| 384 | <TR ALIGN="center" VALIGN="top">
|
---|
| 385 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
---|
| 386 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
---|
| 387 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
---|
| 388 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
---|
| 389 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
---|
| 390 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
---|
| 391 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
---|
| 392 | </TR>
|
---|
| 393 | </TABLE>
|
---|
| 394 | </TD>
|
---|
| 395 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
---|
| 396 | </EM>
|
---|
| 397 | </TD>
|
---|
| 398 | </TR>
|
---|
| 399 |
|
---|
| 400 | <TR>
|
---|
| 401 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
| 402 | <A HREF="../../../../../org/apache/tools/ant/helper/ProjectHelper2.html" title="class in org.apache.tools.ant.helper"><B>PREV CLASS</B></A>
|
---|
| 403 | <A HREF="../../../../../org/apache/tools/ant/helper/ProjectHelper2.ElementHandler.html" title="class in org.apache.tools.ant.helper"><B>NEXT CLASS</B></A></FONT></TD>
|
---|
| 404 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
| 405 | <A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A>
|
---|
| 406 | <A HREF="ProjectHelper2.AntHandler.html" target="_top"><B>NO FRAMES</B></A>
|
---|
| 407 | <SCRIPT type="text/javascript">
|
---|
| 408 | <!--
|
---|
| 409 | if(window==top) {
|
---|
| 410 | document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
---|
| 411 | }
|
---|
| 412 | //-->
|
---|
| 413 | </SCRIPT>
|
---|
| 414 | <NOSCRIPT>
|
---|
| 415 | <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
---|
| 416 | </NOSCRIPT>
|
---|
| 417 |
|
---|
| 418 | </FONT></TD>
|
---|
| 419 | </TR>
|
---|
| 420 | <TR>
|
---|
| 421 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
| 422 | SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
---|
| 423 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
| 424 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
---|
| 425 | </TR>
|
---|
| 426 | </TABLE>
|
---|
| 427 | <A NAME="skip-navbar_bottom"></A>
|
---|
| 428 | <!-- ======== END OF BOTTOM NAVBAR ======= -->
|
---|
| 429 |
|
---|
| 430 | <HR>
|
---|
| 431 | Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.
|
---|
| 432 | </BODY>
|
---|
| 433 | </HTML>
|
---|