public class AtomFeed extends AtomDocumentBase
| Modifier and Type | Field and Description |
|---|---|
static BigInteger |
DEFAULT_PAGE_SIZE |
PREFIX_APP, PREFIX_ATOM, PREFIX_CMIS, PREFIX_RESTATOM, PREFIX_XSI| 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 |
writeFeedElements(String id,
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(org.apache.chemistry.opencmis.commons.impl.UrlBuilder pagingUrl,
BigInteger maxItems,
BigInteger skipCount,
BigInteger numItems,
Boolean hasMoreItems,
BigInteger pageSize)
Writes paging links.
|
formatDate, 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, writeSimpleDate, writeSimpleDate, writeSimpleTag, writeTitle, writeTypeDownLink, writeTypeUpLink, writeUpdated, writeUpdated, writeUpLink, writeVersionHistoryLink, writeViaLink, writeWorkingCopyLinkendDocument, getWriter, setNamespaces, setWriter, startDocument, writeNamespacepublic 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 writeFeedElements(String id, String author, String title, GregorianCalendar updated, String pathSegment, BigInteger numItems) throws XMLStreamException
XMLStreamExceptionpublic void writeNumItems(BigInteger numItems) throws XMLStreamException
XMLStreamExceptionpublic void writePagingLinks(org.apache.chemistry.opencmis.commons.impl.UrlBuilder pagingUrl,
BigInteger maxItems,
BigInteger skipCount,
BigInteger numItems,
Boolean hasMoreItems,
BigInteger pageSize)
throws XMLStreamException
XMLStreamExceptionCopyright © 2018 City of Paris. All rights reserved.