[jdom-interest] getMixedContent -> getContent

Tom Bradford bradford at dbxmlgroup.com
Wed Jun 27 09:57:23 PDT 2001


Tom Bradford wrote:
> Object getContent(Object type) {
>    if ( type == Content.Any )
>        return list;

this should be list.toArray();

>    else
>       return list.toArray(type);
> }

-- 
Tom Bradford --- The dbXML Project --- http://www.dbxml.org/
We store your XML data a hell of a lot better than /dev/null



More information about the jdom-interest mailing list