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:32 NZST 2007 -->
|
---|
6 | <TITLE>
|
---|
7 | RegularExpression (Apache Ant API)
|
---|
8 | </TITLE>
|
---|
9 |
|
---|
10 | <META NAME="keywords" CONTENT="org.apache.tools.ant.types.RegularExpression 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="RegularExpression (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/types/Reference.html" title="class in org.apache.tools.ant.types"><B>PREV CLASS</B></A>
|
---|
53 | <A HREF="../../../../../org/apache/tools/ant/types/Resource.html" title="class in org.apache.tools.ant.types"><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="RegularExpression.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 | <A HREF="#field_summary">FIELD</A> | <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: <A HREF="#field_detail">FIELD</A> | <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.types</FONT>
|
---|
85 | <BR>
|
---|
86 | Class RegularExpression</H2>
|
---|
87 | <PRE>
|
---|
88 | java.lang.Object
|
---|
89 | <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html" title="class in org.apache.tools.ant">org.apache.tools.ant.ProjectComponent</A>
|
---|
90 | <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><A HREF="../../../../../org/apache/tools/ant/types/DataType.html" title="class in org.apache.tools.ant.types">org.apache.tools.ant.types.DataType</A>
|
---|
91 | <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><B>org.apache.tools.ant.types.RegularExpression</B>
|
---|
92 | </PRE>
|
---|
93 | <HR>
|
---|
94 | <DL>
|
---|
95 | <DT>public class <B>RegularExpression</B><DT>extends <A HREF="../../../../../org/apache/tools/ant/types/DataType.html" title="class in org.apache.tools.ant.types">DataType</A></DL>
|
---|
96 |
|
---|
97 | <P>
|
---|
98 | A regular expression datatype. Keeps an instance of the
|
---|
99 | compiled expression for speed purposes. This compiled
|
---|
100 | expression is lazily evaluated (it is compiled the first
|
---|
101 | time it is needed). The syntax is the dependent on which
|
---|
102 | regular expression type you are using. The system property
|
---|
103 | "ant.regexp.regexpimpl" will be the classname of the implementation
|
---|
104 | that will be used.
|
---|
105 |
|
---|
106 | <pre>
|
---|
107 | For jdk <= 1.3, there are two available implementations:
|
---|
108 | org.apache.tools.ant.util.regexp.JakartaOroRegexp (the default)
|
---|
109 | Based on the jakarta-oro package
|
---|
110 |
|
---|
111 | org.apache.tools.ant.util.regexp.JakartaRegexpRegexp
|
---|
112 | Based on the jakarta-regexp package
|
---|
113 |
|
---|
114 | For jdk >= 1.4 an additional implementation is available:
|
---|
115 | org.apache.tools.ant.util.regexp.Jdk14RegexpRegexp
|
---|
116 | Based on the jdk 1.4 built in regular expression package.
|
---|
117 | </pre>
|
---|
118 |
|
---|
119 | <pre>
|
---|
120 | <regexp [ [id="id"] pattern="expression" | refid="id" ]
|
---|
121 | />
|
---|
122 | </pre>
|
---|
123 | <P>
|
---|
124 |
|
---|
125 | <P>
|
---|
126 | <DL>
|
---|
127 | <DT><B>See Also:</B><DD><CODE>org.apache.oro.text.regex.Perl5Compiler</CODE>,
|
---|
128 | <CODE>RE</CODE>,
|
---|
129 | <CODE>Pattern</CODE>,
|
---|
130 | <A HREF="../../../../../org/apache/tools/ant/util/regexp/Regexp.html" title="interface in org.apache.tools.ant.util.regexp"><CODE>Regexp</CODE></A></DL>
|
---|
131 | <HR>
|
---|
132 |
|
---|
133 | <P>
|
---|
134 | <!-- ======== NESTED CLASS SUMMARY ======== -->
|
---|
135 |
|
---|
136 |
|
---|
137 | <!-- =========== FIELD SUMMARY =========== -->
|
---|
138 |
|
---|
139 | <A NAME="field_summary"><!-- --></A>
|
---|
140 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
141 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
142 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
143 | <B>Field Summary</B></FONT></TD>
|
---|
144 | </TR>
|
---|
145 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
146 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
147 | <CODE>static java.lang.String</CODE></FONT></TD>
|
---|
148 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/types/RegularExpression.html#DATA_TYPE_NAME">DATA_TYPE_NAME</A></B></CODE>
|
---|
149 |
|
---|
150 | <BR>
|
---|
151 | Name of this data type</TD>
|
---|
152 | </TR>
|
---|
153 | </TABLE>
|
---|
154 | <A NAME="fields_inherited_from_class_org.apache.tools.ant.types.DataType"><!-- --></A>
|
---|
155 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
156 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
157 | <TD><B>Fields inherited from class org.apache.tools.ant.types.<A HREF="../../../../../org/apache/tools/ant/types/DataType.html" title="class in org.apache.tools.ant.types">DataType</A></B></TD>
|
---|
158 | </TR>
|
---|
159 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
160 | <TD><CODE><A HREF="../../../../../org/apache/tools/ant/types/DataType.html#checked">checked</A>, <A HREF="../../../../../org/apache/tools/ant/types/DataType.html#description">description</A>, <A HREF="../../../../../org/apache/tools/ant/types/DataType.html#ref">ref</A></CODE></TD>
|
---|
161 | </TR>
|
---|
162 | </TABLE>
|
---|
163 | <A NAME="fields_inherited_from_class_org.apache.tools.ant.ProjectComponent"><!-- --></A>
|
---|
164 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
165 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
166 | <TD><B>Fields inherited from class org.apache.tools.ant.<A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html" title="class in org.apache.tools.ant">ProjectComponent</A></B></TD>
|
---|
167 | </TR>
|
---|
168 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
169 | <TD><CODE><A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html#project">project</A></CODE></TD>
|
---|
170 | </TR>
|
---|
171 | </TABLE>
|
---|
172 |
|
---|
173 | <!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
---|
174 |
|
---|
175 | <A NAME="constructor_summary"><!-- --></A>
|
---|
176 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
177 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
178 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
179 | <B>Constructor Summary</B></FONT></TD>
|
---|
180 | </TR>
|
---|
181 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
182 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/types/RegularExpression.html#RegularExpression()">RegularExpression</A></B>()</CODE>
|
---|
183 |
|
---|
184 | <BR>
|
---|
185 | default constructor</TD>
|
---|
186 | </TR>
|
---|
187 | </TABLE>
|
---|
188 |
|
---|
189 | <!-- ========== METHOD SUMMARY =========== -->
|
---|
190 |
|
---|
191 | <A NAME="method_summary"><!-- --></A>
|
---|
192 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
193 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
194 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
195 | <B>Method Summary</B></FONT></TD>
|
---|
196 | </TR>
|
---|
197 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
198 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
199 | <CODE> java.lang.String</CODE></FONT></TD>
|
---|
200 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/types/RegularExpression.html#getPattern(org.apache.tools.ant.Project)">getPattern</A></B>(<A HREF="../../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</A> p)</CODE>
|
---|
201 |
|
---|
202 | <BR>
|
---|
203 | Gets the pattern string for this RegularExpression in the
|
---|
204 | given project.</TD>
|
---|
205 | </TR>
|
---|
206 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
207 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
208 | <CODE> <A HREF="../../../../../org/apache/tools/ant/types/RegularExpression.html" title="class in org.apache.tools.ant.types">RegularExpression</A></CODE></FONT></TD>
|
---|
209 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/types/RegularExpression.html#getRef(org.apache.tools.ant.Project)">getRef</A></B>(<A HREF="../../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</A> p)</CODE>
|
---|
210 |
|
---|
211 | <BR>
|
---|
212 | Get the RegularExpression this reference refers to in
|
---|
213 | the given project.</TD>
|
---|
214 | </TR>
|
---|
215 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
216 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
217 | <CODE> <A HREF="../../../../../org/apache/tools/ant/util/regexp/Regexp.html" title="interface in org.apache.tools.ant.util.regexp">Regexp</A></CODE></FONT></TD>
|
---|
218 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/types/RegularExpression.html#getRegexp(org.apache.tools.ant.Project)">getRegexp</A></B>(<A HREF="../../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</A> p)</CODE>
|
---|
219 |
|
---|
220 | <BR>
|
---|
221 | provides a reference to the Regexp contained in this</TD>
|
---|
222 | </TR>
|
---|
223 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
224 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
225 | <CODE> void</CODE></FONT></TD>
|
---|
226 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/types/RegularExpression.html#setPattern(java.lang.String)">setPattern</A></B>(java.lang.String pattern)</CODE>
|
---|
227 |
|
---|
228 | <BR>
|
---|
229 | sets the regular expression pattern</TD>
|
---|
230 | </TR>
|
---|
231 | </TABLE>
|
---|
232 | <A NAME="methods_inherited_from_class_org.apache.tools.ant.types.DataType"><!-- --></A>
|
---|
233 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
234 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
235 | <TD><B>Methods inherited from class org.apache.tools.ant.types.<A HREF="../../../../../org/apache/tools/ant/types/DataType.html" title="class in org.apache.tools.ant.types">DataType</A></B></TD>
|
---|
236 | </TR>
|
---|
237 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
238 | <TD><CODE><A HREF="../../../../../org/apache/tools/ant/types/DataType.html#checkAttributesAllowed()">checkAttributesAllowed</A>, <A HREF="../../../../../org/apache/tools/ant/types/DataType.html#checkChildrenAllowed()">checkChildrenAllowed</A>, <A HREF="../../../../../org/apache/tools/ant/types/DataType.html#circularReference()">circularReference</A>, <A HREF="../../../../../org/apache/tools/ant/types/DataType.html#dieOnCircularReference(java.util.Stack, org.apache.tools.ant.Project)">dieOnCircularReference</A>, <A HREF="../../../../../org/apache/tools/ant/types/DataType.html#getCheckedRef(java.lang.Class, java.lang.String)">getCheckedRef</A>, <A HREF="../../../../../org/apache/tools/ant/types/DataType.html#getDescription()">getDescription</A>, <A HREF="../../../../../org/apache/tools/ant/types/DataType.html#getRefid()">getRefid</A>, <A HREF="../../../../../org/apache/tools/ant/types/DataType.html#isChecked()">isChecked</A>, <A HREF="../../../../../org/apache/tools/ant/types/DataType.html#isReference()">isReference</A>, <A HREF="../../../../../org/apache/tools/ant/types/DataType.html#noChildrenAllowed()">noChildrenAllowed</A>, <A HREF="../../../../../org/apache/tools/ant/types/DataType.html#setChecked(boolean)">setChecked</A>, <A HREF="../../../../../org/apache/tools/ant/types/DataType.html#setDescription(java.lang.String)">setDescription</A>, <A HREF="../../../../../org/apache/tools/ant/types/DataType.html#setRefid(org.apache.tools.ant.types.Reference)">setRefid</A>, <A HREF="../../../../../org/apache/tools/ant/types/DataType.html#tooManyAttributes()">tooManyAttributes</A></CODE></TD>
|
---|
239 | </TR>
|
---|
240 | </TABLE>
|
---|
241 | <A NAME="methods_inherited_from_class_org.apache.tools.ant.ProjectComponent"><!-- --></A>
|
---|
242 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
243 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
244 | <TD><B>Methods inherited from class org.apache.tools.ant.<A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html" title="class in org.apache.tools.ant">ProjectComponent</A></B></TD>
|
---|
245 | </TR>
|
---|
246 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
247 | <TD><CODE><A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html#getProject()">getProject</A>, <A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html#log(java.lang.String)">log</A>, <A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html#log(java.lang.String, int)">log</A>, <A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html#setProject(org.apache.tools.ant.Project)">setProject</A></CODE></TD>
|
---|
248 | </TR>
|
---|
249 | </TABLE>
|
---|
250 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
---|
251 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
252 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
253 | <TD><B>Methods inherited from class java.lang.Object</B></TD>
|
---|
254 | </TR>
|
---|
255 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
256 | <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
|
---|
257 | </TR>
|
---|
258 | </TABLE>
|
---|
259 |
|
---|
260 | <P>
|
---|
261 |
|
---|
262 | <!-- ============ FIELD DETAIL =========== -->
|
---|
263 |
|
---|
264 | <A NAME="field_detail"><!-- --></A>
|
---|
265 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
266 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
267 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
268 | <B>Field Detail</B></FONT></TD>
|
---|
269 | </TR>
|
---|
270 | </TABLE>
|
---|
271 |
|
---|
272 | <A NAME="DATA_TYPE_NAME"><!-- --></A><H3>
|
---|
273 | DATA_TYPE_NAME</H3>
|
---|
274 | <PRE>
|
---|
275 | public static final java.lang.String <B>DATA_TYPE_NAME</B></PRE>
|
---|
276 | <DL>
|
---|
277 | <DD>Name of this data type
|
---|
278 | <P>
|
---|
279 | <DL>
|
---|
280 | <DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.tools.ant.types.RegularExpression.DATA_TYPE_NAME">Constant Field Values</A></DL>
|
---|
281 | </DL>
|
---|
282 |
|
---|
283 | <!-- ========= CONSTRUCTOR DETAIL ======== -->
|
---|
284 |
|
---|
285 | <A NAME="constructor_detail"><!-- --></A>
|
---|
286 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
287 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
288 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
289 | <B>Constructor Detail</B></FONT></TD>
|
---|
290 | </TR>
|
---|
291 | </TABLE>
|
---|
292 |
|
---|
293 | <A NAME="RegularExpression()"><!-- --></A><H3>
|
---|
294 | RegularExpression</H3>
|
---|
295 | <PRE>
|
---|
296 | public <B>RegularExpression</B>()</PRE>
|
---|
297 | <DL>
|
---|
298 | <DD>default constructor
|
---|
299 | <P>
|
---|
300 | </DL>
|
---|
301 |
|
---|
302 | <!-- ============ METHOD DETAIL ========== -->
|
---|
303 |
|
---|
304 | <A NAME="method_detail"><!-- --></A>
|
---|
305 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
306 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
307 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
308 | <B>Method Detail</B></FONT></TD>
|
---|
309 | </TR>
|
---|
310 | </TABLE>
|
---|
311 |
|
---|
312 | <A NAME="setPattern(java.lang.String)"><!-- --></A><H3>
|
---|
313 | setPattern</H3>
|
---|
314 | <PRE>
|
---|
315 | public void <B>setPattern</B>(java.lang.String pattern)</PRE>
|
---|
316 | <DL>
|
---|
317 | <DD>sets the regular expression pattern
|
---|
318 | <P>
|
---|
319 | <DD><DL>
|
---|
320 | <DT><B>Parameters:</B><DD><CODE>pattern</CODE> - regular expression pattern</DL>
|
---|
321 | </DD>
|
---|
322 | </DL>
|
---|
323 | <HR>
|
---|
324 |
|
---|
325 | <A NAME="getPattern(org.apache.tools.ant.Project)"><!-- --></A><H3>
|
---|
326 | getPattern</H3>
|
---|
327 | <PRE>
|
---|
328 | public java.lang.String <B>getPattern</B>(<A HREF="../../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</A> p)</PRE>
|
---|
329 | <DL>
|
---|
330 | <DD>Gets the pattern string for this RegularExpression in the
|
---|
331 | given project.
|
---|
332 | <P>
|
---|
333 | <DD><DL>
|
---|
334 | <DT><B>Parameters:</B><DD><CODE>p</CODE> - project
|
---|
335 | <DT><B>Returns:</B><DD>pattern</DL>
|
---|
336 | </DD>
|
---|
337 | </DL>
|
---|
338 | <HR>
|
---|
339 |
|
---|
340 | <A NAME="getRegexp(org.apache.tools.ant.Project)"><!-- --></A><H3>
|
---|
341 | getRegexp</H3>
|
---|
342 | <PRE>
|
---|
343 | public <A HREF="../../../../../org/apache/tools/ant/util/regexp/Regexp.html" title="interface in org.apache.tools.ant.util.regexp">Regexp</A> <B>getRegexp</B>(<A HREF="../../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</A> p)</PRE>
|
---|
344 | <DL>
|
---|
345 | <DD>provides a reference to the Regexp contained in this
|
---|
346 | <P>
|
---|
347 | <DD><DL>
|
---|
348 | <DT><B>Parameters:</B><DD><CODE>p</CODE> - project
|
---|
349 | <DT><B>Returns:</B><DD>Regexp instance associated with this RegularExpression instance</DL>
|
---|
350 | </DD>
|
---|
351 | </DL>
|
---|
352 | <HR>
|
---|
353 |
|
---|
354 | <A NAME="getRef(org.apache.tools.ant.Project)"><!-- --></A><H3>
|
---|
355 | getRef</H3>
|
---|
356 | <PRE>
|
---|
357 | public <A HREF="../../../../../org/apache/tools/ant/types/RegularExpression.html" title="class in org.apache.tools.ant.types">RegularExpression</A> <B>getRef</B>(<A HREF="../../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</A> p)</PRE>
|
---|
358 | <DL>
|
---|
359 | <DD>Get the RegularExpression this reference refers to in
|
---|
360 | the given project. Check for circular references too
|
---|
361 | <P>
|
---|
362 | <DD><DL>
|
---|
363 | <DT><B>Parameters:</B><DD><CODE>p</CODE> - project
|
---|
364 | <DT><B>Returns:</B><DD>resolved RegularExpression instance</DL>
|
---|
365 | </DD>
|
---|
366 | </DL>
|
---|
367 | <!-- ========= END OF CLASS DATA ========= -->
|
---|
368 | <HR>
|
---|
369 |
|
---|
370 |
|
---|
371 | <!-- ======= START OF BOTTOM NAVBAR ====== -->
|
---|
372 | <A NAME="navbar_bottom"><!-- --></A>
|
---|
373 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
---|
374 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
---|
375 | <TR>
|
---|
376 | <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
---|
377 | <A NAME="navbar_bottom_firstrow"><!-- --></A>
|
---|
378 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
---|
379 | <TR ALIGN="center" VALIGN="top">
|
---|
380 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
---|
381 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
---|
382 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
---|
383 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
---|
384 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
---|
385 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
---|
386 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
---|
387 | </TR>
|
---|
388 | </TABLE>
|
---|
389 | </TD>
|
---|
390 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
---|
391 | </EM>
|
---|
392 | </TD>
|
---|
393 | </TR>
|
---|
394 |
|
---|
395 | <TR>
|
---|
396 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
397 | <A HREF="../../../../../org/apache/tools/ant/types/Reference.html" title="class in org.apache.tools.ant.types"><B>PREV CLASS</B></A>
|
---|
398 | <A HREF="../../../../../org/apache/tools/ant/types/Resource.html" title="class in org.apache.tools.ant.types"><B>NEXT CLASS</B></A></FONT></TD>
|
---|
399 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
400 | <A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A>
|
---|
401 | <A HREF="RegularExpression.html" target="_top"><B>NO FRAMES</B></A>
|
---|
402 | <SCRIPT type="text/javascript">
|
---|
403 | <!--
|
---|
404 | if(window==top) {
|
---|
405 | document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
---|
406 | }
|
---|
407 | //-->
|
---|
408 | </SCRIPT>
|
---|
409 | <NOSCRIPT>
|
---|
410 | <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
---|
411 | </NOSCRIPT>
|
---|
412 |
|
---|
413 | </FONT></TD>
|
---|
414 | </TR>
|
---|
415 | <TR>
|
---|
416 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
417 | SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
---|
418 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
419 | DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
---|
420 | </TR>
|
---|
421 | </TABLE>
|
---|
422 | <A NAME="skip-navbar_bottom"></A>
|
---|
423 | <!-- ======== END OF BOTTOM NAVBAR ======= -->
|
---|
424 |
|
---|
425 | <HR>
|
---|
426 | Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.
|
---|
427 | </BODY>
|
---|
428 | </HTML>
|
---|