Return-Path: Delivered-To: apmail-cocoon-docs-archive@www.apache.org Received: (qmail 21220 invoked from network); 10 Jul 2004 07:03:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 10 Jul 2004 07:03:48 -0000 Received: (qmail 47834 invoked by uid 500); 10 Jul 2004 07:03:48 -0000 Delivered-To: apmail-cocoon-docs-archive@cocoon.apache.org Received: (qmail 47788 invoked by uid 500); 10 Jul 2004 07:03:48 -0000 Mailing-List: contact docs-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: docs@cocoon.apache.org Delivered-To: mailing list docs@cocoon.apache.org Received: (qmail 47772 invoked by uid 99); 10 Jul 2004 07:03:47 -0000 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.27.1) with SMTP; Sat, 10 Jul 2004 00:03:46 -0700 Received: (qmail 21181 invoked from network); 10 Jul 2004 07:03:45 -0000 Received: from localhost.hyperreal.org (HELO minotaur.apache.org) (127.0.0.1) by localhost.hyperreal.org with SMTP; 10 Jul 2004 07:03:45 -0000 Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: docs@cocoon.apache.org To: docs@cocoon.apache.org Subject: =?iso-8859-1?q?=5BCocoon_Wiki=5D_Updated=3A__InputModules?= Date: Sat, 10 Jul 2004 07:03:45 -0000 Message-ID: <20040710070345.21143.60998@minotaur.apache.org> X-Spam-Rating: localhost.hyperreal.org 1.6.2 0/1000/N X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Date: 2004-07-10T00:03:44 Editor: StephanNiedermeier Wiki: Cocoon Wiki Page: InputModules URL: http://wiki.apache.org/cocoon/InputModules no comment Change Log: ---------------------------------------------------------------------------= --- @@ -12,30 +12,29 @@ ---- =3D AbstractInputModule =3D = -=3D=3D=3D AbstractInputModule gives you the infrastructure for easily depl= oying more !InputModules. In order to get at the Logger, use getLogger(). = =3D=3D=3D +AbstractInputModule gives you the infrastructure for easily deploying more= !InputModules. In order to get at the Logger, use getLogger(). = ---- -=3D=3D Abstract JX!PathModule =3D=3D +=3D=3D Abstract JXPathModule =3D=3D = -JX!PathModule allows to access properties of any object in generic -way. JXPath provides APIs for the traversal of graphs of -=3D=3D=3D JavaBeans, DOM and other types of objects using the XPath =3D=3D= =3D -syntax. JX!PathMetaModule is based on this class and duplicates +["JXPathModule"] allows to access properties of any object in generic +way. JXPath provides APIs for the traversal of graphs of JavaBeans, DOM a= nd 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. = '''Configuration example:''' = -{{{<function name=3D"java.lang.String" prefix=3D"str"/>}}} +{{{}}} * Imports the class "String" as extension class to the JX!PathContext usi= ng the prefix "str". Thus "str:length(xpath)" would apply the method "lengt= h" to the string object obtained from the xpath expression. Please note tha= t the class needs to be fully qualified. = -{{{<package name=3D"java.util" prefix=3D"util"/>}}} +{{{}}} * Imports all classes in the package "java.util" as extension classes to = the JX!PathContext using the prefix "util". Thus "util:Date.new()" would cr= eate a new java.util.Date object. = ---- =3D AbstractMetaModule =3D = -=3D=3D=3D AbstractMetaModule gives you the infrastructure for easily deplo= ying more "meta" !InputModules i.e. !InputModules that are composed of othe= r !InputModules. In order to get at the Logger, use getLogger(). =3D=3D=3D +AbstractMetaModule gives you the infrastructure for easily deploying more = "meta" !InputModules i.e. !InputModules that are composed of other !InputMo= dules. In order to get at the Logger, use getLogger(). = ---- =3D CollectionMetaModule =3D @@ -56,7 +55,7 @@ ---- =3D DateInputModule =3D = -=3D=3D=3D This module returns current date, optionally formated as string.= Format given through attribute "format" of configuration root node or nest= ed =3D=3D=3D{{{}}} tag on module declaration. +This module returns current date, optionally formated as string. Format gi= ven through attribute "format" of configuration root node or nested{{{}}} tag on module declaration. = * [http://java.sun.com/j2se/1.4.2/docs/api/java/text/SimpleDateFormat.ht= ml Java Date Format] =20