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, writeWorkingCopyLink
endDocument, getWriter, setNamespaces, setWriter, startDocument, writeNamespace
public static final BigInteger DEFAULT_PAGE_SIZE
public AtomFeed()
public AtomFeed(XMLStreamWriter writer)
public void startFeed(boolean isRoot) throws XMLStreamException
XMLStreamException
public void startChildren() throws XMLStreamException
XMLStreamException
public void endChildren() throws XMLStreamException
XMLStreamException
public void endFeed() throws XMLStreamException
XMLStreamException
public void writeFeedElements(String id, String author, String title, GregorianCalendar updated, String pathSegment, BigInteger numItems) throws XMLStreamException
XMLStreamException
public void writeNumItems(BigInteger numItems) throws XMLStreamException
XMLStreamException
public void writePagingLinks(org.apache.chemistry.opencmis.commons.impl.UrlBuilder pagingUrl, BigInteger maxItems, BigInteger skipCount, BigInteger numItems, Boolean hasMoreItems, BigInteger pageSize) throws XMLStreamException
XMLStreamException
Copyright © 2018 City of Paris. All rights reserved.