Author: gk
Date: Fri Mar 14 11:05:06 2014
New Revision: 1577480

URL: http://svn.apache.org/r1577480
Log:
typo fix and documentation fix

Modified:
    
turbine/fulcrum/trunk/json/jackson2/src/java/org/apache/fulcrum/json/jackson/Jackson2MapperService.java
    turbine/fulcrum/trunk/json/xdocs/index.xml

Modified: 
turbine/fulcrum/trunk/json/jackson2/src/java/org/apache/fulcrum/json/jackson/Jackson2MapperService.java
URL: 
http://svn.apache.org/viewvc/turbine/fulcrum/trunk/json/jackson2/src/java/org/apache/fulcrum/json/jackson/Jackson2MapperService.java?rev=1577480&r1=1577479&r2=1577480&view=diff
==============================================================================
--- 
turbine/fulcrum/trunk/json/jackson2/src/java/org/apache/fulcrum/json/jackson/Jackson2MapperService.java
 (original)
+++ 
turbine/fulcrum/trunk/json/jackson2/src/java/org/apache/fulcrum/json/jackson/Jackson2MapperService.java
 Fri Mar 14 11:05:06 2014
@@ -74,7 +74,7 @@ import com.fasterxml.jackson.databind.se
  * object).
  * 
  * Note: If using {@link SimpleNameIntrospector}, filters are set by class id, 
which are cached by default. 
- * By setting {@link #cacheFilters} to <code>false</code> each filter will be 
unregistered and cache cleaed.
+ * By setting {@link #cacheFilters} to <code>false</code> each filter will be 
unregistered and the cache cleaned.
  * By setting the refresh parameter {@link #filter(Object, Class, 
FilterContext, boolean, String...)} on per-filter method call
  * you could filter a class providing different properties.
  * 
@@ -104,7 +104,7 @@ public class Jackson2MapperService exten
     final String DEFAULTDATEFORMAT = "MM/dd/yyyy";
 
     final boolean defaultType = false;
-    public boolean cacheFilters = true; // true -> more efficient, if not using
+    public boolean cacheFilters = true; // true -> this is by default true in 
jackson, if not using
                                         // multiple serialization in one thread
     String[] defaultTypeDefs = null;
 

Modified: turbine/fulcrum/trunk/json/xdocs/index.xml
URL: 
http://svn.apache.org/viewvc/turbine/fulcrum/trunk/json/xdocs/index.xml?rev=1577480&r1=1577479&r2=1577480&view=diff
==============================================================================
--- turbine/fulcrum/trunk/json/xdocs/index.xml (original)
+++ turbine/fulcrum/trunk/json/xdocs/index.xml Fri Mar 14 11:05:06 2014
@@ -83,8 +83,7 @@
           <td>Complex</td>
           <td>[0|1]</td>
           <td>
-            If empty just 
<code>com.fasterxml.jackson.databind.introspect.JacksonAnnotationIntrospector</code>
 is set as annotation introspector. Otherwise you could provide a primary and 
(optionally) a secondary introspector. Setting the special introspector
-            
<code>org.apache.fulcrum.json.jackson.SimpleNameIntrospector</code> yields 
property and class name based filtering. See the configuration example below 
and in <a href="#velocity">section</a>. Features could be set to 
<code>false</code> or <code>true</code> by setting the attribute <b>value</b> 
of the sub element feature. The feature attribute <b>type</b> should be the 
class name of any sub interface of 
<code>com.fasterxml.jackson.databind.cfg.ConfigFeature</code>. The element 
content itself defines any feature (enum value) for this feature. Cft. the 
configuration example below.
+            If empty 
<code>com.fasterxml.jackson.databind.introspect.JacksonAnnotationIntrospector</code>
 is set as annotation introspector. You could otherwise provide a primary and 
(optionally) a secondary introspector. Setting the special introspector 
<code>org.apache.fulcrum.json.jackson.SimpleNameIntrospector</code> yields 
property and class name based filtering. See the configuration example below 
and in <a href="#velocity">section</a>. Features could be set to 
<code>false</code> or <code>true</code> by setting the attribute <b>value</b> 
of the sub element feature. The feature attribute <b>type</b> should be the 
class name of any sub interface of 
<code>com.fasterxml.jackson.databind.cfg.ConfigFeature</code>. The element 
content itself defines any feature (enum value) for this feature. Cft. the 
configuration example below.
           </td>
         </tr>
         <tr>
@@ -109,9 +108,9 @@
           <td>boolean</td>
           <td>[0|*]</td>
           <td>
-            If set to <code>true</code>, caching is not enabled. Each filter 
applied remains valid and is not removed.
-            This implicits, that you cannot retrieve for the same class/Bean 
other properties in another call.
-            You could then invalidate (refresh) the cache per class. Cft. the 
<code>filter*(t)</code> methods with <code>refreshfilter</code> property. The 
default value is <code>true</code>. 
+            If set to <code>true</code>, caching is enabled. Each filter 
applied remains valid and is not removed.
+            This implicits, that you cannot retrieve for the same class/bean 
different properties in different calls.
+            You could invalidate (refresh) the cache per class, in many 
methods, cft. method parameters named <code>refresh*</code> or 
<code>clean*</code>. The default value is <code>true</code>. 
           </td>
         </tr>
       </table>
@@ -187,7 +186,7 @@ JsonService jsonService = (JsonService)T
 
     <subsection name="Integration of JSON to Object Deserialization" 
id="deser">
     <p>
-    This could be done just by providing the JSON data as client parameter to 
a JSON-RPC-Service function (cft. services->JSON-RPC-Service). As an example 
for the function:
+    This could be done by providing the JSON data as client parameter to a 
JSON-RPC-Service function (cft. services->JSON-RPC-Service). As an example for 
the function:
     </p>   
     <source><![CDATA[
       // class is registered in screen


Reply via email to