[jira] Closed: (XDP-220) Allow for typed arrays using optional ArrayElementType metadata tag
"Konstantin Pribluda (JIRA)" <jira-yCVjj/[email protected]> Tue, 6 Nov 2007 10:07:35 -0600 (CST)
| Newsgroups | gmane.comp.java.xdoclet-plugins |
|---|---|
| Message-ID | <13730320.1194365255971.JavaMail.haus-jira@codehaus01.managed.contegix.com> |
[ http://jira.codehaus.org/browse/XDP-220?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Konstantin Pribluda closed XDP-220.
-----------------------------------
Assignee: Konstantin Pribluda
Resolution: Fixed
fixed and deployed snapshot
> Allow for typed arrays using optional ArrayElementType metadata tag
> -------------------------------------------------------------------
>
> Key: XDP-220
> URL: http://jira.codehaus.org/browse/XDP-220
> Project: XDoclet 2 Plugins
> Issue Type: Improvement
> Components: actionscript
> Affects Versions: 1.0.4
> Reporter: Arron Hocking
> Assignee: Konstantin Pribluda
> Priority: Minor
> Fix For: 1.0.4
>
> Attachments: plugin-actionscript-ArrayElementType-patch.txt
>
>
> Actionscript allows the use of the [ArrayElementType("...")] metadata tag to specify the type of objects contained in an array. This is useful when dealing with web service serialization/deserialization of RPC methods that return typed arrays. Often, on deserializtion, the array just contains Object elements on the actionscript side, where the java side may have a typed array (i.e. SomeClass[]);
> For instance:
> Java:
> public SomeClass[] getSomeClasses() { return .... }
> Actionscript
> [ArrayElementType("org.whatever.SomeClass")]
> public var someClasses:Array;
> This tells the serializer/deserializer which type of object to instantiate for the array elements.
> I've submitted a patch that adds an xdoclet actionscript parameter "typed-array" that is an optional boolean property to specify that the source generation should add the ArrayElementType metadata tag to a given member field.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/