cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From da...@cocoon.zones.apache.org
Subject [DAISY] Updated: Input Modules Reference
Date Thu, 06 Oct 2005 08:14:42 GMT
A document has been updated:

http://cocoon.zones.apache.org/daisy/legacydocs/727.html

Document ID: 727
Branch: main
Language: default
Name: Input Modules Reference (unchanged)
Document Type: Document (unchanged)
Updated on: 10/6/05 8:14:39 AM
Updated by: Patrick Ahles

A new version has been created, state: draft

Parts
=====
Content
-------
This part has been updated.
Mime type: text/xml (unchanged)
File name:  (unchanged)
Size: 27551 bytes (previous version: 27012 bytes)
Content diff:
(22 equal lines skipped)
    
    <h2>AbstractJXPathModule</h2>
    
+++ <p class="note">The following is the same as described in the JXPathMetaModule,
+++ but the JXPathMetaModule actually doesn't inherit from AbstractJXPathModule.</p>
+++ 
    <p>JXPathModule allows to access properties of any object in generic way. JXPath
    provides APIs for the traversal of graphs of JavaBeans, DOM and other types of
    objects using the XPath syntax. JXPathMetaModule is based on this class and
    duplicates the code since multiple inheritance is not possible. Please keep both
    classes in sync.</p>
    
--- <p><strong>Configuration Example:</strong></p>
+++ <p>Configuration example:</p>
    
--- <p>The following imports the class "String" as extension class to the
--- JXPathContext using the prefix "str". Thus "str:length(xpath)" would apply the
--- method "length" to the string object obtained from the xpath expression. Please
--- note that the class needs to be fully qualified.</p>
+++ <table>
+++ <tbody>
+++ <tr>
+++ <td>
+++ <p>&lt;lenient&gt;false&lt;/lenient&gt;</p>
+++ </td>
+++ <td>
+++ <p>When set to true, non-existing attributes return null, when set to false, an
+++ exception is thrown. Default is true.</p>
+++ </td>
+++ </tr>
+++ <tr>
+++ <td>
+++ <p>&lt;parameter&gt;foo&lt;/parameter&gt;</p>
+++ </td>
+++ <td>
+++ <p>When set overrides attribute name passed to module.</p>
+++ </td>
+++ </tr>
+++ <tr>
+++ <td>
+++ <p>&lt;function name="java.lang.String" prefix="str"/&gt;</p>
+++ </td>
+++ <td>
+++ <p>Imports the class "String" as extension class to the JXPathContext using the
+++ prefix "str". Thus "str:length(xpath)" would apply the method "length" to the
+++ string object obtained from the xpath expression. Please note that the class
+++ needs to be fully qualified.</p>
+++ </td>
+++ </tr>
+++ <tr>
+++ <td>
+++ <p>&lt;package name="java.util" prefix="util"/&gt;</p>
+++ </td>
+++ <td>
+++ <p>Imports all classes in the package "java.util" as extension classes to the
+++ JXPathContext using the prefix "util". Thus "util:Date.new()" would create a new
+++ java.util.Date object.</p>
+++ </td>
+++ </tr>
+++ </tbody>
+++ </table>
    
--- <pre>&lt;function name="java.lang.String" prefix="str"/&gt;</pre>
--- 
--- <p>The following imports all classes in the package "java.util" as extension
--- classes to the JXPathContext using the prefix "util". Thus "util:Date.new()"
--- would create a new java.util.Date object.</p>
--- 
--- <pre>&lt;&lt;package name="java.util" prefix="util"/&gt;</pre>
--- 
    <h2>AbstractMetaModule</h2>
    
    <p>AbstractMetaModule gives you the infrastructure for easily deploying more
(711 equal lines skipped)


Fields
======
no changes

Links
=====
no changes

Custom Fields
=============
no changes

Collections
===========
no changes

Mime
View raw message