public class AtomFeed extends AtomDocumentBase
| Modifier and Type | Field and Description |
|---|---|
static BigInteger |
DEFAULT_PAGE_SIZE |
| Constructor and Description |
|---|
AtomFeed()
Creates an Atom feed document.
|
AtomFeed(XMLStreamWriter writer)
Creates an Atom feed that is embedded somewhere.
|
| Modifier and Type | Method and Description |
|---|---|
void |
endChildren()
Closes the feed tag.
|
void |
endFeed()
Closes the feed tag.
|
void |
startChildren()
Opens the children tag.
|
void |
startFeed(boolean isRoot)
Opens the feed tag.
|
void |
writeExtensions(ExtensionsData extensions)
Writes extensions.
|
void |
writeFeedElements(String id,
String atomId,
String author,
String title,
GregorianCalendar updated,
String pathSegment,
BigInteger numItems)
Writes the feed elements that are required by Atom.
|
void |
writeNumItems(BigInteger numItems)
Writes a CMIS numItems tag.
|
void |
writePagingLinks(UrlBuilder pagingUrl,
BigInteger maxItems,
BigInteger skipCount,
BigInteger numItems,
Boolean hasMoreItems,
BigInteger pageSize)
Writes paging links.
|
void |
writeSelfLink(String href,
String id)
Writes an feed self link.
|
generateAtomId, writeAclLink, writeAllowableActionsLink, writeAlternateLink, writeAuthor, writeCollection, writeCurrentVerionsLink, writeDescribedByLink, writeDownLink, writeEditLink, writeEditMediaLink, writeEnclosureLink, writeFirstLink, writeFolderTreeLink, writeId, writeLastLink, writeLink, writeNextLink, writePathSegment, writePoliciesLink, writePreviousLink, writePublished, writePublished, writeRelationshipsLink, writeRelationshipSourceLink, writeRelationshipTargetLink, writeRelativePathSegment, writeSelfLink, writeServiceLink, writeTitle, writeTypeDownLink, writeTypeUpLink, writeUpdated, writeUpdated, writeUpLink, writeVersionHistoryLink, writeViaLink, writeWorkingCopyLinkendDocument, getWriter, setNamespaces, setWriter, startDocument, writeAllCustomNamespacepublic static final BigInteger DEFAULT_PAGE_SIZE
public AtomFeed()
public AtomFeed(XMLStreamWriter writer)
public void startFeed(boolean isRoot)
throws XMLStreamException
XMLStreamExceptionpublic void startChildren()
throws XMLStreamException
XMLStreamExceptionpublic void endChildren()
throws XMLStreamException
XMLStreamExceptionpublic void endFeed()
throws XMLStreamException
XMLStreamExceptionpublic void writeSelfLink(String href, String id) throws XMLStreamException
XMLStreamExceptionpublic void writeFeedElements(String id, String atomId, String author, String title, GregorianCalendar updated, String pathSegment, BigInteger numItems) throws XMLStreamException
XMLStreamExceptionpublic void writeNumItems(BigInteger numItems) throws XMLStreamException
XMLStreamExceptionpublic void writePagingLinks(UrlBuilder pagingUrl, BigInteger maxItems, BigInteger skipCount, BigInteger numItems, Boolean hasMoreItems, BigInteger pageSize) throws XMLStreamException
XMLStreamExceptionpublic void writeExtensions(ExtensionsData extensions) throws XMLStreamException
XMLStreamExceptionCopyright © 2009-2015 The Apache Software Foundation. All Rights Reserved.