blob: 33eafa490d466a0128d0fce3b48ff457b9749f9b [file] [log] [blame]
sclarke5df59502010-04-09 23:34:46 +00001<!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.6.0_14) on Wed Apr 07 07:58:10 BST 2010 -->
6<TITLE>
7Dom2ResourceMapper
8</TITLE>
9
10<META NAME="date" CONTENT="2010-04-07">
11
12<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../../../stylesheet.css" TITLE="Style">
13
14<SCRIPT type="text/javascript">
15function windowTitle()
16{
17 if (location.href.indexOf('is-external=true') == -1) {
18 parent.document.title="Dom2ResourceMapper";
19 }
20}
21</SCRIPT>
22<NOSCRIPT>
23</NOSCRIPT>
24
25</HEAD>
26
27<BODY BGCOLOR="white" onload="windowTitle();">
28<HR>
29
30
31<!-- ========= START OF TOP NAVBAR ======= -->
32<A NAME="navbar_top"><!-- --></A>
33<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
34<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
35<TR>
36<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
37<A NAME="navbar_top_firstrow"><!-- --></A>
38<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
39 <TR ALIGN="center" VALIGN="top">
40 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
42 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
43 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Dom2ResourceMapper.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
44 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
45 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
46 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
47 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
48 </TR>
49</TABLE>
50</TD>
51<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
52</EM>
53</TD>
54</TR>
55
56<TR>
57<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
58&nbsp;PREV CLASS&nbsp;
59&nbsp;<A HREF="../../../../../../../../org/eclipse/jst/ws/jaxws/dom/runtime/util/DomAdapterFactory.html" title="class in org.eclipse.jst.ws.jaxws.dom.runtime.util"><B>NEXT CLASS</B></A></FONT></TD>
60<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
61 <A HREF="../../../../../../../../index.html?org/eclipse/jst/ws/jaxws/dom/runtime/util/Dom2ResourceMapper.html" target="_top"><B>FRAMES</B></A> &nbsp;
62&nbsp;<A HREF="Dom2ResourceMapper.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
63&nbsp;<SCRIPT type="text/javascript">
64 <!--
65 if(window==top) {
66 document.writeln('<A HREF="../../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
67 }
68 //-->
69</SCRIPT>
70<NOSCRIPT>
71 <A HREF="../../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
72</NOSCRIPT>
73
74
75</FONT></TD>
76</TR>
77<TR>
78<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
79 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
80<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
81DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
82</TR>
83</TABLE>
84<A NAME="skip-navbar_top"></A>
85<!-- ========= END OF TOP NAVBAR ========= -->
86
87<HR>
88<!-- ======== START OF CLASS DATA ======== -->
89<H2>
90<FONT SIZE="-1">
91org.eclipse.jst.ws.jaxws.dom.runtime.util</FONT>
92<BR>
93Class Dom2ResourceMapper</H2>
94<PRE>
95java.lang.Object
96 <IMG SRC="../../../../../../../../resources/inherit.gif" ALT="extended by "><B>org.eclipse.jst.ws.jaxws.dom.runtime.util.Dom2ResourceMapper</B>
97</PRE>
98<HR>
99<DL>
100<DT><PRE>public class <B>Dom2ResourceMapper</B><DT>extends java.lang.Object</DL>
101</PRE>
102
103<P>
104Class that takes care for mapping DOM objects to Eclipse resources.
105<P>
106
107<P>
108<DL>
109<DT><B>Author:</B></DT>
110 <DD>Georgi Vachkov</DD>
111</DL>
112<HR>
113
114<P>
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<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
121<B>Field Summary</B></FONT></TH>
122</TR>
123<TR BGCOLOR="white" CLASS="TableRowColor">
124<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
125<CODE>static&nbsp;<A HREF="../../../../../../../../org/eclipse/jst/ws/jaxws/dom/runtime/util/Dom2ResourceMapper.html" title="class in org.eclipse.jst.ws.jaxws.dom.runtime.util">Dom2ResourceMapper</A></CODE></FONT></TD>
126<TD><CODE><B><A HREF="../../../../../../../../org/eclipse/jst/ws/jaxws/dom/runtime/util/Dom2ResourceMapper.html#INSTANCE">INSTANCE</A></B></CODE>
127
128<BR>
129&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;the singleton instance</TD>
130</TR>
131</TABLE>
132&nbsp;
133<!-- ========== METHOD SUMMARY =========== -->
134
135<A NAME="method_summary"><!-- --></A>
136<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
137<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
138<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
139<B>Method Summary</B></FONT></TH>
140</TR>
141<TR BGCOLOR="white" CLASS="TableRowColor">
142<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
143<CODE>&nbsp;org.eclipse.core.resources.IProject</CODE></FONT></TD>
144<TD><CODE><B><A HREF="../../../../../../../../org/eclipse/jst/ws/jaxws/dom/runtime/util/Dom2ResourceMapper.html#findProject(org.eclipse.jst.ws.jaxws.dom.runtime.api.IWebServiceProject)">findProject</A></B>(<A HREF="../../../../../../../../org/eclipse/jst/ws/jaxws/dom/runtime/api/IWebServiceProject.html" title="interface in org.eclipse.jst.ws.jaxws.dom.runtime.api">IWebServiceProject</A>&nbsp;wsProject)</CODE>
145
146<BR>
147&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Finds IProject instance for the web service project represented by <code>wsProject</code></TD>
148</TR>
149<TR BGCOLOR="white" CLASS="TableRowColor">
150<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
151<CODE>&nbsp;org.eclipse.core.resources.IResource</CODE></FONT></TD>
152<TD><CODE><B><A HREF="../../../../../../../../org/eclipse/jst/ws/jaxws/dom/runtime/util/Dom2ResourceMapper.html#findResource(org.eclipse.emf.ecore.EObject)">findResource</A></B>(org.eclipse.emf.ecore.EObject&nbsp;eObject)</CODE>
153
154<BR>
155&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Finds underlying <CODE>IResource</CODE> for this DOM object</TD>
156</TR>
157<TR BGCOLOR="white" CLASS="TableRowColor">
158<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
159<CODE>&nbsp;org.eclipse.jdt.core.IType</CODE></FONT></TD>
160<TD><CODE><B><A HREF="../../../../../../../../org/eclipse/jst/ws/jaxws/dom/runtime/util/Dom2ResourceMapper.html#findType(org.eclipse.emf.ecore.EObject)">findType</A></B>(org.eclipse.emf.ecore.EObject&nbsp;eObject)</CODE>
161
162<BR>
163&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Finds underlying <CODE>IType</CODE> instance for this <code>eObject</code></TD>
164</TR>
165</TABLE>
166&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
167<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
168<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
169<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
170</TR>
171<TR BGCOLOR="white" CLASS="TableRowColor">
172<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
173</TR>
174</TABLE>
175&nbsp;
176<P>
177
178<!-- ============ FIELD DETAIL =========== -->
179
180<A NAME="field_detail"><!-- --></A>
181<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
182<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
183<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
184<B>Field Detail</B></FONT></TH>
185</TR>
186</TABLE>
187
188<A NAME="INSTANCE"><!-- --></A><H3>
189INSTANCE</H3>
190<PRE>
191public static final <A HREF="../../../../../../../../org/eclipse/jst/ws/jaxws/dom/runtime/util/Dom2ResourceMapper.html" title="class in org.eclipse.jst.ws.jaxws.dom.runtime.util">Dom2ResourceMapper</A> <B>INSTANCE</B></PRE>
192<DL>
193<DD>the singleton instance
194<P>
195<DL>
196</DL>
197</DL>
198
199<!-- ============ METHOD DETAIL ========== -->
200
201<A NAME="method_detail"><!-- --></A>
202<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
203<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
204<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
205<B>Method Detail</B></FONT></TH>
206</TR>
207</TABLE>
208
209<A NAME="findResource(org.eclipse.emf.ecore.EObject)"><!-- --></A><H3>
210findResource</H3>
211<PRE>
212public org.eclipse.core.resources.IResource <B>findResource</B>(org.eclipse.emf.ecore.EObject&nbsp;eObject)
213 throws org.eclipse.jdt.core.JavaModelException</PRE>
214<DL>
215<DD>Finds underlying <CODE>IResource</CODE> for this DOM object
216<P>
217<DD><DL>
218<DT><B>Parameters:</B><DD><CODE>eObject</CODE> - the DOM object
219<DT><B>Returns:</B><DD>found resource or <code>null</code>
220<DT><B>Throws:</B>
221<DD><CODE>org.eclipse.jdt.core.JavaModelException</CODE></DL>
222</DD>
223</DL>
224<HR>
225
226<A NAME="findProject(org.eclipse.jst.ws.jaxws.dom.runtime.api.IWebServiceProject)"><!-- --></A><H3>
227findProject</H3>
228<PRE>
229public org.eclipse.core.resources.IProject <B>findProject</B>(<A HREF="../../../../../../../../org/eclipse/jst/ws/jaxws/dom/runtime/api/IWebServiceProject.html" title="interface in org.eclipse.jst.ws.jaxws.dom.runtime.api">IWebServiceProject</A>&nbsp;wsProject)</PRE>
230<DL>
231<DD>Finds IProject instance for the web service project represented by <code>wsProject</code>
232<P>
233<DD><DL>
234<DT><B>Parameters:</B><DD><CODE>wsProject</CODE> - the project DOM object
235<DT><B>Returns:</B><DD>found resource or <code>null</code></DL>
236</DD>
237</DL>
238<HR>
239
240<A NAME="findType(org.eclipse.emf.ecore.EObject)"><!-- --></A><H3>
241findType</H3>
242<PRE>
243public org.eclipse.jdt.core.IType <B>findType</B>(org.eclipse.emf.ecore.EObject&nbsp;eObject)
244 throws org.eclipse.jdt.core.JavaModelException</PRE>
245<DL>
246<DD>Finds underlying <CODE>IType</CODE> instance for this <code>eObject</code>
247<P>
248<DD><DL>
249<DT><B>Parameters:</B><DD><CODE>eObject</CODE> - the DOM object
250<DT><B>Returns:</B><DD>the IType containing this <code>eObject</code> or <code>null</code>
251<DT><B>Throws:</B>
252<DD><CODE>org.eclipse.jdt.core.JavaModelException</CODE></DL>
253</DD>
254</DL>
255<!-- ========= END OF CLASS DATA ========= -->
256<HR>
257
258
259<!-- ======= START OF BOTTOM NAVBAR ====== -->
260<A NAME="navbar_bottom"><!-- --></A>
261<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
262<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
263<TR>
264<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
265<A NAME="navbar_bottom_firstrow"><!-- --></A>
266<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
267 <TR ALIGN="center" VALIGN="top">
268 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
269 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
270 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
271 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Dom2ResourceMapper.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
272 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
273 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
274 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
275 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
276 </TR>
277</TABLE>
278</TD>
279<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
280</EM>
281</TD>
282</TR>
283
284<TR>
285<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
286&nbsp;PREV CLASS&nbsp;
287&nbsp;<A HREF="../../../../../../../../org/eclipse/jst/ws/jaxws/dom/runtime/util/DomAdapterFactory.html" title="class in org.eclipse.jst.ws.jaxws.dom.runtime.util"><B>NEXT CLASS</B></A></FONT></TD>
288<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
289 <A HREF="../../../../../../../../index.html?org/eclipse/jst/ws/jaxws/dom/runtime/util/Dom2ResourceMapper.html" target="_top"><B>FRAMES</B></A> &nbsp;
290&nbsp;<A HREF="Dom2ResourceMapper.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
291&nbsp;<SCRIPT type="text/javascript">
292 <!--
293 if(window==top) {
294 document.writeln('<A HREF="../../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
295 }
296 //-->
297</SCRIPT>
298<NOSCRIPT>
299 <A HREF="../../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
300</NOSCRIPT>
301
302
303</FONT></TD>
304</TR>
305<TR>
306<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
307 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
308<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
309DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
310</TR>
311</TABLE>
312<A NAME="skip-navbar_bottom"></A>
313<!-- ======== END OF BOTTOM NAVBAR ======= -->
314
315<HR>
316
317</BODY>
318</HTML>