You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Jared Graber <jg...@zedak.com> on 2006/11/16 20:25:41 UTC

[betwixt]Outputting java.lang.Long with a custom element name

I have a list containing objects of type Long.

 

I want to display it as:

<customListName>

<customName>value of the long 1</customName> 

<customName>value of the long 2</customName> 

<customName>value of the long 3</customName> 

<customName>value of the long 4</customName> 

<customListName>

 

I can get the custom list name without a problem, but how do I output the
values of the Longs in a custom tag?

 

-Jared