Dear Wiki user,

You have subscribed to a wiki page or wiki category on "James Wiki" for change 
notification.

The "JamesV3/MailetConfiguration" page has been changed by ChanochWiggers.
The comment on this change is: Have reformatted blockquote section on proposal 
two which made it unreadable.
http://wiki.apache.org/james/JamesV3/MailetConfiguration?action=diff&rev1=2&rev2=3

--------------------------------------------------

  
  {{{ 
  <processor name="root"
- {{{   xmlns='http://james.apache.org/config/' }}}
+    xmlns='http://james.apache.org/config/' 
- {{{   xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' }}}
+    xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' 
- {{{   xsi:schemaLocation='http://james.apache.org/config/ james-config.xsd' 
}}}
+    xsi:schemaLocation='http://james.apache.org/config/ james-config.xsd' 
- {{{   xmlns:nvp="http://james.apache.org/config/NameValuePairs/";> }}}
+    xmlns:nvp="http://james.apache.org/config/NameValuePairs/";> 
  
- {{{     <config-parsers> }}}
+      <config-parsers> 
- {{{         <parser namespace="http://james.apache.org/config/NameValuePairs"; 
}}}
+          <parser namespace="http://james.apache.org/config/NameValuePairs"; 
- {{{                 class="NameValuePairConfigParser"/> }}}
+                  class="NameValuePairConfigParser"/> 
- {{{         <parser namespace="http://mydomain.org/mycustomconfig";  }}}
+          <parser namespace="http://mydomain.org/mycustomconfig";  
- {{{                 class="MyCustomConfigParser"/> }}}
+                  class="MyCustomConfigParser"/> 
- {{{     </config-parsers> }}}
+      </config-parsers> 
  
- {{{     <!-- In the simplest case, name value pairs would be used for 
configuration }}}
+      <!-- In the simplest case, name value pairs would be used for 
configuration 
- {{{         of both matchers and mailets. }}}
+          of both matchers and mailets. 
- {{{      --> }}}
+       --> 
- {{{     <mailet class="Whatever"> }}}
+      <mailet class="Whatever"> 
- {{{         <matcher class="UserIs"> }}}
+          <matcher class="UserIs"> 
- {{{             <config> }}}
+              <config> 
- {{{                 <nvp:param name="p1" value="x"/> }}}
+                  <nvp:param name="p1" value="x"/> 
- {{{                 <nvp:param name="p2" value="y"/> }}}
+                  <nvp:param name="p2" value="y"/> 
- {{{             </config> }}}
+              </config> 
- {{{         </matcher> }}}
+          </matcher> 
- {{{         <config> }}}
+          <config> 
- {{{             <nvp:param name="p1" value="x"/> }}}
+              <nvp:param name="p1" value="x"/> 
- {{{             <nvp:param name="p2" value="y"/> }}}
+              <nvp:param name="p2" value="y"/> 
- {{{         </config> }}}
+          </config> 
- {{{     </mailet> }}}
+      </mailet> 
  
- {{{     <!-- In more complex cases, arbitrary XML from another namespace is 
used --> }}}
+      <!-- In more complex cases, arbitrary XML from another namespace is used 
--> 
- {{{     <mailet class="Whatever"> }}}
+      <mailet class="Whatever"> 
- {{{         <matcher class="UserIs"> }}}
+          <matcher class="UserIs"> 
- {{{             <config> }}}
+              <config> 
- {{{                 <nvp:param name="p1" value="x"/> }}}
+                  <nvp:param name="p1" value="x"/> 
- {{{                 <nvp:param name="p2" value="y"/> }}}
+                  <nvp:param name="p2" value="y"/> 
- {{{             </config> }}}
+              </config> 
- {{{         </matcher> }}}
+          </matcher> 
- {{{         <config xmlns:mycfg="http://mydomain.org/mycustomconfig";> }}}
+          <config xmlns:mycfg="http://mydomain.org/mycustomconfig";> 
- {{{             <mycfg:foo> }}}
+              <mycfg:foo> 
- {{{                 <mycfg:bar attr="value"/> }}}
+                  <mycfg:bar attr="value"/> 
- {{{             </mycfg:foo> }}}
+              </mycfg:foo> 
- {{{         </config> }}}
+          </config> 
- {{{     </mailet> }}}
+      </mailet> 
  </processor>
   }}}
  ----

Reply via email to