@Nonnull public IMicroDocument getAsDocument() { final IMicroDocument aDocument = new MicroDocument(); final IMicroElement aElement = aDocument.appendElement(CFeed.XMLNS_ATOM, "feed"); super.fillElement(aElement); for (final IFeedElement aEntry : m_aEntries) aElement.appendChild(aEntry.getAsElement("entry")); return aDocument; }
@Override public IMicroElement getAsElement(final String sElementName) { final IMicroElement aElement = super.getAsElement(sElementName); for (final IFeedElement aEntry : m_aEntries) aElement.appendChild(aEntry.getAsElement("entry")); return aElement; }