cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 6611] New: - [PATCH] Castor Transformer
Date Thu, 21 Feb 2002 14:51:13 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6611>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6611

[PATCH] Castor Transformer

           Summary: [PATCH] Castor Transformer
           Product: Cocoon 2
           Version: Current CVS
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: sitemap components
        AssignedTo: cocoon-dev@xml.apache.org
        ReportedBy: mauch@imkenberg.de


Marshals a object from the Session or the 
Sitemap into a series of SAX events 
TheCastortransformer need to be configured with a default 
mapping. This mapping is used as long as no other mapping 
s spezfied as the element 

  <map:transformer name="CastorTransformer" 
src="org.apache.cocoontransformation.CastorTransformer">
    <mapping>castor/xmapping.xml</mapping>
  </map:transformer>

A sample for the use: 
   <root xmlns:castor="http://castor.exolab.org/cocoontransfomer">
	<castor:InsertBean source="session" key="invoice"/>
	<castor:InsertBean source="sitemap" key="product" 
mapping="castor/specicalmapping.xml"/>
  </root>
 
The CastorTransfomer support only one Element castor:InsertBean. 
This element is replaced with the marshalled object. 
The Object will take from either, the user session (source="session") 
or the sitmap (source="sitemap"). The object is located in the map with 
the attribute key. The Attribut mapping specifys the mapping to be used. 
If not given the default mapping is used

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message