[jdom-interest] getMixedContent()

Noam Tamim noamt at yahoo.com
Sun May 20 04:46:17 PDT 2001


Hi.

Why does Element.getMixedContent() looks like that:

    public List getMixedContent() {
        if (content == null) {
            content = new LinkedList();
        }

        PartialList result = new PartialList(content, this);
        result.addAllPartial(content);
        return result;
    }

instead of just returning the element's 'content' field?


 - Noam.







More information about the jdom-interest mailing list