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

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

initial import of LiRK3

File size: 9.1 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:27 NZST 2007 -->
6<TITLE>
7JspMangler (Apache Ant API)
8</TITLE>
9
10<META NAME="keywords" CONTENT="org.apache.tools.ant.taskdefs.optional.jsp.JspMangler interface">
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="JspMangler (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;PREV CLASS&nbsp;
53&nbsp;NEXT CLASS</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="JspMangler.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;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
73<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
74DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&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.jsp</FONT>
85<BR>
86Interface JspMangler</H2>
87<DL>
88<DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/jsp/Jasper41Mangler.html" title="class in org.apache.tools.ant.taskdefs.optional.jsp">Jasper41Mangler</A>, <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/jsp/JspNameMangler.html" title="class in org.apache.tools.ant.taskdefs.optional.jsp">JspNameMangler</A></DD>
89</DL>
90<HR>
91<DL>
92<DT>public interface <B>JspMangler</B></DL>
93
94<P>
95This is an interface to the Mangler service that jspc needs to map
96 JSP file names to java files.
97 Note the complete lack of correlation
98 with Jasper's mangler interface.
99<P>
100
101<P>
102<HR>
103
104<P>
105<!-- ======== NESTED CLASS SUMMARY ======== -->
106
107
108<!-- =========== FIELD SUMMARY =========== -->
109
110
111<!-- ======== CONSTRUCTOR SUMMARY ======== -->
112
113
114<!-- ========== METHOD SUMMARY =========== -->
115
116<A NAME="method_summary"><!-- --></A>
117<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
118<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
119<TD COLSPAN=2><FONT SIZE="+2">
120<B>Method Summary</B></FONT></TD>
121</TR>
122<TR BGCOLOR="white" CLASS="TableRowColor">
123<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
124<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
125<TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/jsp/JspMangler.html#mapJspToJavaName(java.io.File)">mapJspToJavaName</A></B>(java.io.File&nbsp;jspFile)</CODE>
126
127<BR>
128&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;map from a jsp file to a java filename; does not do packages</TD>
129</TR>
130<TR BGCOLOR="white" CLASS="TableRowColor">
131<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
132<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
133<TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/jsp/JspMangler.html#mapPath(java.lang.String)">mapPath</A></B>(java.lang.String&nbsp;path)</CODE>
134
135<BR>
136&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;taking in the substring representing the path relative to the source dir
137 return a new string representing the destination path</TD>
138</TR>
139</TABLE>
140&nbsp;
141<P>
142
143<!-- ============ FIELD DETAIL =========== -->
144
145
146<!-- ========= CONSTRUCTOR DETAIL ======== -->
147
148
149<!-- ============ METHOD DETAIL ========== -->
150
151<A NAME="method_detail"><!-- --></A>
152<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
153<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
154<TD COLSPAN=1><FONT SIZE="+2">
155<B>Method Detail</B></FONT></TD>
156</TR>
157</TABLE>
158
159<A NAME="mapJspToJavaName(java.io.File)"><!-- --></A><H3>
160mapJspToJavaName</H3>
161<PRE>
162public java.lang.String <B>mapJspToJavaName</B>(java.io.File&nbsp;jspFile)</PRE>
163<DL>
164<DD>map from a jsp file to a java filename; does not do packages
165<P>
166<DD><DL>
167<DT><B>Parameters:</B><DD><CODE>jspFile</CODE> - file
168<DT><B>Returns:</B><DD>java filename</DL>
169</DD>
170</DL>
171<HR>
172
173<A NAME="mapPath(java.lang.String)"><!-- --></A><H3>
174mapPath</H3>
175<PRE>
176public java.lang.String <B>mapPath</B>(java.lang.String&nbsp;path)</PRE>
177<DL>
178<DD>taking in the substring representing the path relative to the source dir
179 return a new string representing the destination path
180<P>
181<DD><DL>
182</DL>
183</DD>
184</DL>
185<!-- ========= END OF CLASS DATA ========= -->
186<HR>
187
188
189<!-- ======= START OF BOTTOM NAVBAR ====== -->
190<A NAME="navbar_bottom"><!-- --></A>
191<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
192<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
193<TR>
194<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
195<A NAME="navbar_bottom_firstrow"><!-- --></A>
196<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
197 <TR ALIGN="center" VALIGN="top">
198 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
199 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
200 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
201 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
202 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
203 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
204 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
205 </TR>
206</TABLE>
207</TD>
208<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
209</EM>
210</TD>
211</TR>
212
213<TR>
214<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
215&nbsp;PREV CLASS&nbsp;
216&nbsp;NEXT CLASS</FONT></TD>
217<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
218 <A HREF="../../../../../../../index.html" target="_top"><B>FRAMES</B></A> &nbsp;
219&nbsp;<A HREF="JspMangler.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
220&nbsp;<SCRIPT type="text/javascript">
221 <!--
222 if(window==top) {
223 document.writeln('<A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
224 }
225 //-->
226</SCRIPT>
227<NOSCRIPT>
228 <A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
229</NOSCRIPT>
230
231</FONT></TD>
232</TR>
233<TR>
234<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
235 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
236<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
237DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
238</TR>
239</TABLE>
240<A NAME="skip-navbar_bottom"></A>
241<!-- ======== END OF BOTTOM NAVBAR ======= -->
242
243<HR>
244Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.
245</BODY>
246</HTML>
Note: See TracBrowser for help on using the repository browser.