Esempio n. 1
0
 @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;
 }
Esempio n. 2
0
 @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;
 }