You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by rd...@apache.org on 2006/10/30 19:32:33 UTC

svn commit: r469224 - in /jakarta/commons/proper/betwixt/trunk/xdocs/guide: binding.xml derived.xml examples.xml reading.xml start.xml tutorial.xml writing.xml

Author: rdonkin
Date: Mon Oct 30 10:32:32 2006
New Revision: 469224

URL: http://svn.apache.org/viewvc?view=rev&rev=469224
Log:
Fixing speiling mistakes.

Modified:
    jakarta/commons/proper/betwixt/trunk/xdocs/guide/binding.xml
    jakarta/commons/proper/betwixt/trunk/xdocs/guide/derived.xml
    jakarta/commons/proper/betwixt/trunk/xdocs/guide/examples.xml
    jakarta/commons/proper/betwixt/trunk/xdocs/guide/reading.xml
    jakarta/commons/proper/betwixt/trunk/xdocs/guide/start.xml
    jakarta/commons/proper/betwixt/trunk/xdocs/guide/tutorial.xml
    jakarta/commons/proper/betwixt/trunk/xdocs/guide/writing.xml

Modified: jakarta/commons/proper/betwixt/trunk/xdocs/guide/binding.xml
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/betwixt/trunk/xdocs/guide/binding.xml?view=diff&rev=469224&r1=469223&r2=469224
==============================================================================
--- jakarta/commons/proper/betwixt/trunk/xdocs/guide/binding.xml (original)
+++ jakarta/commons/proper/betwixt/trunk/xdocs/guide/binding.xml Mon Oct 30 10:32:32 2006
@@ -252,7 +252,7 @@
     Betwixt allows this auto-detection of plurals from singulars to be customized.
     Implementations of <code>org.apache.commons.betwixt.PluralStemmer</code> allow different
     strategies for this mapping to be plugged into <code>XMLIntrospector</code>.
-    The strategy used by <code>XMLIntrospector</code> to match singlular properties and plural methods
+    The strategy used by <code>XMLIntrospector</code> to match singular properties and plural methods
     is determined by the <code>PluralStemmer</code> property value.
     </p>
 
@@ -408,7 +408,7 @@
 ]]></source> 
     <p>
     The <strong><code>WrapCollectionsInElement</code></strong> property determines whether the elements 
-    for a composite property (ie one that returns a collection or iterator) should be wrapped in a parent
+    for a composite property (i.e. one that returns a collection or iterator) should be wrapped in a parent
     element. For example, if <code>isWrapCollectionsInElement</code> is true then a property with signature 
     <code>List getChildren()</code> would wrap a <code>&lt;children&gt;</code> element around the elements
     representing the contents of the list.
@@ -515,7 +515,7 @@
         });
 ]]></source></p>
             <p>
-Here is another example making the choice dependant on what class contains the 
+Here is another example making the choice dependent on what class contains the 
 property. This one shows the class property only for classes like 
 <code>Throwable</code>, <code>Exception</code>, <code>Error</code> and so on: 
 <source><![CDATA[
@@ -572,7 +572,7 @@
     </mixed-collection>
   </test-class>
 ]]></source>
-As you can see above the collection's items are named diffent depending on
+As you can see above the collection's items are named different depending on
 their type.
       </p>
     </subsection>
@@ -617,7 +617,7 @@
 <strong>Note:</strong> when this attribute is set to true, Betwixt will conduct a search upwards through
 the superclasses if no matching methods are found in the implementation class.  Also note that
 the <code>updater</code> must be specified even if the method conforms to JavaBean
-standards in order to override the accessibilty.  Overriding the accessibility of a
+standards in order to override the accessibility.  Overriding the accessibility of a
 method is subject to the <code>SecurityManager</code> currently in effect.
          </p>
     </subsection>
@@ -650,7 +650,7 @@
 <code><pre>
     EEE MMM dd HH:mm:ss zzz yyyy
 </pre></code>
-(using the SimpleDateFormat notation). Observent readers will realise that this is the same pattern 
+(using the SimpleDateFormat notation). Observant readers will realise that this is the same pattern 
 that is returned by <code>java.util.Date.toString</code> - and that's why this pattern was chosen.
 It provides a good default for casual users.
         </p>
@@ -718,7 +718,7 @@
         	<p>
 One problem facing those who create custom converters is that objects of the same type
 may (in different contexts) require different conversions. For example, a <code>java.util.Date</code>
-may in one context have the symantic meaning of a day (and so the conversion needs to suppress the 
+may in one context have the semantic meaning of a day (and so the conversion needs to suppress the 
 time component) and in another may indicate a date time (and so the conversion in this case needs to 
 render the time components). The same type may come in different <em>flavours</em>.	
         </p>
@@ -731,7 +731,7 @@
         	<p>
 For example, consider a bean representing a person with an attribute
 giving that person's date of birth. Suppose that this is stored
-as aa <code>java.util.Date</code>. This needs to be rendered as 
+as a <code>java.util.Date</code>. This needs to be rendered as 
 a date string (without a time component). A good approach would be 
 to add an option to the dot betwixt file as follows:
 		</p>
@@ -846,7 +846,7 @@
   <betwixt-config>
   <!--name of the class to map -->
    <class name="org.some.package.MyClass">
-   <!-- standard definations (same as in standard .betwixt file)    -->
+   <!-- standard definitions (same as in standard .betwixt file)    -->
      <element name="repository-registration-result">
        <element name="repository-id" property="repositoryId"/>
        <element name="id-mapping" property="idMapping" class="org.some.package.SomeOtherClass"/>
@@ -976,7 +976,7 @@
         </p>
             <p>
 The recommended convention for naming option's is to prefix with the reverse domain
-name (the same convension that is used for the standard naming of packages). 
+name (the same convention that is used for the standard naming of packages). 
 In any case, all option names beginning with <code>org.apache</code> should be avoided since
 these may be used by ASF products in the future.
         </p>

Modified: jakarta/commons/proper/betwixt/trunk/xdocs/guide/derived.xml
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/betwixt/trunk/xdocs/guide/derived.xml?view=diff&rev=469224&r1=469223&r2=469224
==============================================================================
--- jakarta/commons/proper/betwixt/trunk/xdocs/guide/derived.xml (original)
+++ jakarta/commons/proper/betwixt/trunk/xdocs/guide/derived.xml Mon Oct 30 10:32:32 2006
@@ -184,7 +184,7 @@
 whereas when bind time typing is used, all properties will be.
         </p>
             <p>
-There are typical use cases which demonstate the need for each approach. Betwixt 
+There are typical use cases which demonstrate the need for each approach. Betwixt 
 supports both in a flexible way, for both reading and writing but defaults to 
 bind time typing (which is typically more intuitive).
         </p>
@@ -200,7 +200,7 @@
         </p>
             <p>
 For example, the following code snippet configures an <code>XMLIntrospector</code> 
-so that (unless overriden by a dot betwixt document setting), introspection time types
+so that (unless overridden by a dot betwixt document setting), introspection time types
 will determine the mapping:
         </p>
 <source><![CDATA[
@@ -219,7 +219,7 @@
         </p>
             <p>
 For example, when the following dot betwixt document is used, the <code>pet</code>
-property's mapping will be dertermined by the introsection time type mapping.
+property's mapping will be determined by the introspection time type mapping.
         </p>
 <source><![CDATA[
     <?xml version='1.0'?>
@@ -244,7 +244,7 @@
 by Betwixt. This is controlled by a number of general configuration settings.
 For some classes (including <code>Collection</code> implementations)
 special rules are applied. For collection implementations, these special
-rules ensure that the contents are written and polymophism is supported
+rules ensure that the contents are written and polymorphism is supported
 for reading.
 	</p>
 	<p>

Modified: jakarta/commons/proper/betwixt/trunk/xdocs/guide/examples.xml
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/betwixt/trunk/xdocs/guide/examples.xml?view=diff&rev=469224&r1=469223&r2=469224
==============================================================================
--- jakarta/commons/proper/betwixt/trunk/xdocs/guide/examples.xml (original)
+++ jakarta/commons/proper/betwixt/trunk/xdocs/guide/examples.xml Mon Oct 30 10:32:32 2006
@@ -133,7 +133,7 @@
 ]]></source>
     </p>
     <p>
-    Ths basic usage pattern for reading beans is only a little more complex. This time, you need to
+    The basic usage pattern for reading beans is only a little more complex. This time, you need to
     create a BeanReader, configure it, register the bean classes that the xml will be mapped to and 
     then parse should be called.
     </p>

Modified: jakarta/commons/proper/betwixt/trunk/xdocs/guide/reading.xml
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/betwixt/trunk/xdocs/guide/reading.xml?view=diff&rev=469224&r1=469223&r2=469224
==============================================================================
--- jakarta/commons/proper/betwixt/trunk/xdocs/guide/reading.xml (original)
+++ jakarta/commons/proper/betwixt/trunk/xdocs/guide/reading.xml Mon Oct 30 10:32:32 2006
@@ -326,7 +326,7 @@
     </subsection>
     	<subsection name='Reading Polymorphic Mappings'>
     		<p>
-A polymophic mapping is one where the decision about the element type and name
+A polymorphic mapping is one where the decision about the element type and name
 is postponed from introspection time to bind time. This allows reading of
 collections containing mixed types distinguished by element name. For example:
 		</p>    		
@@ -380,7 +380,7 @@
 		</p>
     <p>
 <strong>Note:</strong> when using mixed collections with dot betwixt files containing 
-<code>addDefaults</code> it may be neccessary to set the <code>guess-names</code> 
+<code>addDefaults</code> it may be necessary to set the <code>guess-names</code> 
 attribute to false. 
     </p>
     </subsection>

Modified: jakarta/commons/proper/betwixt/trunk/xdocs/guide/start.xml
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/betwixt/trunk/xdocs/guide/start.xml?view=diff&rev=469224&r1=469223&r2=469224
==============================================================================
--- jakarta/commons/proper/betwixt/trunk/xdocs/guide/start.xml (original)
+++ jakarta/commons/proper/betwixt/trunk/xdocs/guide/start.xml Mon Oct 30 10:32:32 2006
@@ -157,7 +157,7 @@
 	<p>The plain <code>&lt;addDefaults&gt;</code> tag adds default properties
 	and the adders (it can find) for all the properties (both explicitly 
 	described in the <code>.betwixt</code> file and the default ones discovered).
-	Usually, this is really pretty useful but sometimes it is more finely graine
+	Usually, this is really pretty useful but sometimes more finely grained
 	control is needed. In this case, there are two properties that can be set
 	to given this extra control:</p>
 	

Modified: jakarta/commons/proper/betwixt/trunk/xdocs/guide/tutorial.xml
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/betwixt/trunk/xdocs/guide/tutorial.xml?view=diff&rev=469224&r1=469223&r2=469224
==============================================================================
--- jakarta/commons/proper/betwixt/trunk/xdocs/guide/tutorial.xml (original)
+++ jakarta/commons/proper/betwixt/trunk/xdocs/guide/tutorial.xml Mon Oct 30 10:32:32 2006
@@ -34,7 +34,7 @@
 <subsection name='The Object Model'>
         <p>
 <code>Betwixt</code> is a dynamic, start-from-java XML-object binder.
-For those unfamilar with these terms, this means that it maps XML &lt;-&gt; objects 
+For those unfamiliar with these terms, this means that it maps XML &lt;-&gt; objects 
 defining a binding from an existing group of java objects into xml (and back again)
 without the use of code generation.
     </p>

Modified: jakarta/commons/proper/betwixt/trunk/xdocs/guide/writing.xml
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/betwixt/trunk/xdocs/guide/writing.xml?view=diff&rev=469224&r1=469223&r2=469224
==============================================================================
--- jakarta/commons/proper/betwixt/trunk/xdocs/guide/writing.xml (original)
+++ jakarta/commons/proper/betwixt/trunk/xdocs/guide/writing.xml Mon Oct 30 10:32:32 2006
@@ -118,7 +118,7 @@
     <subsection name='Pretty Printing'>
         <p>
 <code>BeanWriter</code> supports pretty printing. When pretty printing, extra white space will be inserted
-with the aim of making the xml produced more readible by humans. Pretty printing is off by default.
+with the aim of making the xml produced more readable by humans. Pretty printing is off by default.
 Call <code>enablePrettyPrint</code> to switch it on. For example:
         </p>
 <source>



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org