Sophie

Sophie

distrib > Mandriva > 2011.0 > x86_64 > media > main-release > by-pkgid > a151a9789d7f6da162486c8d892d2428 > files > 323

ws-jaxme-javadoc-0.5.2-1.0.6mdv2011.0.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_18) on Sat Dec 04 05:26:44 UTC 2010 -->
<TITLE>
JavaSourceFactory
</TITLE>

<META NAME="date" CONTENT="2010-12-04">

<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">

<SCRIPT type="text/javascript">
function windowTitle()
{
    if (location.href.indexOf('is-external=true') == -1) {
        parent.document.title="JavaSourceFactory";
    }
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>

</HEAD>

<BODY BGCOLOR="white" onload="windowTitle();">
<HR>


<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../../org/apache/ws/jaxme/js/JavaSource.Type.html" title="class in org.apache.ws.jaxme.js"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../../org/apache/ws/jaxme/js/JavaSourceObject.html" title="class in org.apache.ws.jaxme.js"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../../index.html?org/apache/ws/jaxme/js/JavaSourceFactory.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="JavaSourceFactory.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->

<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.apache.ws.jaxme.js</FONT>
<BR>
Class JavaSourceFactory</H2>
<PRE>
java.lang.Object
  <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.ws.jaxme.js.JavaSourceFactory</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../../org/apache/ws/jaxme/js/apps/JavaSourceResolver.html" title="interface in org.apache.ws.jaxme.js.apps">JavaSourceResolver</A></DD>
</DL>
<HR>
<DL>
<DT><PRE>public class <B>JavaSourceFactory</B><DT>extends java.lang.Object<DT>implements <A HREF="../../../../../org/apache/ws/jaxme/js/apps/JavaSourceResolver.html" title="interface in org.apache.ws.jaxme.js.apps">JavaSourceResolver</A></DL>
</PRE>

<P>
<p>Factory for generating JavaSource objects.</p>
 <p>
 The factory properties:
 </p>
 <ul>
  <li><A HREF="../../../../../org/apache/ws/jaxme/js/JavaSourceFactory.html#setOverwriteForced(boolean)"><CODE>setOverwriteForced(boolean)</CODE></A></li>
  <li><A HREF="../../../../../org/apache/ws/jaxme/js/JavaSourceFactory.html#setSettingReadOnly(boolean)"><CODE>setSettingReadOnly(boolean)</CODE></A></li>
 </ul>
 <p>
 are used for finely grained controlled over the generated 
 source files. Methods are provided to access abstract descriptions
 of the files to be created:
 </p>
 <ul>
   <li><A HREF="../../../../../org/apache/ws/jaxme/js/JavaSourceFactory.html#getTextFiles()"><CODE>getTextFiles()</CODE></A> and <A HREF="../../../../../org/apache/ws/jaxme/js/JavaSourceFactory.html#getTextFile(java.lang.String, java.lang.String)"><CODE>getTextFile(java.lang.String, java.lang.String)</CODE></A></li>
   <li><A HREF="../../../../../org/apache/ws/jaxme/js/JavaSourceFactory.html#getJavaSources()"><CODE>getJavaSources()</CODE></A> and <A HREF="../../../../../org/apache/ws/jaxme/js/JavaSourceFactory.html#getJavaSource(org.apache.ws.jaxme.js.JavaQName)"><CODE>getJavaSource(org.apache.ws.jaxme.js.JavaQName)</CODE></A></li>
 </ul>
 <p>
 Concrete files (source and otherwise) are created by calling 
 the following construction methods:
 </p>
 <ul>
   <li><A HREF="../../../../../org/apache/ws/jaxme/js/JavaSourceFactory.html#newJavaSource(org.apache.ws.jaxme.js.JavaQName)"><CODE>newJavaSource(JavaQName)</CODE></A>, <A HREF="../../../../../org/apache/ws/jaxme/js/JavaSourceFactory.html#newJavaSource(org.apache.ws.jaxme.js.JavaQName, java.lang.String)"><CODE>newJavaSource(JavaQName, String)</CODE></A>
  and <A HREF="../../../../../org/apache/ws/jaxme/js/JavaSourceFactory.html#newJavaSource(org.apache.ws.jaxme.js.JavaQName, org.apache.ws.jaxme.js.JavaSource.Protection)"><CODE>newJavaSource(JavaQName, JavaSource.Protection)</CODE></A></li>
   <li><A HREF="../../../../../org/apache/ws/jaxme/js/JavaSourceFactory.html#newTextFile(java.lang.String, java.lang.String)"><CODE>newTextFile(java.lang.String, java.lang.String)</CODE></A></li>
 </ul>
<P>

<P>
<DL>
<DT><B>Version:</B></DT>
  <DD>$Id: JavaSourceFactory.java 358952 2005-12-24 21:48:25Z jochen $</DD>
<DT><B>Author:</B></DT>
  <DD><a href="mailto:joe@ispsoft.de">Jochen Wiedmann</a></DD>
</DL>
<HR>

<P>

<!-- ======== CONSTRUCTOR SUMMARY ======== -->

<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../../org/apache/ws/jaxme/js/JavaSourceFactory.html#JavaSourceFactory()">JavaSourceFactory</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->

<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/ws/jaxme/js/JavaSource.html" title="class in org.apache.ws.jaxme.js">JavaSource</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/ws/jaxme/js/JavaSourceFactory.html#getJavaSource(org.apache.ws.jaxme.js.JavaQName)">getJavaSource</A></B>(<A HREF="../../../../../org/apache/ws/jaxme/js/JavaQName.html" title="interface in org.apache.ws.jaxme.js">JavaQName</A>&nbsp;pName)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the generated class with the given name or null, if
 no such class has been generated.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.util.Iterator</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/ws/jaxme/js/JavaSourceFactory.html#getJavaSources()">getJavaSources</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an iterator to the generated classes.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.io.File</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/ws/jaxme/js/JavaSourceFactory.html#getLocation(java.io.File, org.apache.ws.jaxme.js.JavaSource)">getLocation</A></B>(java.io.File&nbsp;pBaseDir,
            <A HREF="../../../../../org/apache/ws/jaxme/js/JavaSource.html" title="class in org.apache.ws.jaxme.js">JavaSource</A>&nbsp;pJs)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a location for storing the JavaSource class, relative
 to the given base directory.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.io.File</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/ws/jaxme/js/JavaSourceFactory.html#getLocation(java.io.File, java.lang.String)">getLocation</A></B>(java.io.File&nbsp;pBaseDir,
            java.lang.String&nbsp;pPackage)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a location the given package, relative to the given
 base directory.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.io.File</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/ws/jaxme/js/JavaSourceFactory.html#getLocation(java.io.File, org.apache.ws.jaxme.js.TextFile)">getLocation</A></B>(java.io.File&nbsp;pBaseDir,
            <A HREF="../../../../../org/apache/ws/jaxme/js/TextFile.html" title="interface in org.apache.ws.jaxme.js">TextFile</A>&nbsp;pTextFile)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a location for storing the TextFile, relative
 to the given base directory.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/ws/jaxme/logging/Logger.html" title="interface in org.apache.ws.jaxme.logging">Logger</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/ws/jaxme/js/JavaSourceFactory.html#getLogger()">getLogger</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the <A HREF="../../../../../org/apache/ws/jaxme/logging/Logger.html" title="interface in org.apache.ws.jaxme.logging"><CODE>Logger</CODE></A>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.io.File</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/ws/jaxme/js/JavaSourceFactory.html#getPackageDirectory(java.io.File, java.lang.String)">getPackageDirectory</A></B>(java.io.File&nbsp;pBaseDir,
                    java.lang.String&nbsp;pPackageName)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Given a package name and a base directory, returns the package
 directory.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.io.File</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/ws/jaxme/js/JavaSourceFactory.html#getSourceFile(java.io.File, org.apache.ws.jaxme.js.JavaQName)">getSourceFile</A></B>(java.io.File&nbsp;pBaseDir,
              <A HREF="../../../../../org/apache/ws/jaxme/js/JavaQName.html" title="interface in org.apache.ws.jaxme.js">JavaQName</A>&nbsp;pQName)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Given a fully qualified name, returns the name of the
 corresponding Java file.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/ws/jaxme/js/TextFile.html" title="interface in org.apache.ws.jaxme.js">TextFile</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/ws/jaxme/js/JavaSourceFactory.html#getTextFile(java.lang.String, java.lang.String)">getTextFile</A></B>(java.lang.String&nbsp;pPackageName,
            java.lang.String&nbsp;pFileName)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the text file with the given name or null, if no such
 text file has been generated.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.util.Iterator</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/ws/jaxme/js/JavaSourceFactory.html#getTextFiles()">getTextFiles</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an iterator to the generated text files.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/ws/jaxme/js/JavaSourceFactory.html#isOverwriteForced()">isOverwriteForced</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;By default the JavaSourceFactory will only overwrite existing
 files, if they have different content.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/ws/jaxme/js/JavaSourceFactory.html#isSameFile(org.apache.ws.jaxme.js.JavaSource, java.io.File)">isSameFile</A></B>(<A HREF="../../../../../org/apache/ws/jaxme/js/JavaSource.html" title="class in org.apache.ws.jaxme.js">JavaSource</A>&nbsp;pJs,
           java.io.File&nbsp;pFile)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Verifies whether the given Java source and the contents of the
 given file are identical.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/ws/jaxme/js/JavaSourceFactory.html#isSameFile(java.lang.String, java.io.File)">isSameFile</A></B>(java.lang.String&nbsp;pContents,
           java.io.File&nbsp;pFile)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Verifies whether the given string and the contents of the given
 file are identical.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/ws/jaxme/js/JavaSourceFactory.html#isSameFile(java.lang.String, java.lang.String)">isSameFile</A></B>(java.lang.String&nbsp;pContents1,
           java.lang.String&nbsp;pContents2)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Verifies whether the given strings are identical.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/ws/jaxme/js/JavaSourceFactory.html#isSettingReadOnly()">isSettingReadOnly</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns whether the generated files are created in read-only mode.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/ws/jaxme/js/JavaSource.html" title="class in org.apache.ws.jaxme.js">JavaSource</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/ws/jaxme/js/JavaSourceFactory.html#newJavaSource(org.apache.ws.jaxme.js.JavaQName)">newJavaSource</A></B>(<A HREF="../../../../../org/apache/ws/jaxme/js/JavaQName.html" title="interface in org.apache.ws.jaxme.js">JavaQName</A>&nbsp;pName)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new instance of JavaSource with the given
 name and default protection.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/ws/jaxme/js/JavaSource.html" title="class in org.apache.ws.jaxme.js">JavaSource</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/ws/jaxme/js/JavaSourceFactory.html#newJavaSource(org.apache.ws.jaxme.js.JavaQName, org.apache.ws.jaxme.js.JavaSource.Protection)">newJavaSource</A></B>(<A HREF="../../../../../org/apache/ws/jaxme/js/JavaQName.html" title="interface in org.apache.ws.jaxme.js">JavaQName</A>&nbsp;pName,
              <A HREF="../../../../../org/apache/ws/jaxme/js/JavaSource.Protection.html" title="class in org.apache.ws.jaxme.js">JavaSource.Protection</A>&nbsp;pProtection)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new instance of JavaSource with the given
 name and protection.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/ws/jaxme/js/JavaSource.html" title="class in org.apache.ws.jaxme.js">JavaSource</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/ws/jaxme/js/JavaSourceFactory.html#newJavaSource(org.apache.ws.jaxme.js.JavaQName, java.lang.String)">newJavaSource</A></B>(<A HREF="../../../../../org/apache/ws/jaxme/js/JavaQName.html" title="interface in org.apache.ws.jaxme.js">JavaQName</A>&nbsp;pName,
              java.lang.String&nbsp;pProtection)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new instance of JavaSource with the given
 name and protection.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/ws/jaxme/js/TextFile.html" title="interface in org.apache.ws.jaxme.js">TextFile</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/ws/jaxme/js/JavaSourceFactory.html#newTextFile(java.lang.String, java.lang.String)">newTextFile</A></B>(java.lang.String&nbsp;pPackageName,
            java.lang.String&nbsp;pFileName)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new text file.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/ws/jaxme/js/JavaSourceFactory.html#setLogger(org.apache.ws.jaxme.logging.Logger)">setLogger</A></B>(<A HREF="../../../../../org/apache/ws/jaxme/logging/Logger.html" title="interface in org.apache.ws.jaxme.logging">Logger</A>&nbsp;pLogger)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the <A HREF="../../../../../org/apache/ws/jaxme/logging/Logger.html" title="interface in org.apache.ws.jaxme.logging"><CODE>Logger</CODE></A> to use.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/ws/jaxme/js/JavaSourceFactory.html#setOverwriteForced(boolean)">setOverwriteForced</A></B>(boolean&nbsp;pOverwriteForced)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;By default the JavaSourceFactory will only overwrite existing
 files only, if they have different content.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/ws/jaxme/js/JavaSourceFactory.html#setSettingReadOnly(boolean)">setSettingReadOnly</A></B>(boolean&nbsp;pSettingReadOnly)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets whether the generated files are created in read-only mode.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/ws/jaxme/js/JavaSourceFactory.html#write(java.io.File)">write</A></B>(java.io.File&nbsp;pBaseDir)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Writes all Source files to the FileSystem, relative to the
 given base directory.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/ws/jaxme/js/JavaSourceFactory.html#write(java.io.File, java.io.File)">write</A></B>(java.io.File&nbsp;pJavaSourceDir,
      java.io.File&nbsp;pResourceDir)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Writes all Source files to the file system, relative to the
 respective base directory.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/ws/jaxme/js/JavaSourceFactory.html#write(java.io.File, org.apache.ws.jaxme.js.JavaSource)">write</A></B>(java.io.File&nbsp;pBaseDir,
      <A HREF="../../../../../org/apache/ws/jaxme/js/JavaSource.html" title="class in org.apache.ws.jaxme.js">JavaSource</A>&nbsp;pJs)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Writes the given JavaSource class to the file system,
 relative to the given base directory.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/ws/jaxme/js/JavaSourceFactory.html#write(java.io.File, org.apache.ws.jaxme.js.TextFile)">write</A></B>(java.io.File&nbsp;pBaseDir,
      <A HREF="../../../../../org/apache/ws/jaxme/js/TextFile.html" title="interface in org.apache.ws.jaxme.js">TextFile</A>&nbsp;pFile)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Writes the given text file to the file system, relative to the
 given base directory.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/ws/jaxme/js/JavaSourceFactory.html#writeFile(java.io.File, org.apache.ws.jaxme.js.JavaSource)">writeFile</A></B>(java.io.File&nbsp;pFile,
          <A HREF="../../../../../org/apache/ws/jaxme/js/JavaSource.html" title="class in org.apache.ws.jaxme.js">JavaSource</A>&nbsp;pJs)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Actually creates a file with the given name.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/ws/jaxme/js/JavaSourceFactory.html#writeFile(java.io.File, java.lang.String)">writeFile</A></B>(java.io.File&nbsp;pFile,
          java.lang.String&nbsp;pContents)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Actually creates a file with the given name.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>

<!-- ========= CONSTRUCTOR DETAIL ======== -->

<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="JavaSourceFactory()"><!-- --></A><H3>
JavaSourceFactory</H3>
<PRE>
public <B>JavaSourceFactory</B>()</PRE>
<DL>
</DL>

<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="setLogger(org.apache.ws.jaxme.logging.Logger)"><!-- --></A><H3>
setLogger</H3>
<PRE>
public void <B>setLogger</B>(<A HREF="../../../../../org/apache/ws/jaxme/logging/Logger.html" title="interface in org.apache.ws.jaxme.logging">Logger</A>&nbsp;pLogger)</PRE>
<DL>
<DD><p>Sets the <A HREF="../../../../../org/apache/ws/jaxme/logging/Logger.html" title="interface in org.apache.ws.jaxme.logging"><CODE>Logger</CODE></A> to use.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getLogger()"><!-- --></A><H3>
getLogger</H3>
<PRE>
public <A HREF="../../../../../org/apache/ws/jaxme/logging/Logger.html" title="interface in org.apache.ws.jaxme.logging">Logger</A> <B>getLogger</B>()</PRE>
<DL>
<DD><p>Returns the <A HREF="../../../../../org/apache/ws/jaxme/logging/Logger.html" title="interface in org.apache.ws.jaxme.logging"><CODE>Logger</CODE></A>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setSettingReadOnly(boolean)"><!-- --></A><H3>
setSettingReadOnly</H3>
<PRE>
public void <B>setSettingReadOnly</B>(boolean&nbsp;pSettingReadOnly)</PRE>
<DL>
<DD><p>Sets whether the generated files are created in read-only mode.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="isSettingReadOnly()"><!-- --></A><H3>
isSettingReadOnly</H3>
<PRE>
public boolean <B>isSettingReadOnly</B>()</PRE>
<DL>
<DD><p>Returns whether the generated files are created in read-only mode.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setOverwriteForced(boolean)"><!-- --></A><H3>
setOverwriteForced</H3>
<PRE>
public void <B>setOverwriteForced</B>(boolean&nbsp;pOverwriteForced)</PRE>
<DL>
<DD><p>By default the JavaSourceFactory will only overwrite existing
 files only, if they have different content. If the overwriteForced property is
 set to true, existing files will always be overwritten.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><A HREF="../../../../../org/apache/ws/jaxme/js/JavaSourceFactory.html#isOverwriteForced()"><CODE>isOverwriteForced()</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="isOverwriteForced()"><!-- --></A><H3>
isOverwriteForced</H3>
<PRE>
public boolean <B>isOverwriteForced</B>()</PRE>
<DL>
<DD><p>By default the JavaSourceFactory will only overwrite existing
 files, if they have different content. If the overwriteForced property is
 set to true, existing files will always be overwritten.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><A HREF="../../../../../org/apache/ws/jaxme/js/JavaSourceFactory.html#setOverwriteForced(boolean)"><CODE>setOverwriteForced(boolean)</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="newJavaSource(org.apache.ws.jaxme.js.JavaQName)"><!-- --></A><H3>
newJavaSource</H3>
<PRE>
public <A HREF="../../../../../org/apache/ws/jaxme/js/JavaSource.html" title="class in org.apache.ws.jaxme.js">JavaSource</A> <B>newJavaSource</B>(<A HREF="../../../../../org/apache/ws/jaxme/js/JavaQName.html" title="interface in org.apache.ws.jaxme.js">JavaQName</A>&nbsp;pName)</PRE>
<DL>
<DD><p>Creates a new instance of JavaSource with the given
 name and default protection.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="newJavaSource(org.apache.ws.jaxme.js.JavaQName, org.apache.ws.jaxme.js.JavaSource.Protection)"><!-- --></A><H3>
newJavaSource</H3>
<PRE>
public <A HREF="../../../../../org/apache/ws/jaxme/js/JavaSource.html" title="class in org.apache.ws.jaxme.js">JavaSource</A> <B>newJavaSource</B>(<A HREF="../../../../../org/apache/ws/jaxme/js/JavaQName.html" title="interface in org.apache.ws.jaxme.js">JavaQName</A>&nbsp;pName,
                                <A HREF="../../../../../org/apache/ws/jaxme/js/JavaSource.Protection.html" title="class in org.apache.ws.jaxme.js">JavaSource.Protection</A>&nbsp;pProtection)</PRE>
<DL>
<DD><p>Creates a new instance of JavaSource with the given
 name and protection.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="newJavaSource(org.apache.ws.jaxme.js.JavaQName, java.lang.String)"><!-- --></A><H3>
newJavaSource</H3>
<PRE>
public <A HREF="../../../../../org/apache/ws/jaxme/js/JavaSource.html" title="class in org.apache.ws.jaxme.js">JavaSource</A> <B>newJavaSource</B>(<A HREF="../../../../../org/apache/ws/jaxme/js/JavaQName.html" title="interface in org.apache.ws.jaxme.js">JavaQName</A>&nbsp;pName,
                                java.lang.String&nbsp;pProtection)</PRE>
<DL>
<DD><p>Creates a new instance of JavaSource with the given
 name and protection. Shortcut for
 <code>newJavaSource(pName, JavaSource.Protection.valueOf(pProtection))</code>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getJavaSources()"><!-- --></A><H3>
getJavaSources</H3>
<PRE>
public java.util.Iterator <B>getJavaSources</B>()</PRE>
<DL>
<DD><p>Returns an iterator to the generated classes.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getTextFiles()"><!-- --></A><H3>
getTextFiles</H3>
<PRE>
public java.util.Iterator <B>getTextFiles</B>()</PRE>
<DL>
<DD><p>Returns an iterator to the generated text files.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getJavaSource(org.apache.ws.jaxme.js.JavaQName)"><!-- --></A><H3>
getJavaSource</H3>
<PRE>
public <A HREF="../../../../../org/apache/ws/jaxme/js/JavaSource.html" title="class in org.apache.ws.jaxme.js">JavaSource</A> <B>getJavaSource</B>(<A HREF="../../../../../org/apache/ws/jaxme/js/JavaQName.html" title="interface in org.apache.ws.jaxme.js">JavaQName</A>&nbsp;pName)</PRE>
<DL>
<DD><p>Returns the generated class with the given name or null, if
 no such class has been generated.</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/ws/jaxme/js/apps/JavaSourceResolver.html#getJavaSource(org.apache.ws.jaxme.js.JavaQName)">getJavaSource</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/ws/jaxme/js/apps/JavaSourceResolver.html" title="interface in org.apache.ws.jaxme.js.apps">JavaSourceResolver</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getTextFile(java.lang.String, java.lang.String)"><!-- --></A><H3>
getTextFile</H3>
<PRE>
public <A HREF="../../../../../org/apache/ws/jaxme/js/TextFile.html" title="interface in org.apache.ws.jaxme.js">TextFile</A> <B>getTextFile</B>(java.lang.String&nbsp;pPackageName,
                            java.lang.String&nbsp;pFileName)</PRE>
<DL>
<DD><p>Returns the text file with the given name or null, if no such
 text file has been generated.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getPackageDirectory(java.io.File, java.lang.String)"><!-- --></A><H3>
getPackageDirectory</H3>
<PRE>
public java.io.File <B>getPackageDirectory</B>(java.io.File&nbsp;pBaseDir,
                                        java.lang.String&nbsp;pPackageName)</PRE>
<DL>
<DD><p>Given a package name and a base directory, returns the package
 directory.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>pBaseDir</CODE> - The base directory, where to create sources;
    may be null (current directory).
<DT><B>Returns:</B><DD>Package directory; null is a valid value and indicates
    the current directory.</DL>
</DD>
</DL>
<HR>

<A NAME="getSourceFile(java.io.File, org.apache.ws.jaxme.js.JavaQName)"><!-- --></A><H3>
getSourceFile</H3>
<PRE>
public java.io.File <B>getSourceFile</B>(java.io.File&nbsp;pBaseDir,
                                  <A HREF="../../../../../org/apache/ws/jaxme/js/JavaQName.html" title="interface in org.apache.ws.jaxme.js">JavaQName</A>&nbsp;pQName)</PRE>
<DL>
<DD><p>Given a fully qualified name, returns the name of the
 corresponding Java file.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getLocation(java.io.File, java.lang.String)"><!-- --></A><H3>
getLocation</H3>
<PRE>
public java.io.File <B>getLocation</B>(java.io.File&nbsp;pBaseDir,
                                java.lang.String&nbsp;pPackage)</PRE>
<DL>
<DD><p>Returns a location the given package, relative to the given
 base directory. For example, if you have the base
 directory <code>c:\temp</code> and the package
 <code>com.mycompany.demo</code>, this would yield
 new File("c:\temp\com\mycompany\demo").</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>pBaseDir</CODE> - The base directory or null for the current directory.<DD><CODE>pPackage</CODE> - The JavaSource being stored; null or the empty
   string for the root package
<DT><B>Returns:</B><DD>Directory related to the package; this may be null, if
   the base directory was null and the package was the root
   package</DL>
</DD>
</DL>
<HR>

<A NAME="getLocation(java.io.File, org.apache.ws.jaxme.js.JavaSource)"><!-- --></A><H3>
getLocation</H3>
<PRE>
public java.io.File <B>getLocation</B>(java.io.File&nbsp;pBaseDir,
                                <A HREF="../../../../../org/apache/ws/jaxme/js/JavaSource.html" title="class in org.apache.ws.jaxme.js">JavaSource</A>&nbsp;pJs)</PRE>
<DL>
<DD><p>Returns a location for storing the JavaSource class, relative
 to the given base directory. For example, if you have the base
 directory <code>c:\temp</code> and the class <code>Sample</code>
 in package <code>com.mycompany.demo</code>, this would yield
 new File("c:\temp\com\mycompany\demo\Sample.java").</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>pBaseDir</CODE> - The base directory or null for the current directory.<DD><CODE>pJs</CODE> - The JavaSource being stored.</DL>
</DD>
</DL>
<HR>

<A NAME="getLocation(java.io.File, org.apache.ws.jaxme.js.TextFile)"><!-- --></A><H3>
getLocation</H3>
<PRE>
public java.io.File <B>getLocation</B>(java.io.File&nbsp;pBaseDir,
                                <A HREF="../../../../../org/apache/ws/jaxme/js/TextFile.html" title="interface in org.apache.ws.jaxme.js">TextFile</A>&nbsp;pTextFile)</PRE>
<DL>
<DD><p>Returns a location for storing the TextFile, relative
 to the given base directory. For example, if you have the base
 directory <code>c:\temp</code> and the class <code>Sample</code>
 in package <code>com.mycompany.demo</code>, this would yield
 new File("c:\temp\com\mycompany\demo\Sample.java").</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>pBaseDir</CODE> - The base directory or null for the current directory.<DD><CODE>pTextFile</CODE> - The text file being created.</DL>
</DD>
</DL>
<HR>

<A NAME="isSameFile(org.apache.ws.jaxme.js.JavaSource, java.io.File)"><!-- --></A><H3>
isSameFile</H3>
<PRE>
protected boolean <B>isSameFile</B>(<A HREF="../../../../../org/apache/ws/jaxme/js/JavaSource.html" title="class in org.apache.ws.jaxme.js">JavaSource</A>&nbsp;pJs,
                             java.io.File&nbsp;pFile)
                      throws java.io.IOException</PRE>
<DL>
<DD><p>Verifies whether the given Java source and the contents of the
 given file are identical.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="isSameFile(java.lang.String, java.io.File)"><!-- --></A><H3>
isSameFile</H3>
<PRE>
protected boolean <B>isSameFile</B>(java.lang.String&nbsp;pContents,
                             java.io.File&nbsp;pFile)
                      throws java.io.IOException</PRE>
<DL>
<DD><p>Verifies whether the given string and the contents of the given
 file are identical.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="isSameFile(java.lang.String, java.lang.String)"><!-- --></A><H3>
isSameFile</H3>
<PRE>
protected boolean <B>isSameFile</B>(java.lang.String&nbsp;pContents1,
                             java.lang.String&nbsp;pContents2)</PRE>
<DL>
<DD><p>Verifies whether the given strings are identical.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="writeFile(java.io.File, org.apache.ws.jaxme.js.JavaSource)"><!-- --></A><H3>
writeFile</H3>
<PRE>
protected void <B>writeFile</B>(java.io.File&nbsp;pFile,
                         <A HREF="../../../../../org/apache/ws/jaxme/js/JavaSource.html" title="class in org.apache.ws.jaxme.js">JavaSource</A>&nbsp;pJs)
                  throws java.io.IOException</PRE>
<DL>
<DD><p>Actually creates a file with the given name.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="writeFile(java.io.File, java.lang.String)"><!-- --></A><H3>
writeFile</H3>
<PRE>
protected void <B>writeFile</B>(java.io.File&nbsp;pFile,
                         java.lang.String&nbsp;pContents)
                  throws java.io.IOException</PRE>
<DL>
<DD><p>Actually creates a file with the given name.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="write(java.io.File, org.apache.ws.jaxme.js.JavaSource)"><!-- --></A><H3>
write</H3>
<PRE>
public void <B>write</B>(java.io.File&nbsp;pBaseDir,
                  <A HREF="../../../../../org/apache/ws/jaxme/js/JavaSource.html" title="class in org.apache.ws.jaxme.js">JavaSource</A>&nbsp;pJs)
           throws java.io.IOException</PRE>
<DL>
<DD><p>Writes the given JavaSource class to the file system,
 relative to the given base directory.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>pBaseDir</CODE> - The base directory or null for the current directory.<DD><CODE>pJs</CODE> - The JavaSource being stored.
<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE><DT><B>See Also:</B><DD><A HREF="../../../../../org/apache/ws/jaxme/js/JavaSource.html#write(java.io.Writer)"><CODE>JavaSource.write(Writer)</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="write(java.io.File, org.apache.ws.jaxme.js.TextFile)"><!-- --></A><H3>
write</H3>
<PRE>
public void <B>write</B>(java.io.File&nbsp;pBaseDir,
                  <A HREF="../../../../../org/apache/ws/jaxme/js/TextFile.html" title="interface in org.apache.ws.jaxme.js">TextFile</A>&nbsp;pFile)
           throws java.io.IOException</PRE>
<DL>
<DD><p>Writes the given text file to the file system, relative to the
 given base directory.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>pBaseDir</CODE> - The base directory or null for the current directory.<DD><CODE>pFile</CODE> - The text file being stored.
<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE><DT><B>See Also:</B><DD><A HREF="../../../../../org/apache/ws/jaxme/js/JavaSource.html#write(java.io.Writer)"><CODE>JavaSource.write(Writer)</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="write(java.io.File)"><!-- --></A><H3>
write</H3>
<PRE>
public void <B>write</B>(java.io.File&nbsp;pBaseDir)
           throws java.io.IOException</PRE>
<DL>
<DD>Writes all Source files to the FileSystem, relative to the
 given base directory.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>pBaseDir</CODE> - The base directory or null for the current directory.
<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="write(java.io.File, java.io.File)"><!-- --></A><H3>
write</H3>
<PRE>
public void <B>write</B>(java.io.File&nbsp;pJavaSourceDir,
                  java.io.File&nbsp;pResourceDir)
           throws java.io.IOException</PRE>
<DL>
<DD>Writes all Source files to the file system, relative to the
 respective base directory.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>pJavaSourceDir</CODE> - The base directory for Java source files.<DD><CODE>pResourceDir</CODE> - The base directory for resource files.
<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="newTextFile(java.lang.String, java.lang.String)"><!-- --></A><H3>
newTextFile</H3>
<PRE>
public <A HREF="../../../../../org/apache/ws/jaxme/js/TextFile.html" title="interface in org.apache.ws.jaxme.js">TextFile</A> <B>newTextFile</B>(java.lang.String&nbsp;pPackageName,
                            java.lang.String&nbsp;pFileName)</PRE>
<DL>
<DD><p>Creates a new text file.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>


<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../../org/apache/ws/jaxme/js/JavaSource.Type.html" title="class in org.apache.ws.jaxme.js"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../../org/apache/ws/jaxme/js/JavaSourceObject.html" title="class in org.apache.ws.jaxme.js"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../../index.html?org/apache/ws/jaxme/js/JavaSourceFactory.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="JavaSourceFactory.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->

<HR>

</BODY>
</HTML>