ws-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From joc...@apache.org
Subject cvs commit: ws-site/targets/jaxme/manual ch02.html index.html
Date Fri, 20 May 2005 20:18:56 GMT
jochen      2005/05/20 13:18:56

  Modified:    targets/jaxme/manual ch02.html index.html
  Log:
  Release 0.4
  
  Revision  Changes    Path
  1.7       +9 -9      ws-site/targets/jaxme/manual/ch02.html
  
  Index: ch02.html
  ===================================================================
  RCS file: /home/cvs/ws-site/targets/jaxme/manual/ch02.html,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- ch02.html	13 Apr 2005 08:05:18 -0000	1.6
  +++ ch02.html	20 May 2005 20:18:56 -0000	1.7
  @@ -38,11 +38,7 @@
               words, if you had removed an element named "Foo" from the previous schema version,
then the
               Ant task will remove <tt class="filename">Foo.java</tt>.</p><p>Note,
that this behaviour is slightly different from the JAXB ant task "xjc", which
                 removes all files matched by any &lt;produces&gt; element, before
running the binding
  -              compiler.</p></td><td>JAXB XJC</td><td>No,
defaults to "false"</td></tr><tr><td>schemaReader</td><td>Configures
the schema reader to use. Defaults to
  -            "org.apache.ws.jaxme.generator.sg.impl.JAXBSchemaReader", which is the JAXB
compliant
  -            schema reader. An alternative schema reader is, for example,
  -            "org.apache.ws.jaxme.generator.sg.impl.JaxMeSchemaReader" 
  -            (a subclass of JAXBSchemaReader with JaxMe specific extensions).</td><td>JaxMe</td><td>No,
defaults to "org.apache.ws.jaxme.generator.sg.impl.JAXBSchemaReader"</td></tr><tr><td>stackSize</td><td><p>Specifies
the thread stack size for the XJC binding compiler (J2SE SDK v1.4
  +              compiler.</p></td><td>JAXB XJC</td><td>No,
defaults to "false"</td></tr><tr><td>stackSize</td><td><p>Specifies
the thread stack size for the XJC binding compiler (J2SE SDK v1.4
               or higher). The XJC binding compiler can fail to compile large schemas with
               StackOverflowError and, in that case, this option can be used to extend the
               stack size. If unspecified, the default VM size is used. The format is equivalent
  @@ -54,7 +50,7 @@
               "src" and the "package" attribute is "com.acme", then the directory
               <tt class="filename">src/com/acme</tt> will be used.</td><td>JAXB
XJC</td><td>No, defaults to the current directory</td></tr><tr><td>validating</td><td>Depending
on this attributes value, the XML parser used to parse the XML
               schema file will either be validating or not.</td><td>JaxMe</td><td>No,
defaults to "false"</td></tr></tbody></table></div></p><p>The
ant task also supports the following nested elements:
  -    <div class="table"><a name="N1023D"></a><p class="title"><b>Table&nbsp;2.2.&nbsp;Nested
elements of the JaxMe ant task</b></p><table summary="Nested elements of the
JaxMe ant task" border="1"><colgroup><col><col><col></colgroup><thead><tr><th>Name</th><th>Description</th><th>Origin</th><th>Multiplicity</th></tr></thead><tbody><tr><td>arg</td><td><p>This
nested element is ignored by the JaxMe ant task and exists for
  +    <div class="table"><a name="N10234"></a><p class="title"><b>Table&nbsp;2.2.&nbsp;Nested
elements of the JaxMe ant task</b></p><table summary="Nested elements of the
JaxMe ant task" border="1"><colgroup><col><col><col></colgroup><thead><tr><th>Name</th><th>Description</th><th>Origin</th><th>Multiplicity</th></tr></thead><tbody><tr><td>arg</td><td><p>This
nested element is ignored by the JaxMe ant task and exists for
               JAXB compatibility only. If this element is present, a warning 
               will be logged.</p><p>In the case of JAXB it specifies additional
command line arguments being
                 passed to the XJC. For details about the syntax, see the relevant section
in
  @@ -65,8 +61,8 @@
               to a nested &lt;fileset&gt;. Use of a nested &lt;binding&gt;
element is
               mutually exclusive with the use of a "binding" attribute.</p><p>As
of this writing, external schema bindings are unsupported by JaxMe.
                 A BuildException is thrown if this attribute is used.</p></td><td>JAXB
XJC</td><td>0..Unbounded</td></tr><tr><td>classpath</td><td><p>This
nested element specifies the classpath for loading user defined classes.
  -		      For example, the schema reader specified by the "schemaReader" attribute may be
such
  -		      a type.</p><p>The JAXB binding compiler uses this classpath when loading
user defined types,
  +		      For example, the schema reader specified by the "schemaReader" nested element may
be 
  +		      such a type.</p><p>The JAXB binding compiler uses this classpath when
loading user defined types,
   		      as specified by the &lt;javaType&gt; customization. This is currently not
the case
   		      for JaxMe: The type names are simply compiled in without an attempt to actually
load
   		      them. This has the advantage that user defined classes may refer to sources which
will 
  @@ -96,7 +92,11 @@
               you will possibly also set the "targetNamespace" attribute, which
               specifies a target namespace. (There is no possibility, to specify the
               target namespace within a DTD.)</td><td>JaxMe; the JAXB RI has
a similar possibility by
  -            specifying the command line argument "-dtd".</td><td>0..1</td></tr></tbody></table></div>
  +            specifying the command line argument "-dtd".</td><td>0..1</td></tr><tr><td>schemaReader</td><td>Configures
the schema reader to use. Defaults to
  +            "org.apache.ws.jaxme.generator.sg.impl.JAXBSchemaReader", which is the JAXB
compliant
  +            schema reader. An alternative schema reader is, for example,
  +            "org.apache.ws.jaxme.generator.sg.impl.JaxMeSchemaReader" 
  +            (a subclass of JAXBSchemaReader with JaxMe specific extensions).</td><td>JaxMe</td><td>0..1</td></tr></tbody></table></div>
     </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3
class="title"><a name="N102CB"></a>The Up-to-date check</h3></div></div><div></div></div><p>By
default, the JaxMe ant task will always run the generator and create new files. 
         When this task is part of a general ant build script, this behaviour will result
         in new files being generated and recompiled each time the build is run.</p><p>To
achieve greater efficiency, use the nested &lt;produces&gt; and &lt;depends&gt;
elements.
  
  
  
  1.7       +1 -1      ws-site/targets/jaxme/manual/index.html
  
  Index: index.html
  ===================================================================
  RCS file: /home/cvs/ws-site/targets/jaxme/manual/index.html,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- index.html	13 Apr 2005 08:05:18 -0000	1.6
  +++ index.html	20 May 2005 20:18:56 -0000	1.7
  @@ -1,2 +1,2 @@
  -<html><head><META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>The
JaxMe 2 manual</title><meta content="DocBook XSL Stylesheets V1.65.1" name="generator"><link
rel="home" href="index.html" title="The JaxMe 2 manual"><link rel="next" href="pr01.html"
title="Introduction"></head><body bgcolor="white" text="black" link="#0000FF"
vlink="#840084" alink="#0000FF"><div class="navheader"><table summary="Navigation
header" width="100%"><tr><th align="center" colspan="3">The JaxMe 2 manual</th></tr><tr><td
align="left" width="20%">&nbsp;</td><th align="center" width="60%">&nbsp;</th><td
align="right" width="20%">&nbsp;<a accesskey="n" href="pr01.html">Next</a></td></tr></table><hr></div><div
class="book" lang="en"><div class="titlepage"><div><div><h1 class="title"><a
name="N10002"></a>The JaxMe 2 manual</h1></div><div><div class="author"><h3
class="author"><span class="firstname">Jochen</span> <span class="surname">Wiedmann</span></h3></div></div><div><p
class="copyright">Copyright &copy; 2003-2004 The Apache Software Foundation</p></div></div><div></div><hr></div><div
class="toc"><p><b>Table of Contents</b></p><dl><dt><span
class="preface"><a href="pr01.html">Introduction</a></span></dt><dt><span
class="chapter"><a href="ch01.html">1. First steps</a></span></dt><dd><dl><dt><span
class="sect1"><a href="ch01.html#N10037">Generating Java Code</a></span></dt><dd><dl><dt><span
class="sect2"><a href="ch01.html#N1003C">Creating a JaxMe Schema</a></span></dt><dt><span
class="sect2"><a href="ch01.html#N10053">Running The Generator</a></span></dt></dl></dd><dt><span
class="sect1"><a href="ch01s02.html">Working with XML</a></span></dt><dd><dl><dt><span
class="sect2"><a href="ch01s02.html#N10120">Writing XML Documents</a></span></dt><dt><span
class="sect2"><a href="ch01s02.html#N10151">Reading XML</a></span></dt></dl></dd></dl></dd><dt><span
class="chapter"><a href="ch02.html">2. Reference</a></span></dt><dd><dl><dt><span
class="sect1"><a href="ch02.html#N10199">The JaxMe Ant Task</a></span></dt><dd><dl><dt><span
class="sect2"><a href="ch02.html#N102CB">The Up-to-date check</a></span></dt></dl></dd><dt><span
class="sect1"><a href="ch02s02.html">Marshalling objects</a></span></dt><dd><dl><dt><span
class="sect2"><a href="ch02s02.html#N102E5">Marshaller methods</a></span></dt><dt><span
class="sect2"><a href="ch02s02.html#N103C6">Marshaller properties</a></span></dt></dl></dd></dl></dd><dt><span
class="appendix"><a href="apa.html">A. License</a></span></dt><dt><span
class="appendix"><a href="apb.html">B. FAQ</a></span></dt><dt><span
class="glossary"><a href="go01.html">Glossary</a></span></dt></dl></div><div
class="list-of-tables"><p><b>List of Tables</b></p><dl><dt>2.1.
<a href="ch02.html#N101AE">Attributes of the JaxMe ant task</a></dt><dt>2.2.
<a href="ch02.html#N1023D">Nested elements of the JaxMe ant task</a></dt></dl></div><div
class="list-of-examples"><p><b>List of Examples</b></p><dl><dt>2.1.
<a href="ch02s02.html#N102F8">Marshalling into an OutputStream</a></dt><dt>2.2.
<a href="ch02s02.html#N10311">Marshalling into a Writer</a></dt><dt>2.3.
<a href="ch02s02.html#N1031F">Marshalling into a String</a></dt><dt>2.4.
<a href="ch02s02.html#N10346"></a></dt><dt>2.5. <a href="ch02s02.html#N10363">Transformation
of a JaxMe object using an XSL stylesheet</a></dt><dt>2.6. <a href="ch02s02.html#N103B8">JaxMe's
implementation of the Result
  +<html><head><META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>The
JaxMe 2 manual</title><meta content="DocBook XSL Stylesheets V1.65.1" name="generator"><link
rel="home" href="index.html" title="The JaxMe 2 manual"><link rel="next" href="pr01.html"
title="Introduction"></head><body bgcolor="white" text="black" link="#0000FF"
vlink="#840084" alink="#0000FF"><div class="navheader"><table summary="Navigation
header" width="100%"><tr><th align="center" colspan="3">The JaxMe 2 manual</th></tr><tr><td
align="left" width="20%">&nbsp;</td><th align="center" width="60%">&nbsp;</th><td
align="right" width="20%">&nbsp;<a accesskey="n" href="pr01.html">Next</a></td></tr></table><hr></div><div
class="book" lang="en"><div class="titlepage"><div><div><h1 class="title"><a
name="N10002"></a>The JaxMe 2 manual</h1></div><div><div class="author"><h3
class="author"><span class="firstname">Jochen</span> <span class="surname">Wiedmann</span></h3></div></div><div><p
class="copyright">Copyright &copy; 2003-2004 The Apache Software Foundation</p></div></div><div></div><hr></div><div
class="toc"><p><b>Table of Contents</b></p><dl><dt><span
class="preface"><a href="pr01.html">Introduction</a></span></dt><dt><span
class="chapter"><a href="ch01.html">1. First steps</a></span></dt><dd><dl><dt><span
class="sect1"><a href="ch01.html#N10037">Generating Java Code</a></span></dt><dd><dl><dt><span
class="sect2"><a href="ch01.html#N1003C">Creating a JaxMe Schema</a></span></dt><dt><span
class="sect2"><a href="ch01.html#N10053">Running The Generator</a></span></dt></dl></dd><dt><span
class="sect1"><a href="ch01s02.html">Working with XML</a></span></dt><dd><dl><dt><span
class="sect2"><a href="ch01s02.html#N10120">Writing XML Documents</a></span></dt><dt><span
class="sect2"><a href="ch01s02.html#N10151">Reading XML</a></span></dt></dl></dd></dl></dd><dt><span
class="chapter"><a href="ch02.html">2. Reference</a></span></dt><dd><dl><dt><span
class="sect1"><a href="ch02.html#N10199">The JaxMe Ant Task</a></span></dt><dd><dl><dt><span
class="sect2"><a href="ch02.html#N102CB">The Up-to-date check</a></span></dt></dl></dd><dt><span
class="sect1"><a href="ch02s02.html">Marshalling objects</a></span></dt><dd><dl><dt><span
class="sect2"><a href="ch02s02.html#N102E5">Marshaller methods</a></span></dt><dt><span
class="sect2"><a href="ch02s02.html#N103C6">Marshaller properties</a></span></dt></dl></dd></dl></dd><dt><span
class="appendix"><a href="apa.html">A. License</a></span></dt><dt><span
class="appendix"><a href="apb.html">B. FAQ</a></span></dt><dt><span
class="glossary"><a href="go01.html">Glossary</a></span></dt></dl></div><div
class="list-of-tables"><p><b>List of Tables</b></p><dl><dt>2.1.
<a href="ch02.html#N101AE">Attributes of the JaxMe ant task</a></dt><dt>2.2.
<a href="ch02.html#N10234">Nested elements of the JaxMe ant task</a></dt></dl></div><div
class="list-of-examples"><p><b>List of Examples</b></p><dl><dt>2.1.
<a href="ch02s02.html#N102F8">Marshalling into an OutputStream</a></dt><dt>2.2.
<a href="ch02s02.html#N10311">Marshalling into a Writer</a></dt><dt>2.3.
<a href="ch02s02.html#N1031F">Marshalling into a String</a></dt><dt>2.4.
<a href="ch02s02.html#N10346"></a></dt><dt>2.5. <a href="ch02s02.html#N10363">Transformation
of a JaxMe object using an XSL stylesheet</a></dt><dt>2.6. <a href="ch02s02.html#N103B8">JaxMe's
implementation of the Result
                 destination</a></dt><dt>2.7. <a href="ch02s02.html#N1043F">Creating
unformatted XML</a></dt><dt>2.8. <a href="ch02s02.html#N104A6">Using
a custom datatype converter</a></dt><dt>2.9. <a href="ch02s02.html#N104E9">Turning
on Windows line terminators</a></dt><dt>2.10. <a href="ch02s02.html#N10559">Enabling
an XML declaration</a></dt><dt>2.11. <a href="ch02s02.html#N105A4">Implementation
of an XMLWriter escaping german Umlauts</a></dt><dt>A.1. <a href="apa.html#N105FB"></a></dt></dl></div></div><div
class="navfooter"><hr><table summary="Navigation footer" width="100%"><tr><td
align="left" width="40%">&nbsp;</td><td align="center" width="20%">&nbsp;</td><td
align="right" width="40%">&nbsp;<a accesskey="n" href="pr01.html">Next</a></td></tr><tr><td
valign="top" align="left" width="40%">&nbsp;</td><td align="center" width="20%">&nbsp;</td><td
valign="top" align="right" width="40%">&nbsp;Introduction</td></tr></table></div></body></html>
  \ No newline at end of file
  
  
  

Mime
View raw message