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(javax.xml.stream.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, writeWorkingCopyLink
endDocument, getWriter, setNamespaces, setWriter, startDocument, writeAllCustomNamespace
public static final BigInteger DEFAULT_PAGE_SIZE
public AtomFeed()
public AtomFeed(javax.xml.stream.XMLStreamWriter writer)
public void startFeed(boolean isRoot) throws javax.xml.stream.XMLStreamException
public void startChildren() throws javax.xml.stream.XMLStreamException
public void endChildren() throws javax.xml.stream.XMLStreamException
public void endFeed() throws javax.xml.stream.XMLStreamException
public void writeSelfLink(String href, String id) throws javax.xml.stream.XMLStreamException
public void writeFeedElements(String id, String atomId, String author, String title, GregorianCalendar updated, String pathSegment, BigInteger numItems) throws javax.xml.stream.XMLStreamException
public void writeNumItems(BigInteger numItems) throws javax.xml.stream.XMLStreamException
public void writePagingLinks(UrlBuilder pagingUrl, BigInteger maxItems, BigInteger skipCount, BigInteger numItems, Boolean hasMoreItems, BigInteger pageSize) throws javax.xml.stream.XMLStreamException
public void writeExtensions(ExtensionsData extensions) throws javax.xml.stream.XMLStreamException
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.